How do I uninstall a GUI Gnome login system ( GDM ) from my CentOS Linux v5.5 based server?
Q. I’d like to keep same login screen for my school Linux desktop system lab. How do I create a custom gnome login screen or menu under CentOS or Ubuntu Linux desktop systems?
Q. How do I start or stop X.Org from a command prompt?
A. X.org is open-source implementation of the X11 system. It is an open source X11-based desktop infrastructure. Xorg provides an interface between your hardware and the graphical software you want to run. Besides that, Xorg is also fully network-aware, meaning you are able to run an application on one system while viewing it on a different one.
Start X.Org Server
There are two ways, just type startx:
Alternatively, run init script such as /etc/init.d/gdm
# /etc/init.d/gdm start
$ sudo /etc/init.d/gdm start
Ctrl+Alt+Backspace – to stop server
Press Ctrl+Alt+Backspace to immediately kill the server – no questions asked.
Agian, you can use init script to stop session:
# /etc/init.d/gdm stop
$ sudo /etc/init.d/gdm stop
Q. How do I change default desktop / display manager under CentOS or Fedora Linux? I’d like to change default GNOME to KDE as desktop manager for all users.
A. There is a configuration file called /etc/sysconfig/desktop. This file defines default display manager and desktop name.
Display manager can be any one of the following:
[a] gnome (gdm)
[b] kde (kdm)
[c] xdm (xdm)
Desktop can be any one of the following
Change Desktop from Gnome to Kde
Open /etc/sysconfig/desktop file:
# vi /etc/sysconfig/desktop
Set DESKTOP variable to kde:
Save and close the file.
Now kde will be used for all users as desktop system. You can also accomplish this on a per-user basis by using the desktop switcher application from the extra preferences menu, or just type the command:
$ switchdesk kde
=> Quick way to switch from KDE to GNOME or viceversa
How do I vdir only directories under UNIX / Linux operating systems?