Cannot get root display. Is X11 running and is your DISPLAY variable set?
#1
After a fresh install of hardy, updated vga driver using envy, installed latest XBMC via PPA (SVN), when I try to launch xbmc, I get the following error message:

Cannot get root display. Is X11 running and is your DISPLAY variable set?
CRITSEC[0x8bb5184]: Trying to enter destroyed section.
CRITSEC[0x8bb5184]: Some other thread trying to leave our critical section.

I have no idea, where I did it wrong. Does anybody have?

Thank you!
Reply
#2
Same with HARDY PPA and SVN PPA (daily builds) version as well Sad
Reply
#3
are you running it from SSH ? try running it directly from you HTPC.
HTPC + Mediaserver
E8400 - ABIT I-N73HD - 2GB DDR2 - 3.5TB - Geforce G210 - ANTEC FUSION V2 - Ubuntu 10.04 - XBMC-PVR

TV-Server
Ubuntu 10.04 - Tvheadend - Smargo Reader - Oscam Card Server - 2x PCI DVB-C
Reply
#4
No, I am trying directly from the HTPC
Reply
#5
olympia:

What happens if you type "xclock" from the same terminal you are attempting to invoke xbmc from?

If xclock also fails to open you are dealing with a more general linux problem than what is suitable for these forums...:confused2:
NOW: AppleTV+CrystalHD PREVIOUS: HTPC and XBOX (both loudly running XBMC)
Reply
#6
[email protected]:/usr/share/xbmc# xclock
Error: Can't open display:

Shocked
Reply
#7
Try not running it as root

Also, are you running this as a chroot?
Reply
#8
WOW, it is running, while not running as a root! Thank you! I would have never figured it out by myself. Interesting...

Earlier versions was running as root, I am pretty sure about that.
Reply
#9
If you want to run it as root, try export DISPLAY first:

export DISPLAY=:0.0
42.7% of all statistics are made up on the spot

Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.
Reply
#10
You DON'T want to run it as root.

Also, randomly throwing root access at "problems" is a very good way to get yourself in trouble. Best to find out what the real problem is.
Reply
#11
JackieBrown Wrote:Try not running it as root

Also, are you running this as a chroot?


sorry but im getting the same thing here on hardy. every now and then im thrown out to prompt and when i type exit it sort of restart xbmc and runs it but if i try to type xbmc at prompt i get the same feedback olympia stated at the beginning of this thread
Code:
Cannot get root display. Is X11 running and is your DISPLAY variable set?
CRITSEC[0x8bb5184]: Trying to enter destroyed section.
CRITSEC[0x8bb5184]: Some other thread trying to leave our critical section.

what do you mean by not running it as root?
Reply
#12
Actually if you when you get that error you hit ctl-altf7 you will see that xbmc is in fact running. Then if you check your xorg.log you will see (EE) error in there that is looking for and cannot find something to do with the xdriver you are running, I have seen this happen with the glx driver and not the actual NVIDIA downloaded driver. another thing, if you are dwnlding the glx driver from ubuntu make sure you specify the driver you want ie

sudo apt-get install nvidia-glx-177 or nvidia-glx-180 and if you have already installed the 180.22 driver from the NVIDIA site DO not try and install the glx overtop of it. You must run

sudo sh NVIDIA-Linux-x86-180.22-pkg1.run --uninstall first.

my command line above may not be correct I am going by memory but I am sure you know what line I mean.

you can also try this when you get that error

sudo nvidia-xconfig

and let it overwrite the current xorg file with a new one. Your old one will get backed up once you find the error you can change back.

Regards,

Dave
Reply
 
Thread Rating:
  • 0 Vote(s) - 0 Average



Logout Mark Read Team Forum Stats Members Help
Cannot get root display. Is X11 running and is your DISPLAY variable set?00