Re: How to restart the X server under Debian?
Colin Finck <mailinglist@colinfinck.de>:
>
> I need to restart the X server (XFree86 4.3.0) under Debian Sarge with a
> script or program.
> On other Linux systems, I now that I can use "init 3" to terminate the X
> server and then use "startx" to start it again, but on my Debian system this
> does not work.
Other distros define a non-X runlevel in /etc/inittab. Debian, being
cautious and not wishing to fluster newbies doesn't, assuming if you
want that, you know what to do to get it: vi /etc/inittab
> Additionally I have no runlevel 5. On other Linux systems, this runlevel is
> used for a graphical X environment, but on Debian it simply does not exist.
> Is there a way to add this, because I want to autostart the X server after
> login.
If you're running GDM, KDM, XDM, ... just hit <CTRL><ALT><BackSpace>
and X will restart. If not, then do the same then type startx.
--
Any technology distinguishable from magic is insufficiently advanced.
(*) http://www.spots.ab.ca/~keeling Linux Counter #80292
- - Spammers! http://www.spots.ab.ca/~keeling/emails.html
http://www.ietf.org/rfc/rfc1855.txt
Reply to: