LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   How to get into GUI of Ubuntu? (https://www.linuxquestions.org/questions/linux-newbie-8/how-to-get-into-gui-of-ubuntu-771948/)

bharathp 11-27-2009 11:08 AM

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.


Currently
Code:

beagle login:
password:
bp@beagle:~$

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?

TiA

Lordandmaker 11-27-2009 11:11 AM

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
Code:

/etc/init.d/gdm start
Should start X for you. If that doesn't, we need to fix that before making it automatic.

jens 11-27-2009 12:11 PM

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).

imagine_me2 11-28-2009 05:27 AM

Open /etc/inittab file, use (as superuser)

$vi /etc/inittab

find a line that says:

id:X:initdefault:

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

Save , Exit, Reboot.


Regards.

malekmustaq 11-28-2009 06:06 AM

bharathp,

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.

jstrunk 12-04-2009 02:49 PM

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


All times are GMT -5. The time now is 05:09 AM.