View Full Version : [ubuntu] Starting Gnome from a shell
April 24th, 2008, 04:00 AM
I travel a lot, but keep in touch with my Ubuntu machines via putty and vncserver. Occasionally I have to reboot, or restart Gnome. So, when I do that I lose my connection and can reconnect to a shell. However, Gnome has not started as I'm not at home to log in. How do I get X and Gnome up from a shell???
Thanks in advance,
April 24th, 2008, 04:14 AM
April 24th, 2008, 04:15 AM
If X is already running in your computer then you can simply start the vncserver from the shell using the cmd $vncserver, then you can use vnc client to connect to your computer.
If gnome session or X is not started already then try the following command before starting vncserver
1) To start gnome
$ sudo gdm start
$ gnome-session& <<-- For this you need X to be running.
2)To start X
Powered by vBulletin® Version 4.2.2 Copyright © 2015 vBulletin Solutions, Inc. All rights reserved.