[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#263449: kdm: still problems with remote login



Hi all,

with the recent kdm ist's still not possible to login from our X11-terminals.

On the terminals we run:

root     12042     1  1  2006 ?        14:29:21 /usr/bin/X11/Xorg -config /etc/X11/xorg.conf.ixxie :0 vt07 -dpi 100 -indirect up.dfn.de

with 'up.dfn.de' being the NFS-Server for the diskless terminals where an xdm
is running which provides the chooser for the terminals.

Everything works fine when selecting one of our sarge hosts from the chooser,
but it's not possible to log in to a recent etch system with kdm
3.5.5a.dfsg.1-5.

On my etch system named 'bunny' I run

root@bunny:~# ps -ef | grep bin/X
root     19960 19958  1 16:02 tty7     00:00:59 /usr/bin/X -br :0 vt7 -auth /var/run/xauth/A:0-hXsyh7
root@bunny:~# ps -ef | grep kdm
root     19958     1  0 16:02 ?        00:00:00 /usr/bin/kdm -config /var/run/kdm/kdmrc
root@bunny:~# grep -i serverargs  /var/run/kdm/kdmrc
ServerArgsLocal=
#ServerArgsRemote=

The system 'bunny' shows up in the chooser window on the X-terminals but when
it is selected the X-cursor is shown for about 15 seconds and then the chooser
comes back instead of the login-window from 'bunny'.

The strace of the kdm-process on 'bunny' shows

select(26, [4 6 7 8 9 10 13 17], NULL, NULL, NULL) = 1 (in [8])
time([1170259488])                      = 1170259488
recvfrom(8, "\0\1\0\4\0\v\0\4\301\256\367\203\0\2\343\23\0", 8192, 0, {sa_family=AF_INET6, sin6_port=htons(177), inet_pton(AF_INET6, "::ffff:193.174.247.157", &sin6_addr), sin6_flowinfo=0, sin6_scope_id=0}, [28]) = 17
select(26, [4 6 7 8 9 10 13 17], NULL, NULL, NULL) = 1 (in [8])
time([1170259490])                      = 1170259490
recvfrom(8, "\0\1\0\4\0\v\0\4\301\256\367\203\0\2\343\23\0", 8192, 0, {sa_family=AF_INET6, sin6_port=htons(177), inet_pton(AF_INET6, "::ffff:193.174.247.157", &sin6_addr), sin6_flowinfo=0, sin6_scope_id=0}, [28]) = 17
select(26, [4 6 7 8 9 10 13 17], NULL, NULL, NULL) = 1 (in [8])
time([1170259494])                      = 1170259494
recvfrom(8, "\0\1\0\4\0\v\0\4\301\256\367\203\0\2\343\23\0", 8192, 0, {sa_family=AF_INET6, sin6_port=htons(177), inet_pton(AF_INET6, "::ffff:193.174.247.157", &sin6_addr), sin6_flowinfo=0, sin6_scope_id=0}, [28]) = 17
select(26, [4 6 7 8 9 10 13 17], NULL, NULL, NULL) = 1 (in [8])
time([1170259502])                      = 1170259502
recvfrom(8, "\0\1\0\4\0\v\0\4\301\256\367\203\0\2\343\23\0", 8192, 0, {sa_family=AF_INET6, sin6_port=htons(177), inet_pton(AF_INET6, "::ffff:193.174.247.157", &sin6_addr), sin6_flowinfo=0, sin6_scope_id=0}, [28]) = 17
select(26, [4 6 7 8 9 10 13 17], NULL, NULL, NULL) = 1 (in [8])
time([1170259518])                      = 1170259518
recvfrom(8, "\0\1\0\1\0\1\0", 8192, 0, {sa_family=AF_INET6, sin6_port=htons(59599), inet_pton(AF_INET6, "::ffff:193.174.247.157", &sin6_addr), sin6_flowinfo=0, sin6_scope_id=0}, [28]) = 7

during those 15 seconds and after that it seems to reset itself:

stat64("/var/run/kdm/kdmrc", {st_mode=S_IFREG|0644, st_size=21636, ...}) = 0
stat64("/etc/kde3/kdm/Xaccess", {st_mode=S_IFREG|0644, st_size=1920, ...}) = 0
open("/etc/hosts", O_RDONLY)            = 11
fcntl64(11, F_GETFD)                    = 0
fcntl64(11, F_SETFD, FD_CLOEXEC)        = 0
fstat64(11, {st_mode=S_IFREG|0644, st_size=308, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7f85000
read(11, "127.0.0.1\tlocalhost\n193.174.247."..., 4096) = 308
read(11, "", 4096)                      = 0
close(11)                               = 0
munmap(0xb7f85000, 4096)                = 0
socket(PF_INET, SOCK_DGRAM, IPPROTO_IP) = 11
connect(11, {sa_family=AF_INET, sin_port=htons(53), sin_addr=inet_addr("194.95.249.252")}, 28) = 0
fcntl64(11, F_GETFL)                    = 0x2 (flags O_RDWR)
fcntl64(11, F_SETFL, O_RDWR|O_NONBLOCK) = 0
gettimeofday({1170259518, 333906}, NULL) = 0
poll([{fd=11, events=POLLOUT, revents=POLLOUT}], 1, 0) = 1
send(11, "\223T\1\0\0\1\0\0\0\0\0\0\003157\003247\003174\003193\7"..., 46, 0) = 46
poll([{fd=11, events=POLLIN, revents=POLLIN}], 1, 5000) = 1
ioctl(11, FIONREAD, [230])              = 0
recvfrom(11, "\223T\205\200\0\1\0\1\0\4\0\4\003157\003247\003174\003"..., 1024, 0, {sa_family=AF_INET, sin_port=htons(53), sin_addr=inet
_addr("194.95.249.252")}, [16]) = 230
close(11)

 etc.

Does anyone have an idea what goes wrong here? I even removed the 'nolisten'
flag as you can see above so this seems to be a slightly different problem.

BTW: runnig 'X -query bunny' on the X-terminal works so I'm pretty shure
the setup on 'bunny' (kdmrc and Xaccess) is ok. But what's the difference
when using the chooser? There are no error-messages in /var/log/xdm.log on
the NFS/xdm/chooser-server so I'm a bit lost here.

Thanx for any hints what to try next...

Raoul




Reply to: