Hello, The version of FreeBSD I use is 4.10. After I login the system through the xdm from a remote machine which runs the simulated X terminal.I start the kde enviornment in the .xsession file under the ~/ directory. after the kde started.I open konsole of kde(version 1.3.2) and type the command of who, and the konsole tells me that there nobody login to the system. neither i can see anybody has logined the system in the local terminal.It's a surpring phenomena. Later, strange thing occurs again. I click the "Run Command" in the KDE menu and start the xterm, this time the who works correctly also can it work correctly both in the konsole of and in the local terminal. The files i have changed is the xdm-config and the Xaccess, in the first one, I comment the line of "DisplayManager.requestPort 0" to enable the listening and in the last one i uncomment the asterisk * to allow anyone login through the xdm. but when I login the system as root, the who works correctly again. I don't start the kde environment, just simply use the twm,it starts the terminal of xterm. What i have wrote in the .xsession is like follow: export PATH=.:/................ export CLICOLOR="exdx......" startkde Could somebody tell me why these things happen? is there any wrong with KDE? Thank in advance. leo _________________________________________________________ Do You Yahoo!? 150ÍòÇúMP3·è¿ñËÑ£¬´øÄú´³ÈëÒôÀÖµîÌà http://music.yisou.com/ ÃÀÅ®Ã÷ÐÇÓ¦Óо¡ÓУ¬ËѱéÃÀͼ¡¢ÑÞͼºÍ¿áͼ http://image.yisou.com 1G¾ÍÊÇ1000Õ×£¬ÑÅ»¢µçÓÊ×ÔÖúÀ©ÈÝ£¡ http://cn.rd.yahoo.com/mail_cn/tag/1g/*http://cn.mail.yahoo.com/event/mail_1g/
Doug White
2004-Aug-16 10:29 UTC
why the command of "who" dosen't work while i login through xdm
On Fri, 13 Aug 2004, [gb2312] leo wrote:> Hello, > The version of FreeBSD I use is 4.10. > > After I login the system through the xdm from a remote > machine which runs the simulated X terminal.I start > the kde enviornment in the .xsession file under the ~/ > directory. after the kde started.I open konsole of > kde(version 1.3.2) and type the command of who, and > the konsole tells me that there nobody login to the > system. neither i can see anybody has logined the > system in the local terminal.It's a surpring > phenomena.konsole is not writing utmp entires it appears. I'll have to check this on my work box (which is on -CURRENT) but I think its fixed in later versions of konsole. The login records are a function of whatever spawns the terminal, which is usually login(8) but in X its usually xterm. its not fatal but can be disconcerting :) -- Doug White | FreeBSD: The Power to Serve dwhite@gumbysoft.com | www.FreeBSD.org