Bug#555647: x11-xserver-utils: xrandr -o left leaves xdm, after I logout, unresponsive, with no login prompt
- To: firstname.lastname@example.org
- Subject: Bug#555647: x11-xserver-utils: xrandr -o left leaves xdm, after I logout, unresponsive, with no login prompt
- From: Edward Welbourne <email@example.com>
- Date: Wed, 11 Nov 2009 16:25:45 +0100
- Message-id: <E1N8F4r-0005bg-16@whorl>
- Reply-to: firstname.lastname@example.org, email@example.com
- In-reply-to: <20091110195540.6125.1012.reportbug@whorl> (message from Edward Welbourne on Tue, 10 Nov 2009 20:55:40 +0100)
- References: <20091110195540.6125.1012.reportbug@whorl>
> I use xrandr -o left in my .xsession so that I can use my screen in
> portrait mode.
I'm now achieving the equivalent effect by adding
Option "Rotate" "left"
to Section "Monitor" of my /etc/X11/xorg.conf
(which avoids the font problems I had with xrandr -o left)
and now find that xdm always hangs after I log out (where, previously,
it only used to hang if I ran xrandr -o -left in my user session).
When the X session is hanging, after I've logged out, I find that
fails, claiming that the xdm.pid file doesn't exist, even though ps
reports that the xdm process is still running.
I notice that xmd has two child processes:
USER PID PPID SZ VSZ RSZ NI CMD
root 17331 1 1399 5596 940 0 /usr/bin/xdm
root 20618 17331 6763 27052 15008 0 /usr/bin/X :0 vt7 -nolisten tcp -auth /var/lib/xdm/authdir/authfiles/A:0-chlHyX
root 20622 17331 2104 8416 5236 0 -:0
When logging out has hung the X session, killing the last (which has a
symlink to /usr/bin/xdm as its /proc/20622/exe) causes xdm to exit;
whereas killing the /usr/bin/X process persuades the xdm process to
start a new X login prompt, which works as usual.