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
- /etc/init.d/gdm restart
- ctrl+alt+backspace
- switch to tty and restart
all those options force my session to end.
Any suggestions?
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, usestartxagain, 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.