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

Bug#630778: xdm: found solution



Package: xdm
Version: 1:1.1.10-3
Severity: normal

Hello,

Please find the solution to the bug contained into XDM. 

You recently wrote: 

> Package: xdm
> Version: 1:1.1.10-3
> Severity: important
>
> Hello,
>
> I have upgraded the debian machine, and xdm is not working anymore. This only for one user.
>
> It seems that the issue is due to auth. It works well with tty and all other users, and also with deleting all data and so on.
> So it comes really from xdm / auth.
>
>
> Dec 31 11:08:51 debian su[13522]: Successful su for root by peter
> Dec 31 11:08:51 debian su[13522]: + /dev/tty1 peter:root
> Dec 31 11:08:51 debian su[13522]: pam_unix(su:session): session opened for user root by peter(uid=8003)
> Dec 31 11:09:29 debian xdm[13229]: pam_unix(xdm:session): session opened for user peter by peter(uid=0)
> Dec 31 11:09:29 debian xdm[13229]: pam_ck_connector(xdm:session): nox11 mode, ignoring PAM_TTY :0
> Dec 31 11:09:30 debian xdm[13229]: pam_unix(xdm:session): session closed for user peter
> Dec 31 11:09:37 debian login[11150]: pam_unix(login:session): session opened for user   by LOGIN(uid=0)
> Dec 31 11:09:42 debian su[13764]: Successful su for root by peter
> Dec 31 11:09:42 debian su[13764]: + /dev/tty2 peter:root
> Dec 31 11:09:42 debian su[13764]: pam_unix(su:session): session opened for user root by peter(uid=8003)
>
Looks like xdm is working just fine, but your session is exiting after
1s.  Check out ~/.xsession-errors maybe?  Closing as not our bug.

Cheers,
Julien

-------------------
The proposed solution is unfortunately not leading to any hints/clues of what is going on. ~/.xsession-errors  contains normal lines. 




However, a solution is as follows to solve the bug issue of xdm. 

It is simply due to the fact that xdm stores into its configuration wrong inputs. 


I have been tried all kind of ways, and in order to make xdm work again to overcome the bug, one must follow the following steps.

(1) You login as root, and you enter the following to rebuild the xdm: 

On machine that have no kdm (problem between xdm and kdm), you must type (killall kdm) is not necessary.

(2) /etc/init.d/xdm stop; killall kdm; /etc/init.d/xdm start
Stopping X display manager: xdm.
kdm: no process found
Starting X display manager: xdm.

If you have had previously kdm, on the linux machine, you'd better kill kdm.

(3) it should now work



Alternatively: If for all the users that cannot login and that complain about your installation, you simply have to tell them that the xdm is reloaded/restarted and that they have to be patient. This bug issue will be fixed soon or later, and if it does not work again, they can type as user (not root):

cd ; rm .Xauthority

and this will solve the problem related to the xdm process. 


This solution worked on 3 machines where this issue has been reported since some time. Maybe an upgrade (i.e. : apt-get update ; apt-get upgrade) ? 


I hope that this solution will help some users using xdm to make it work and in order to solve this bug of xdm.

Best regards / Happy New Year.
Y.




-- System Information:
Debian Release: 6.0.3
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: i386 (i686)

Kernel: Linux 2.6.32-5-686-bigmem (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages xdm depends on:
ii  cpp                   4:4.4.5-1          The GNU C preprocessor (cpp)
ii  debconf [debconf-2.0] 1.5.36.1           Debian configuration management sy
ii  libc6                 2.11.2-10          Embedded GNU C Library: Shared lib
ii  libpam0g              1.1.1-6.1+squeeze1 Pluggable Authentication Modules l
ii  libselinux1           2.0.96-1           SELinux runtime shared libraries
ii  libx11-6              2:1.3.3-4          X11 client-side library
ii  libxau6               1:1.0.6-1          X11 authorisation library
ii  libxaw7               2:1.0.7-1          X11 Athena Widget library
ii  libxdmcp6             1:1.0.3-2          X11 Display Manager Control Protoc
ii  libxext6              2:1.1.2-1          X11 miscellaneous extension librar
ii  libxft2               2.1.14-2           FreeType-based font drawing librar
ii  libxinerama1          2:1.1-3            X11 Xinerama extension library
ii  libxmu6               2:1.0.5-2          X11 miscellaneous utility library
ii  libxpm4               1:3.5.8-1          X11 pixmap library
ii  libxrender1           1:0.9.6-1          X Rendering Extension client libra
ii  libxt6                1:1.0.7-1          X11 toolkit intrinsics library
ii  lsb-base              3.2-23.2squeeze1   Linux Standard Base 3.2 init scrip
ii  procps                1:3.2.8-9          /proc file system utilities
ii  x11-common            1:7.5+8+squeeze1   X Window System (X.Org) infrastruc
ii  x11-utils             7.5+4              X11 utilities
ii  x11-xserver-utils     7.5+3              X server utilities

xdm recommends no packages.

xdm suggests no packages.

-- debconf information excluded



Reply to: