Gentoo Archives: gentoo-user

From: "Aleksandar L. Dimitrov" <aleks_d@×××.de>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Help me reboot X
Date: Mon, 04 Jun 2007 14:41:56
Message-Id: 20070604143548.GA16475@brmbr.sfs.uni-tuebingen.de
In Reply to: Re: [gentoo-user] Help me reboot X by Alex Schuster
1 On Mon, Jun 04, 2007 at 03:51:49AM +0200, Alex Schuster wrote:
2 > Kevin O'Gorman writes:
3 >
4 > > Can somebody help me stop and restart X? I'm using kdm for login.
5 >
6 > /etc/init.d/xdm restart
7
8 Well, yes. But be aware of the fact that - depending on the
9 configuration, this *might* not work when issued inside an X session
10 (via an xterm or similar) or may at least lead to... undefined behaviour
11 ;). But it is safe to issue from within a virtual terminal
12 ([Alt][F1-F6]).
13
14 A magic key combination is [Alt][Ctrl][Backspace]. This immediately
15 kills the X-Session (if it is not disabled in the xorg.conf) - GDM and
16 KDM will then restart right away (KDM will do that forever, GDM only
17 about 3 times) though Slim for example wouldn't.
18
19 Regards, Aleks
20 --
21 gentoo-user@g.o mailing list