stop & start GUI on UBUNTU
*GNOME desktop
If you are using GNOME:
sudo /etc/init.d/gdm stop
Again to start GNOME desktop:
sudo /etc/init.d/gdm start
*KDE desktop
sudo /etc/init.d/kdm stop
sudo /etc/init.d/kdm start
you can use the init command to go immediately into runlevel 1, which is also known as single user text mode. Open terminal and type the following command:
sudo init 1
Again get back to GUI Mode with init 2 command:
sudo init 2
note:
runlevel 1 was single user, 3 was multi-user and 5 was GUI.
sudo telinit 3
more help here->http://theos.in/news/ubuntu-linux-shutdown-the-x-server/
Nhận xét
Đăng nhận xét