|
|
||
Restart the X Server from the KDM Login Manager© Copyright Darrell Anderson. The GNU/Linux kernel is well known for its stability, but the same cannot be said for the X graphical environment and KDE. Occasionally users need to restart the X server but do not want to reboot. Many users boot into X and KDE at runlevel 4, which means exiting a KDE session does not return the user to the command line. Instead users return to the KDM (K Display Manager) login manager. Many users are aware that pressing Ctrl-Alt-Backspace will restart the X server but this is a brute force method. Regardless, restarting X is possible from the KDM although not intuitively obvious. The first time the KDM is launched KDE creates a new kdmrc (/opt/kde/share/config/kdmrc/kdmrc) configuration file. By default the login manager uses the provided kdmrc.sample file to create the new kdmrc file. Unfortunately, the default configuration provides users no way to restart the X server from the KDM. To correct this problem, with root privileges, open the kdmrc configuration file with a text editor. Then add the following to the [X-:*-Greeter] section: [X-:*-Greeter]# Show the "Restart X Server" action in the greeter. AllowClose=true Save and exit the file. The next time users are greeted with the KDM, they should see an additional selection in the Menu drop-down options. The option also includes a hotkey of Alt-E. Finis. |
||