Date: Sun, 24 Jan 1999 12:35:59 -0800 From: Dean <dean@thegrid.net> To: kde@lists.netcentral.net Cc: freebsd-questions@FreeBSD.ORG Subject: kdm - GiveConsole problem Message-ID: <3.0.5.32.19990124123559.007e2c40@mail.thegrid.net>
next in thread | raw e-mail | index | archive | help
Hia folks, Please cc me in your replies to the mailing list since I do not subscribe to them. Thanks. Here's my problem: I have xdm working sufficiently well to give me some xterms and properly chown the console to the current logged-in user. So, I got kdm up and running annd tried to log in. Instead of doing so, I get a dialouge box appearing telling me that "/usr/X11R6/lib/X11/xdm/GiveConsole exited with a nonzero status." or something expressing roughly the equivalent. It then returned control to the kdm login screen. I'm guessing that something isn't properly running as root and cllling GiveConsole. I've got KDE 1.0 installed in /usr/local/kde with a symlink from /opt/kde to that directory. I'm running FreeBSD3.0. Here's my config files for your scrutiny. remus:/usr/X11R6/lib/X11/xdm# ll -rwxr-xr-x 1 root wheel 390 Jan 24 01:03 GiveConsole* -rwxr-xr-x 1 root wheel 249 Jan 23 21:59 TakeConsole* -r--r--r-- 1 root wheel 1976 Mar 1 1998 Xaccess -rwxr-xr-x 1 root wheel 183 Jan 24 01:04 Xreset* -r--r--r-- 1 root wheel 1048 Mar 1 1998 Xresources -r--r--r-- 1 root wheel 491 Mar 1 1998 Xservers -rwxr-xr-x 1 root wheel 618 Jan 24 01:05 Xsession* -rwxr-xr-x 1 root wheel 180 Jan 24 01:11 Xsetup_0* -rwsr-xr-x 1 root wheel 282 Jan 24 00:58 Xstartup* -rw-r--r-- 1 root wheel 1001 Mar 1 1998 xdm-config <snip> remus:/usr/X11R6/lib/X11/xdm# cat GiveConsole #!/bin/sh chown $USER /dev/console remus:/usr/X11R6/lib/X11/xdm# cat Xstartup #!/bin/sh if [ -f /etc/nologin ]; then xmessage -file /etc/nologin -timeout 30 -center exit 1 fi sessreg -a -l $DISPLAY -x /usr/X11R6/lib/xdm/Xservers $LOGNAME /usr/X11R6/lib/X11/xdm/GiveConsole exit 0 remus:/usr/X11R6/lib/X11/xdm# cat Xsetup_0 #!/bin/sh # $XConsortium: Xsetup_0,v 1.3 93/09/28 14:30:31 gildea Exp $ xconsole -geometry 480x130+0+0 -daemon -notify -verbose -fn fixed -exitOnFail /usr/local/kde/bin/kdmdesktop What calls GiveConsole? Maybe I don't have the ownerships set correctly on that. Thanks Dean ---------------------------------------------------------------------------- --- A train stops at a tarin station, a bus stops at a bus staion. On my desk, I have a workstation.... ---------------------------------------------------------------------------- --- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3.0.5.32.19990124123559.007e2c40>