From owner-freebsd-stable Wed Oct 13 19:40:57 1999 Delivered-To: freebsd-stable@freebsd.org Received: from imc01.ex.nus.edu.sg (imc01.ex.nus.edu.sg [137.132.14.60]) by hub.freebsd.org (Postfix) with ESMTP id CAECF15307 for ; Wed, 13 Oct 1999 19:40:46 -0700 (PDT) (envelope-from ccegongw@nus.edu.sg) Received: by imc01.ex.nus.edu.sg with Internet Mail Service (5.5.2650.21) id <4QCQ84RS>; Thu, 14 Oct 1999 10:41:00 +0800 Message-ID: <762388C091FAD01180FF00A02462137801AC5B8C@exchange.nus.edu.sg> From: Gong Wei To: "'mi@aldan.algebra.com'" Cc: "'freebsd-stable@freebsd.org'" Subject: RE: KDM and FreeBSD 3.3 Date: Thu, 14 Oct 1999 10:09:04 +0800 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2650.21) Content-Type: text/plain; charset="ISO-8859-1" Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Hi all, Yes there is a file /tmp/xses- created which contains a single line of output:"Error: cannot open display". Since this means /usr/X11R6/lib/X11/xdm/Xsession has been called. So I've modified that file, add in a line near the top "set > /tmp/report". After that, I restar the KDM, try login, got this in the /tmp/report file: ===================== MAIL=/var/mail/ccegongw PS1=$ OPTIND=1 PS2=> BLOCKSIZE=K TERM=su PATH=/home/ccegongw/bin:/bin:/usr/bin:/usr/local/bin:/usr/X11R6/bin XAUTHORITY=/tmp/.XauthJa4048 IFS= ============ However, if I kill the KDM and start a XDM instead, this is what I get from the /tmp/report file: ==================== USER=ccegongw HOME=/home/ccegongw PS1=$ OPTIND=1 PS2=> LOGNAME=ccegongw PATH=/bin:/usr/bin:/sbin:/usr/sbin:/usr/X11R6/bin:/usr/gnu/bin:/usr/local/bi n DISPLAY=:0 SHELL=/usr/local/bin/bash IFS= =========== I am really surprised since some important environment variables are not set when using KDM. PS: I can start kde without any problem if login through xdm. The last line of my ~/.xsession file is "ssh-agent /usr/local/bin/startkde". Thanks to all for your time and effort! -----Original Message----- From: Mikhail Teterin [mailto:mi@aldan.algebra.com] Sent: Thursday, October 14, 1999 12:16 AM To: Gong Wei Subject: Re: KDM and FreeBSD 3.3 Gong Wei once wrote: > I've searched the KDE mailing list, seems someone also facing the same > problem. Too bad he said he had solve it, by looking at the two error > log file (xdm-error, ~/.xsession-error). Check for the /tmp/*xsession-error* too. Sometimes, it may go there. Also, the name of the selected session (kde, failsafe) is given to the .xsession script as an argument. Is you ~/.Xclients looking at the arguments at all? Also, is /usr/X11R6/bin in the PATH? -mi To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message