Still, no-joy with kdm......
Gary Kline wrote: Im looking at the kdmrc file but don't see anything wrong. Any ideas where to llook next? Hello, i had recently a problem with kdm myself. Running kdm-bin under ktrace i discovered it was a locking problem. Something changed about locks in FreeBSD-Stable, and this killed some programs (tin, mutt, kdm, etc.) who do locking. I recompiled tin,mutt, etc. but i did not want to recompile kdebase, so i took a kdebase package from FreBSD-7.0-RELEASE and extracted the kdm-bin out of here. It works on my FreeBSD-STABLE box without problem. -- Michel TALON ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Still, no-joy with kdm......
--On Monday, August 18, 2008 16:43:23 -0700 Gary Kline [EMAIL PROTECTED] wrote: Guys, Im looking at the kdmrc file but don't see anything wrong. Any ideas where to llook next? I use kde every day, and I don't have a kdmrc file. You can start kde several ways. One way is to login as root and type kdm at the prompt. Another is to edit /etc/ttys the way the Handbook describes. (You can read that yourself.) Another way is to use an xinitrc file. (That's in the Handbook as well.) The reason kdm can't create its pid file is most likely because you're trying to start it under your account instead of root. gary PS: what is the startup for exec'ing gnome?? echo 'gnome_enable=YES' /etc/rc.conf That's in the Handbook as well. -- Paul Schmehl, Senior Infosec Analyst As if it wasn't already obvious, my opinions are my own and not those of my employer. *** Check the headers before clicking on Reply. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Still, no-joy with kdm......
On Tue, Aug 19, 2008 at 02:26:10AM +0200, Martin Tournoij wrote: On Mon, Aug 18, 2008 at 04:43:23PM -0700, Gary Kline wrote: Guys, Im looking at the kdmrc file but don't see anything wrong. Any ideas where to llook next? gary PS: what is the startup for exec'ing gnome?? I can't see anything wrong with your kdmrc file either ... In fact, I can't see your kdmrc file at all ... You should really post more information, at the very least: o What exactly you are trying to accomplish. o Your kdmrc file. o What exactly isn't working. o The error message, if any (full, copied exactly). Well, I managed to capture the [f]printf'd message. This was clearly to stdout, not stderr: Updating KDM configuration Information: reading current kdmrc /usr/local/share/config/kdm/kdmrc (from kde = 2.2.x) Information: current kdmrc is from kde = 3.1 (config version 2.3) This is with no /var/run/kdm.pid; if that file of zero-length inode entry is present, kdm yelps. Either way, nothing happens. No entry into the KDE environment. gary -- Gary Kline [EMAIL PROTECTED] http://www.thought.org Public Service Unix http://jottings.thought.org http://transfinite.thought.org ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Still, no-joy with kdm......
On Tue, Aug 19, 2008 at 11:41:08AM -0500, Paul Schmehl wrote: --On Monday, August 18, 2008 16:43:23 -0700 Gary Kline [EMAIL PROTECTED] wrote: Guys, Im looking at the kdmrc file but don't see anything wrong. Any ideas where to llook next? I use kde every day, and I don't have a kdmrc file. If you installed KDE, you have it. In kde3 it's at /usr/local/share/config/kdm/kdmrc You can start kde several ways. One way is to login as root and type kdm at the prompt. Another is to edit /etc/ttys the way the Handbook describes. (You can read that yourself.) Another way is to use an xinitrc file. (That's in the Handbook as well.) I haven't edited /etc/ttys yet; I may. But I think something got broken [mis-CLEANED by fsck or otherwise damanaged during the weekend power-out]. It may be easier to completely remove v3 and re-install kde4. The reason kdm can't create its pid file is most likely because you're trying to start it under your account instead of root. I'm pretty sure I was in ./root or slash when I logged in. I'm using KDE now, sort-of, by virture of startx. Still, lots of misc things were not initialized. gary gary gary PS: what is the startup for exec'ing gnome?? echo 'gnome_enable=YES' /etc/rc.conf That's in the Handbook as well. -- Paul Schmehl, Senior Infosec Analyst As if it wasn't already obvious, my opinions are my own and not those of my employer. *** Check the headers before clicking on Reply. -- Gary Kline [EMAIL PROTECTED] http://www.thought.org Public Service Unix http://jottings.thought.org http://transfinite.thought.org ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Still, no-joy with kdm......
On Tue, 19 Aug 2008 11:25:42 -0700, Gary Kline [EMAIL PROTECTED] wrote: I haven't edited /etc/ttys yet; I may. But I think something got broken [mis-CLEANED by fsck or otherwise damanaged during the weekend power-out]. When I had my big problem... haha... some structures in /, some in /var and the whole /usr/X11R6 disappeared. Well, that doesn't matter to me because all this stuff can easily be reinstalled (which would be a good advice to do when you think that parts of the system may be missing, just to be sure). It may be easier to completely remove v3 and re-install kde4. Yes, this should leave the system in a default state where KDE4 should run fine without complaining about stuff from version 3. I'm pretty sure I was in ./root or slash when I logged in. Display managers (xdm, gdm, kdm, wdm), when run manually, have to be run as user root: Login: root # xdm # exit X sessions started via the xinitrc command and a proper ~/.xinitrc file should not be run as root, but from a regular user account: Login: bob % startx To run a display manager automatically, /etc/ttys needs to contain the correct line: # name getty typestatus comments ttyv8 /usr/local/bin/xdm -nodaemon xterm on secure For gdm, kdm and wdm, use /usr/local/bin/[gkw]dm respectively. Finally, there's an easy way to automatically login a user (ATTENTION, SECURITY RISK!) and start an X session for him. Therefore, /etc/gettytab needs a little modification: default:\ ... autologin:\ :al=username:tc=Pc: a|std.110|110-baud:\ ... As well, the user's ~/.login file needs to start X; last line: [ -f /tmp/.X0-lock ] startx For this solution, xdm may not be loaded via /etc/ttys - only one instance of X will run (except you put some extra stuff there). But please, keep in mind that this procedure enables anyone with physical access to the machine can click around stupidly and mess up things. -- Polytropon From Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Still, no-joy with kdm......
Guys, Im looking at the kdmrc file but don't see anything wrong. Any ideas where to llook next? gary PS: what is the startup for exec'ing gnome?? -- Gary Kline [EMAIL PROTECTED] http://www.thought.org Public Service Unix http://jottings.thought.org http://transfinite.thought.org ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Still, no-joy with kdm......
On Mon, Aug 18, 2008 at 04:43:23PM -0700, Gary Kline wrote: Guys, Im looking at the kdmrc file but don't see anything wrong. Any ideas where to llook next? gary PS: what is the startup for exec'ing gnome?? I can't see anything wrong with your kdmrc file either ... In fact, I can't see your kdmrc file at all ... You should really post more information, at the very least: o What exactly you are trying to accomplish. o Your kdmrc file. o What exactly isn't working. o The error message, if any (full, copied exactly). o What you have already tried to solve the problem. o The version of software (FreeBSD, KDM, KDE, etc.). -- Martin Tournoij [EMAIL PROTECTED] http://www.daemonforums.org QOTD: The jig's up, Elman. Which jig? -- Jeff Elman ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Still, no-joy with kdm......
On Mon, 18 Aug 2008 16:43:23 -0700, Gary Kline [EMAIL PROTECTED] wrote: Guys, Im looking at the kdmrc file but don't see anything wrong. I'd like to look at your kdmrc file, too. Any ideas where to llook next? Except /etc/ttys, /etc/X11/xorg.conf and kdm's rc file? Hnmmm... can't imagine something else at the moment. PS: what is the startup for exec'ing gnome?? The display manager for Gnome is gdm (used similar to kdm), the Gnome session is started via exec gnome-session, if I remember correctly. I'm not a Gnome user (as I am not a KDE user), so forgive me my answers of guessing. And I don't have one of them installed so I can't check. They wouldn't run on my system anyway. -- Polytropon From Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Still, no-joy with kdm......
On Mon August 18 2008 17:26:10 Martin Tournoij wrote: On Mon, Aug 18, 2008 at 04:43:23PM -0700, Gary Kline wrote: Guys, Im looking at the kdmrc file but don't see anything wrong. Any ideas where to llook next? gary PS: what is the startup for exec'ing gnome?? I can't see anything wrong with your kdmrc file either ... In fact, I can't see your kdmrc file at all ... p0 17:59 tao [5030] locate kdmrc /usr/local/share/con fig/kdm/kdmrc which is a general collection of miscellaneous X* that have been clumped together in the /usr/local/share/con fig/kdm directory. This file is mentioned each time I try to exec kdm [as root]. This has been an ongoing discussion in recent days since the typical results state that kdm cannot create kdm.pid in /var/run. The only work-around is to logging as root from consonsole, then su kline, then type % startup. After several moments my usual KDM is all there. You should really post more information, at the very least: o What exactly you are trying to accomplish. o Your kdmrc file. Everyone who had kde3 had this file; it is very long; posting it would burn more than 20K of bandwidth per listmember. It is 0644, and text, so putting in trace is a no-go. o What exactly isn't working. Well, according to the kdm binary, I can't create /var/run/kdm.pid. But since a zer-length file is created, I think the problem is earlier. It may be, e.g., that the binary cannot be completed. o The error message, if any (full, copied exactly). I don't know exactly how much good that would do, assuming that I *could* do a ``# kdm 21/tmp/message. o What you have already tried to solve the problem. Massively removed every socket from ~/. and /tmp/. , plus, of course rm'ing the zer-len kdm.pid file. o The version of software (FreeBSD, KDM, KDE, etc.). 7.0 rev 3, upgraded in March. I did a complete ports upgrade this morning; then a reboot. Nada. kdm still can write is pid into kdm.pid. -g -- Gary Kline [EMAIL PROTECTED] www.thought.org Public Service Unix http://jottings.thought.org http://transfinite.thought.org ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]