Posts: 3,204
Joined: May 2008
Reputation:
107
olympia
Team-Kodi Member
Posts: 3,204
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!
Posts: 236
Joined: Nov 2007
Reputation:
0
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
Posts: 3,204
Joined: May 2008
Reputation:
107
olympia
Team-Kodi Member
Posts: 3,204
No, I am trying directly from the HTPC
Posts: 62
Joined: May 2008
Reputation:
0
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)
Posts: 231
Joined: Jan 2008
Reputation:
0
Try not running it as root
Also, are you running this as a chroot?
Posts: 3,204
Joined: May 2008
Reputation:
107
olympia
Team-Kodi Member
Posts: 3,204
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.
Posts: 3,555
Joined: Oct 2003
Reputation:
12
tslayer
Team-XBMC Developer
Posts: 3,555
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.
Posts: 4,997
Joined: May 2004
Reputation:
12
2008-07-07, 08:18
(This post was last modified: 2008-07-07, 08:37 by althekiller.)
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.
Posts: 795
Joined: Feb 2008
Reputation:
25
2009-01-22, 16:49
(This post was last modified: 2009-01-22, 17:01 by rodercot.)
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