GUI

Clive Menzies clive at clivemenzies.co.uk
Wed Oct 25 22:05:26 UTC 2006


On (25/10/06 17:30), kbajwa wrote:
> I tried:
> 
> $ sudo aptitude install ubuntu-desktop
> 
> After that I re-booted the system. Again boot gets me to the command line
> (root at ubuntu:~#) but does not go to GUI.
> 
> I recall in CentOS or RH, after the initial install one use the 'startx'
> command. Then modify /etc/inittab and change the 'runlevel' to '3' and then
> re-boot the system. It startx the GUI.
> 
> FYI, I am using a:
> 
> Shuttle MN31N Motherboard with built in nForce 2 IGP Graphic Accelerator
> (also integrated Geforce MX GPU).
> 
> Any other suggestion?

OK at the command line type:

$ startx

it is likely to fail to start a gui environment but it will show in the
log where the problem lies:

$ less /var/log/Xorg.0.log

look for the lines that start (EE)

this will indicate where the problem lies.  It could be that X (the gui
environment) isn't recognising something .... could be a graphics
driver, mouse or something.  To reconfigure the offending item do:


$ sudo dpkg-reconfigure xserver-xorg

you will be taken through a series of screens where you will be able to
change settings for the offending item.

I just noticed you say your command line is root at ubuntu:~# ..... did you
set up yourself as a user?  You can't run a GUI environment as root -
it's a very unsafe thing to do and that may be your problem.  To set up
a user:

# adduser kirt

Regards

Clive

-- 
www.clivemenzies.co.uk ...
...strategies for business





More information about the ubuntu-users mailing list