Tiny Core Extensions > TCE Q&A Forum

[SOLVED] Xorg.tcz Fatal server error -- can't open /var/log/Xorg.0.log

(1/3) > >>

kagashe:
Since I am having 640x480x16 only on Xvesa I was using Xorg.tce till now and it was working well.

To compare the memory requirement with Xorg.tcz I downloaded it and replaced tce package with tcz with dependencies (openssl and graphics) and tried to boot.

It is giving fatal xsever error:
Can't open /var/log/Xorg.0.log

kagashe

Juanito:
If you take Xorg-7.4.tce and edit out all the drivers (and Xvesa, Xfbdev?) you don't need, you can significantly reduce the size of the extension.

In doing the above I reduced the size to 10.5MB for the tce and 12MB for the tcz. These sizes include the large intel drm drivers, if you don't use drm, you could probably drop another 1-2MB

BTW, the "Can't open /var/log/Xorg.o.log" is possibly because "set uid" became unset in the tcz conversion - does "ls -l /usr/local/bin/Xorg" show an "s" in there somewhere?

kagashe:

--- Quote from: Juanito on December 11, 2008, 04:05:55 AM ---BTW, the "Can't open /var/log/Xorg.o.log" is possibly because "set uid" became unset in the tcz conversion - does "ls -l /usr/local/bin/Xorg" show an "s" in there somewhere?

--- End quote ---
$ ls -l /usr/local/bin/Xorg
lrwxrwxrwx   1   root  root  /usr/local/bin/Xorg  -> /tmp/tcloop/Xorg-7.4/usr/local/bin/Xorg

kagashe

Juanito:
OK so set uid is not set in the tcz - as a quick experiment, you could try this:
--- Code: --- $ sudo chown -R tc:staff /var/log
--- End code ---
and then try startx again.

If this works/otherwise you could try loading Xorg-7.4.tce, check Xorg has set uid set and, if so, rebuild the tcz

kagashe:

--- Quote from: Juanito on December 11, 2008, 04:46:26 AM ---OK so set uid is not set in the tcz - as a quick experiment, you could try this:
--- Code: --- $ sudo chown -R tc:staff /var/log
--- End code ---
and then try startx again.

If this works/otherwise you could try loading Xorg-7.4.tce, check Xorg has set uid set and, if so, rebuild the tcz

--- End quote ---
It results into another fatal xserver error:
$ sudo chown -R tc:staff /var/log
$ startx
xf86OpenConsole: Cannot open virtual console 2 (Permission denied)

kagashe

Navigation

[0] Message Index

[#] Next page

Go to full version