tags:

views:

34

answers:

1

Hi,

How can I restart gdm or the xserver without logging out? Sometimes, there is a freeze and I just need to redraw. It rarely happens but when it does. My only options are

  1. /etc/init.d/gdm restart
  2. ctrl+alt+backspace
  3. switch to tty and restart

all those options force my session to end.

Any suggestions?

Thanks

A: 

You can start at 3rd runlevel (or whichever is the multiuser without X one on Ubuntu) (set it in /etc/inittab) and then manually use startx, then when your xserver freezes, you only have to kill it, use startx again, but you don't have to log in, because you're already logged.

It still kills the session, but you don't have to log in again.

Alistra