You are not logged in.

#1 2010-11-28 10:06:37

blin
Member
From: Saint-Petersbur, Russia
Registered: 2010-10-31
Posts: 17

[SOLVED] X server doesn't start correctly: Connection to X server lost

I was trying to configure wine on my x64 system and suddenly X shutted down. There is nothing helpful in xinit output, only line "xinit: connection to X server lost". I've got nVidia GeForce 9800 GT, and i'm using nvidia driver. I tried using nouveau, nv and completely reinstalling system from scratch, but nothing helped, I still get the same error.
Here is my /etc/X11/xorg.conf.d/10-monitor : http://paste.pocoo.org/show/297106/
/var/log/Xorg.0.log : http://paste.pocoo.org/show/297107/
Please, help.

Last edited by blin (2010-12-05 08:22:50)


PS1='[$(date +%H:%M:%S) - \H] \n[$(pwd)]\$ '

Offline

#2 2010-11-28 14:53:27

Spacenick
Member
From: Germany
Registered: 2010-04-02
Posts: 168

Re: [SOLVED] X server doesn't start correctly: Connection to X server lost

Already tried without any xorg.conf? X should configure itself which tends to work perfectly with newer versions, at least most of the time.

Offline

#3 2010-11-28 21:17:19

blin
Member
From: Saint-Petersbur, Russia
Registered: 2010-10-31
Posts: 17

Re: [SOLVED] X server doesn't start correctly: Connection to X server lost

Here is xorg.log when starting with xorg.conf.d directory empty : http://paste.pocoo.org/show/297322/
Everything the same.

Last edited by blin (2010-11-30 19:15:07)


PS1='[$(date +%H:%M:%S) - \H] \n[$(pwd)]\$ '

Offline

#4 2010-11-30 19:32:07

blin
Member
From: Saint-Petersbur, Russia
Registered: 2010-10-31
Posts: 17

Re: [SOLVED] X server doesn't start correctly: Connection to X server lost

Is there something I can do to better understand the problem and fix it?
I am sure that everything is fine with video card, because Xorg 1.9.0 runs fine on ubuntu liveUSB.
Should I use gdb, or is there something simpler that can be done?


PS1='[$(date +%H:%M:%S) - \H] \n[$(pwd)]\$ '

Offline

#5 2010-12-03 08:38:19

blin
Member
From: Saint-Petersbur, Russia
Registered: 2010-10-31
Posts: 17

Re: [SOLVED] X server doesn't start correctly: Connection to X server lost

After some experimentation I've found that I can start X as root.

Here is Xorg.log as i run X as root: http://paste.pocoo.org/show/299430/
And here is Xorg.log as i run X as normal user: http://paste.pocoo.org/show/299431/

The only difference that i can see is "Power Button: Close" when running as normal user. I think that there could be some relation to recent udev update.
Any ideas?


PS1='[$(date +%H:%M:%S) - \H] \n[$(pwd)]\$ '

Offline

#6 2010-12-03 08:51:30

delectate
Member
Registered: 2010-04-05
Posts: 16
Website

Re: [SOLVED] X server doesn't start correctly: Connection to X server lost

maybe you should reset your xorg.conf


oh,my pooooooor english  :'(

Offline

#7 2010-12-05 08:25:57

blin
Member
From: Saint-Petersbur, Russia
Registered: 2010-10-31
Posts: 17

Re: [SOLVED] X server doesn't start correctly: Connection to X server lost

Thanks to #archlinux the problem has been solved.
The original problem was with awesome. After udev update it stopped working. For debugging reasons i've commented all lines in .xinitrc, so there was nothing to lunch, and xorg had nothing to cling to. I was able to startx as root, because xorg read /etc/X11/xinit/xinitrc instead of .xinitrc.


PS1='[$(date +%H:%M:%S) - \H] \n[$(pwd)]\$ '

Offline

#8 2011-02-26 17:25:25

danilo
Member
From: Switzerland
Registered: 2010-12-10
Posts: 24
Website

Re: [SOLVED] X server doesn't start correctly: Connection to X server lost

So how did you fix it in the end? I have the same problem on a newly installed machine using Gnome. I can start X as root, but not as normal user.

Edit: Never mind, it was a gnome-session problem. It wasn't started correctly, so X simply quit without an error (as there was none).

Last edited by danilo (2011-02-26 18:24:30)


"Freedom is the freedom to say that two plus two make four. If that is granted, all else follows." - George Orwell

Offline

#9 2011-05-21 21:05:49

razieliyo
Member
Registered: 2011-05-21
Posts: 1

Re: [SOLVED] X server doesn't start correctly: Connection to X server lost

I've had the same problem. The solution for me was to add exec fluxbox so that the xorg server would execute some X manager. Other way, it would just end and won't start any X manager.

Offline

Board footer

Powered by FluxBB