From owner-freebsd-questions Tue Jun 20 2:57:49 2000 Delivered-To: freebsd-questions@freebsd.org Received: from mailhost.iitb.ac.in (mailhost.iitb.ac.in [203.197.74.142]) by hub.freebsd.org (Postfix) with SMTP id 0643B37BE17 for ; Tue, 20 Jun 2000 02:57:43 -0700 (PDT) (envelope-from chyrag@mitra.cse.iitb.ernet.in) Received: (qmail 27296 invoked from network); 20 Jun 2000 10:07:40 -0000 Received: from mitra.cse.iitb.ernet.in (144.16.111.21) by mailhost.iitb.ac.in with SMTP; 20 Jun 2000 10:07:40 -0000 Received: (from chyrag@localhost) by mitra.cse.iitb.ernet.in (8.9.3/8.8.8) id PAA26815; Tue, 20 Jun 2000 15:26:09 +0530 Date: Tue, 20 Jun 2000 15:26:09 +0530 From: Chirag Kantharia To: Siegbert Baude Cc: freebsd-questions@freebsd.org Subject: Re: kde Message-ID: <20000620152609.A26804@slashetc.net> Reply-To: Chirag Kantharia References: <00dc01bfd9ed$d13c9bf0$a8ab30cf@ferret> <394E1AB8.14E5E8E8@i-clue.de> <20000619231342.A21843@slashetc.net> <394EA4C8.A351A729@gmx.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0pre3us In-Reply-To: <394EA4C8.A351A729@gmx.de> X-Url: http://slashetc.net/chyrag/ Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Sorry but the mail's bit longish... On Tue, Jun 20, 2000 at 12:55:04AM +0200, Siegbert Baude wrote: | > Are you starting kdm from /etc/ttys? If so, could you list the entry? | > My /etc/ttys looks like this and kdm cribs about extra argument ttyv4 | > and exits: | > | > ttyv8 "/usr/local/bin/kdm -nodaemon" xterm off secure | | you almost got it. It has to be: | | ttyv8 "/usr/local/bin/kdm -nodaemon" xterm on secure Oops! I cut and pasted the entry from the /etc/ttys which isn't being any longer used. When I was experimenting with the kdm, the entry was as you said. That gave the following error messages: Jun 20 11:10:37 mercury kdm: extra arguments on command line: Jun 20 11:10:37 mercury kdm: "ttyv8" Jun 20 11:10:37 mercury kdm: Jun 20 11:10:37 mercury kdm[297]: Cannot open server authorization file /usr/X11R6/lib/X11/xdm/authdir/A:0-uMl297 Jun 20 11:10:40 mercury kdm[308]: can't execute "XBINDIR/xrdb" (err 2) Jun 20 11:10:41 mercury /kernel: pid 307 (kdm), uid 0: exited on signal 11 (core dumped) Jun 20 11:10:41 mercury kdm[297]: Unknown session exit code 35584 from process 3 07 The permissions of /usr/X11R6/lib/X11/xdm/authdir are 700 and owned by root.wheel and the file A:0-uMl297 is created (I suppose) at each invocation of xdm. | So init will start your kdm. If you prefer the original line using xdm, | you have to alter | /usr/X11R6/lib/X11/xdm/Xsession | I did there | # exec xsm | # PATH=$PATH:/usr/local/bin:/usr/X11R6/bin | /usr/local/bin/startkde I use wmaker and not kde and so I substituted startkde with wmaker which didn't work out. The xdm started fine and I could also login (ie. the xdm didn't crib about invalid login etc) but the xdm login dialog came back. The error in .xsession-errors: Xlib: connection to ":0.0" refused by server Xlib: Client is not authorized to connect to Server /usr/X11R6/bin/wmaker fatal error: could not open display ":0" something to do with xauthorization again :( I tried something else too: since kdm was cribbing about extra argument, I wrote kdm.sh which had just #!/usr/local/bin/bash /usr/local/bin/kdm -nodaemon and the entry in /etc/ttys ttyv8 "/usr/local/bin/kdm.sh" xterm on secure This gave the following errors: Jun 20 15:23:28 mercury kdm[359]: can't execute "XBINDIR/xrdb" (err 2) Jun 20 15:23:29 mercury /kernel: pid 356 (kdm), uid 0: exited on signal 11 (core dumped) Jun 20 15:23:29 mercury kdm[344]: Unknown session exit code 35584 from process 356 For time being, I've given up. I'll probably put up another fight after a shady deadline this month end. chyrag. -- Chirag Kantharia http://slashetc.net/chyrag/ GCS/IT d- s-:->: a? C++++$ UBLS++++$ P++++(++)$ L++ E- W++ N--@ K--- w--- M->-- PE++ PGP->+ R* b+ DI+ D+ G++ e++ h* r-- !z+ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message