From owner-freebsd-questions Sun Jan 24 12:40:06 1999 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id MAA15831 for freebsd-questions-outgoing; Sun, 24 Jan 1999 12:40:06 -0800 (PST) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from smtp.thegrid.net (smtp.thegrid.net [209.162.1.11]) by hub.freebsd.org (8.8.8/8.8.8) with SMTP id MAA15824 for ; Sun, 24 Jan 1999 12:40:05 -0800 (PST) (envelope-from dean@thegrid.net) Received: (qmail 16307 invoked from network); 24 Jan 1999 20:39:52 -0000 Received: from pop.thegrid.net (209.162.1.5) by smtp.thegrid.net with SMTP; 24 Jan 1999 20:39:52 -0000 Received: from zippy (lax-ts2-h2-43-63.ispmodems.net [209.162.43.63]) by pop.thegrid.net (8.9.1a/8.9.1) with SMTP id MAA01748; Sun, 24 Jan 1999 12:39:51 -0800 (PST) Message-Id: <3.0.5.32.19990124123559.007e2c40@mail.thegrid.net> X-Sender: i236555@mail.thegrid.net X-Mailer: QUALCOMM Windows Eudora Pro Version 3.0.5 (32) Date: Sun, 24 Jan 1999 12:35:59 -0800 To: kde@lists.netcentral.net From: Dean Subject: kdm - GiveConsole problem Cc: freebsd-questions@FreeBSD.ORG Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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 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