Re: xdm and shutdown
Daniel Martin at cush wrote:
> "Jorge Daniel Ruckj" <email@example.com> writes:
> > Hi all.
> > How I do a shutdown if I use xdm?
> > Thanks
> Are you aware that even while using xdm one can press Ctrl-Alt-F1 to
> get to a text console? I find a surprising number of linux users
> unaware of this fact.
A lot of people are also unaware that typing 'Ctrl-r' from the xdm login screen
exits xdm. Note that xdm is not killed. This mapping is actually set up by the
resources for the server in /etc/X11/xdm/Xresources, resource
xlogin*login.translations. At least on my system I have:
<Key>F1: set-session-argument(failsafe) finish-field()\n\
Ctrl<Key>Return: set-session-argument(failsafe) finish-field()\n\
<Key>Return: set-session-argument() finish-field()
> >From the text console, you can do a shutdown as normal.
> A while ago (within the last two weeks, I think) someone posted some
> nice tcl/tk code that one could add to some of xdm's startup scripts
> to get a little "shutdown" button to appear on the xdm startup
> screen. I'll see if I can go dig it up...
Jens B. Jorgensen
To UNSUBSCRIBE, email to firstname.lastname@example.org
with a subject of "unsubscribe". Trouble? Contact email@example.com