Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 11-27-2009, 11:08 AM   #1
LQ Newbie
Registered: Nov 2009
Posts: 18

Rep: Reputation: 0
Talking How to get into GUI of Ubuntu?

Hi all,

I have ported Ubuntu 9.04 'XFCE' environment into Beagleboard [arch: ARM + DSP].
I'm getting the login command and I successfully login into it. But it doesn't continue to the desktop.

beagle login:
I want the GUI to show up instead of command line login and then the desktop.

What is the command for this to happen? and how to save this action so that the change is permanent?

Old 11-27-2009, 11:11 AM   #2
Registered: Sep 2005
Location: London, UK
Distribution: Debian
Posts: 258

Rep: Reputation: 39
Assuming your install is pretty similar to a 'standard' one (I don't see why it wouldn't be), have you installed xserver-xorg and a display manager (gdm is default for Ubuntu and XFCE, but there's also kdm and xdm)? It should come in by default as part of the install.
If so, as root
/etc/init.d/gdm start
Should start X for you. If that doesn't, we need to fix that before making it automatic.
Old 11-27-2009, 12:11 PM   #3
Senior Member
Registered: May 2004
Location: Belgium
Distribution: Debian, Slackware, Fedora
Posts: 1,465

Rep: Reputation: 299Reputation: 299Reputation: 299
Just use: startx

If it fails:
... post the error message + the last part from /var/log/Xorg.0.log (or /var/log/Xorg.0.log.old if you did a reboot).

Last edited by jens; 11-27-2009 at 12:28 PM.
Old 11-28-2009, 05:27 AM   #4
Registered: Nov 2009
Location: Kolkata, India
Distribution: Fedora 11
Posts: 136

Rep: Reputation: 22
Open /etc/inittab file, use (as superuser)

$vi /etc/inittab

find a line that says:


Replace X by 5 (or whatever you like,except 0).

Save , Exit, Reboot.

Old 11-28-2009, 06:06 AM   #5
Senior Member
Registered: Dec 2008
Location: root
Distribution: Slackware & BSD
Posts: 1,669

Rep: Reputation: 498Reputation: 498Reputation: 498Reputation: 498Reputation: 498

There are many ways to do that. As explained by our comrades above, so you do accordingly and you're on your way. If windows manager doesn't start after "startx" or "sudo init 4" or "sudo /etc/init.d/gdm start" as they have explained above, then you need to check and modify one permission. Do this:

user@host-/home/user--$ sudo chown username:usergroup ./.Xauthority

That sudo may not be necessary, but just apply it if in case the hidden file was originally owned by root, otherwise 'chown' command be refused. Change the 'username' to your username and 'usergroup' to your user group; separate them with a colon. NOTE: the dot (.) beside/before the X; there are two dots so copy it correctly.

To make sure it runs under your ownership just run this short command:

user@host-/home/user--$ chmod 750 ./.Xauthority

Then issue command 'startx' again or whichever of the above offered commands. You should be going then.

If you want to login to windows automatically, you will need to edit the inittab. Just BE CAREFUL, you should backup the inittab first, return here if you need more of this.

Hope this helps.

Good luck.
Old 12-04-2009, 02:49 PM   #6
LQ Newbie
Registered: Dec 2009
Posts: 1

Rep: Reputation: 0
Yeah im running into a similar problem where i need to enter the gui of my kubuntu 9.10.

Here is my error message... perhaps its a video card issue? does it not like dvi? doesn't make sense...

Fatal Server Error:
No Screen Found

Closing Log
No Such file or directory (errno 2): unable to connect to X server
No such process (errno 3): Server error


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
GUI - Ubuntu Server 8.10??? lightningrod66 Linux - Server 1 01-07-2009 10:19 PM
installing a gui onto ubuntu? JLevine Ubuntu 7 05-10-2007 11:20 AM
Ubuntu 5.10 GUI techresmgt Linux - Server 1 03-04-2007 04:44 PM
Ubuntu GUI Tsukasa7 Linux - Newbie 5 09-01-2005 02:10 PM
[Ubuntu GUI] Changing GUI from Gnome to wmaker MangaManiac Linux - Laptop and Netbook 8 05-08-2005 03:17 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 12:52 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration