gdm doesn't start X, startx does.

Asked by Uqbar

I just installed XUbuntu 7.10 on a HP NC6000 laptop.
After the boot X (and xfce) doesn't start. If I try:
sudo /etc/init.d/gdm start
I get a [fail] message.
But if I run
sudo startx
The X server will start but as root user (of course).
How can I fix this?
Thanks

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Solved by:
Bhavani Shankar
Solved:
Last query:
Last reply:
Revision history for this message
Best Bhavani Shankar (bhavi) said :
#1

Hello

Reconfiguring your xserver-xorg may help you.

To make a backup copy of your actual /etc/X11/xorg.conf type:

cd /etc/X11
sudo cp xorg.conf xorg.conf.bak

give your user password when requested, you don't see nothing when you type it, then press enter.

Then try to reconfigure your xserver-xorg

sudo dpkg-reconfigure xserver-xorg

answer to the simple questions, then restart the pc.

If something goes wrong you can restore the saved copy of your old configuration, open a terminal or login to a virtual terminal by pressing ctrl+alt+F2 and type:

cd /etc/X11
sudo cp xorg.conf.bak xorg.conf

and restart the pc, type:

sudo reboot

Hope it helps

Bhavani Shankar.

Revision history for this message
Uqbar (uqbar) said :
#2

Thanks Bhavani Shankar, that solved my question.