Tiny Core Extensions > TCE Q&A Forum
Xorg.tce ok as /tce but on /tclocal Can't open /var/log/Xorg.0.log message.
kagashe:
I am trying Xorg.tce on /tclocal and it is giving:
Fatal server error:
Can't open /var/log/Xorg.0.log
although it works on /tce.
I tried "sudo chown -R tc:staff /var/log" it fails on next step:
Fatal server error:
xf86EnableTOPorts: failed to set IOPL for I/O (Operation not permitted).
$ cd /usr/local/bin
$ ls -l | grep Xorg
-rwsr-xr-x 1 root root Xorg
I also tried adding +w to tc and others same error.
I think for using Xorg on /tclocal some thing else needs to be changed.
kagashe
mikshaw:
Some tce applications apparently don't install everything into /usr/local. If you install the application you get everything, but if you try to use it with /tclocal you lose whatever was not in /usr/local. That might have something to do with your trouble, but just guessing.
kagashe:
--- Quote from: mikshaw on December 17, 2008, 08:10:11 AM ---Some tce applications apparently don't install everything into /usr/local. If you install the application you get everything, but if you try to use it with /tclocal you lose whatever was not in /usr/local. That might have something to do with your trouble, but just guessing.
--- End quote ---
I can see that /tclocal is a sort of hard disk install and /tclocal is getting mounted at /usr/local. I know that xorg.conf is not present in /tclocal but I have put it in .filetool.lst and it is getting loaded and Xorg is using it (from Xorg.0.log). In addition graphics-2.6.26.tcem is not getting installed on /tclocal and I am installing it on every boot before trying Xorg on /tclocal.
If you look at the error:
--- Quote ---xf86EnableIOPorts: failed to set IOPL for I/O (Operation not permitted).
--- End quote ---
It is saying "not permitted" and not saying "not found".
kagashe
kagashe:
Attaching Xorg.0.log
kagashe
Juanito:
--- Quote ---I tried "sudo chown -R tc:staff /var/log" it fails on next step
--- End quote ---
BTW - I only suggested this as a quick and dirty means to check if Xorg was suid, I was not at all suggesting it as any kind of standard procedure (just in case that was not clear).
--- Quote ---$ cd /usr/local/bin
$ ls -l | grep Xorg
-rwsr-xr-x 1 root root Xorg
--- End quote ---
This shows that /usr/local/bin/Xorg is suid, but if the quick and dirty trick above got rid of the Xorg.0.log error then it seems "startx" is using a version of Xorg that is somewhere other than /usr/local/bin and not suid??
If you try this, what do you get:
--- Code: ---$ which Xorg
--- End code ---
Navigation
[0] Message Index
[#] Next page
Go to full version