Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 20 Jun 2000 15:26:09 +0530
From:      Chirag Kantharia <chyrag@slashetc.net>
To:        Siegbert Baude <siegbert.baude@gmx.de>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: kde
Message-ID:  <20000620152609.A26804@slashetc.net>
In-Reply-To: <394EA4C8.A351A729@gmx.de>
References:  <00dc01bfd9ed$d13c9bf0$a8ab30cf@ferret> <394E1AB8.14E5E8E8@i-clue.de> <20000619231342.A21843@slashetc.net> <394EA4C8.A351A729@gmx.de>

next in thread | previous in thread | raw e-mail | index | archive | help

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 <chyrag@slashetc.net> 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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20000620152609.A26804>