Bug#463598: /var/run/utmp exists, but wdm still doesn't register the session
On Thu, May 27, 2010 at 07:37:37PM +0200, Agustin Martin wrote: On Fri, May 21, 2010 at 09:36:47PM +0300, Yury Bulka wrote: Hello! Let me firstly thank you for your work on this package and for reading this:) So here's what the report is about: I've also noticed that wdm doesn't register the session it starts to utmp, but in my case /var/run/utmp exists on my system. It's strange, because the sessreg command is in its place in file /etc/X11/wdm/Xstartup: --- # Insert a utmp entry for the session if grep -q ^use-sessreg /etc/X11/wdm/wdm.options; then exec sessreg -a -l $DISPLAY -u /var/run/utmp -x /etc/X11/wdm/Xservers $USER # NOTREACHED fi --- and the option use-sessreg is enabled in /etc/X11/wdm/wdm.options. I tried to install xdm and it does register the session with almost identical sessreg command (the only difference is the -x parameter which is set to /etc/X11/xdm/Xservers there)... I replaced wdm Xstartup with xdm Xstartup and s/xdm/wdm/g. No luck, it still does not register session. I have verified that $DISPLAY and $USER values just before the sessreg call are correct and so that the sessreg line is processed if use-sessreg is enabled. I am curious, did it register session at some time? In the box where wdm is installed last time /var/log/wdm.log was updated was long time ago, on November 2005 for sid. I wonder what happened at that time. I think about something related to xfree86 - xorg transition (last xfree86 log in this sid box is from September 2005). By the way, just noticed why /var/log/wdm.log was not updated. It was indeed the expected behavior. Somewhere around 1.27 (Seems to be 1.27-1, according to changelog, in reply to #242155), wdm-config was modified to have messages be sent to syslog as default, while previous default was /var/log/wdm.log. And that happened in late 2004 amd hit me in 2005. I have checked my /var/log/syslog and it indeed contains wdm messages. If I modify wdm-config to not use syslog, messages are sent again to /var/log/wdm.log. Adam, I am aware this bug is 3 years old and you no longer use wdm, but do you remember if when noticing the problem you checked /var/log/wdm.log, or it was /var/log/syslog? Thanks for your feedback, -- Agustin -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Bug#463598: /var/run/utmp exists, but wdm still doesn't register the session
On Fri, Feb 11, 2011 at 12:26:18PM +0100, Agustin Martin wrote: On Thu, May 27, 2010 at 07:37:37PM +0200, Agustin Martin wrote: On Fri, May 21, 2010 at 09:36:47PM +0300, Yury Bulka wrote: Hello! Let me firstly thank you for your work on this package and for reading this:) So here's what the report is about: I've also noticed that wdm doesn't register the session it starts to utmp, but in my case /var/run/utmp exists on my system. It's strange, because the sessreg command is in its place in file /etc/X11/wdm/Xstartup: --- # Insert a utmp entry for the session if grep -q ^use-sessreg /etc/X11/wdm/wdm.options; then exec sessreg -a -l $DISPLAY -u /var/run/utmp -x /etc/X11/wdm/Xservers $USER # NOTREACHED fi --- and the option use-sessreg is enabled in /etc/X11/wdm/wdm.options. I tried to install xdm and it does register the session with almost identical sessreg command (the only difference is the -x parameter which is set to /etc/X11/xdm/Xservers there)... I replaced wdm Xstartup with xdm Xstartup and s/xdm/wdm/g. No luck, it still does not register session. I have verified that $DISPLAY and $USER values just before the sessreg call are correct and so that the sessreg line is processed if use-sessreg is enabled. I am curious, did it register session at some time? In the box where wdm is installed last time /var/log/wdm.log was updated was long time ago, on November 2005 for sid. I wonder what happened at that time. I think about something related to xfree86 - xorg transition (last xfree86 log in this sid box is from September 2005). By the way, just noticed why /var/log/wdm.log was not updated. It was indeed the expected behavior. Somewhere around 1.27 (Seems to be 1.27-1, according to changelog, in reply to #242155), wdm-config was modified to have messages be sent to syslog as default, while previous default was /var/log/wdm.log. And that happened in late 2004 amd hit me in 2005. I have checked my /var/log/syslog and it indeed contains wdm messages. If I modify wdm-config to not use syslog, messages are sent again to /var/log/wdm.log. Adam, I am aware this bug is 3 years old and you no longer use wdm, but do you remember if when noticing the problem you checked /var/log/wdm.log, or it was /var/log/syslog? Thanks for your feedback, I'm sorry, I don't remember. -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Bug#463598: /var/run/utmp exists, but wdm still doesn't register the session
On Fri, May 21, 2010 at 09:36:47PM +0300, Yury Bulka wrote: Hello! Let me firstly thank you for your work on this package and for reading this:) So here's what the report is about: I've also noticed that wdm doesn't register the session it starts to utmp, but in my case /var/run/utmp exists on my system. It's strange, because the sessreg command is in its place in file /etc/X11/wdm/Xstartup: --- # Insert a utmp entry for the session if grep -q ^use-sessreg /etc/X11/wdm/wdm.options; then exec sessreg -a -l $DISPLAY -u /var/run/utmp -x /etc/X11/wdm/Xservers $USER # NOTREACHED fi --- and the option use-sessreg is enabled in /etc/X11/wdm/wdm.options. I tried to install xdm and it does register the session with almost identical sessreg command (the only difference is the -x parameter which is set to /etc/X11/xdm/Xservers there)... I replaced wdm Xstartup with xdm Xstartup and s/xdm/wdm/g. No luck, it still does not register session. I have verified that $DISPLAY and $USER values just before the sessreg call are correct and so that the sessreg line is processed if use-sessreg is enabled. I am curious, did it register session at some time? In the box where wdm is installed last time /var/log/wdm.log was updated was long time ago, on November 2005 for sid. I wonder what happened at that time. I think about something related to xfree86 - xorg transition (last xfree86 log in this sid box is from September 2005). Thanks for your feedback, -- Agustin -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Bug#463598: /var/run/utmp exists, but wdm still doesn't register the session
Package: wdm Version: 1.28-3.5 Followup-For: Bug #463598 Hello! Let me firstly thank you for your work on this package and for reading this:) So here's what the report is about: I've also noticed that wdm doesn't register the session it starts to utmp, but in my case /var/run/utmp exists on my system. It's strange, because the sessreg command is in its place in file /etc/X11/wdm/Xstartup: --- # Insert a utmp entry for the session if grep -q ^use-sessreg /etc/X11/wdm/wdm.options; then exec sessreg -a -l $DISPLAY -u /var/run/utmp -x /etc/X11/wdm/Xservers $USER # NOTREACHED fi --- and the option use-sessreg is enabled in /etc/X11/wdm/wdm.options. I tried to install xdm and it does register the session with almost identical sessreg command (the only difference is the -x parameter which is set to /etc/X11/xdm/Xservers there)... I reinstalled wdm with default configuration, but the problem remained there. Then i tried to install wdm from sid, but it still doesn't register the session. Wish you that the solution come easily, Thank you, Yury -- System Information: Debian Release: 5.0.4 APT prefers stable APT policy: (500, 'stable') Architecture: i386 (i686) Kernel: Linux 2.6.26-tranquil1 Locale: LANG=uk_UA.UTF-8, LC_CTYPE=uk_UA.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/bash Versions of packages wdm depends on: ii debconf [debconf-2.0] 1.5.24 Debian configuration management sy ii libc6 2.7-18lenny2 GNU C Library: Shared libraries ii libfontconfig12.6.0-3generic font configuration library ii libice6 2:1.0.4-1 X11 Inter-Client Exchange library ii libpam-modules1.0.1-5+lenny1 Pluggable Authentication Modules f ii libpam-runtime1.0.1-5+lenny1 Runtime support for the PAM librar ii libpam0g 1.0.1-5+lenny1 Pluggable Authentication Modules l ii libselinux1 2.0.65-5 SELinux shared libraries ii libsm62:1.0.3-2 X11 Session Management library ii libwraster3 0.92.0-8 Shared libraries of Window Maker r ii libx11-6 2:1.1.5-2 X11 client-side library ii libxau6 1:1.0.3-3 X11 authorisation library ii libxdmcp6 1:1.0.2-3 X11 Display Manager Control Protoc ii libxext6 2:1.0.4-1 X11 miscellaneous extension librar ii libxft2 2.1.12-3 FreeType-based font drawing librar ii libxinerama1 2:1.0.3-2 X11 Xinerama extension library ii libxmu6 2:1.0.4-1 X11 miscellaneous utility library ii psmisc22.6-1 Utilities that use the proc filesy ii x11-apps 7.3+4 X applications ii x11-common1:7.3+20 X Window System (X.Org) infrastruc ii x11-utils 7.3+2+nmu1 X11 utilities ii x11-xserver-utils 7.3+5 X server utilities wdm recommends no packages. Versions of packages wdm suggests: ii xfonts-base 1:1.0.0-5 standard fonts for X -- debconf information excluded -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org