Subject: Re: xconsole broken for xdm/gdm setups
To: Martin Husemann <>
From: Perry E. Metzger <>
List: tech-x11
Date: 05/04/2003 13:30:08
Martin Husemann <> writes:
> On Sun, May 04, 2003 at 11:25:14AM -0400, Perry E. Metzger wrote:
> > Are you sure?
> Yes, pretty much. Unless I missed some recent config file changes that would
> fix the problem.
> Try loggin into ttyE0 via Ctrl-Alt-F1, login in as perry, ls -l /dev/console
> and log out again. Now go back to your X vt and ls -l /dev/console there.

Ah! This is an interesting bug you note indirectly. Once you log out
from ttyE0, you've nuked your /dev/console, even for the same X
session! Probably ttyaction should NOT be set up on a machine running

> In the default setup you have this line in your /etc/ttyaction file:
> ttyE0	*	chown ${USER}:tty /dev/console
> which will make the console now be owned by root.
> Now log out of your X session, and log back in again. If your /dev/console
> is owned by perry at this point, I would be glad to hear the trick.

This may be a separate bug. xdm should re-chown the console while you
log in. If it is not doing that, something is wrong.

> A simple workaround, of course, is to manually chown /dev/console and never
> log in on ttyE0 ;-) This does not work well for multi-user machines.

Perry E. Metzger