Tiny Core Extensions > TCE Q&A Forum

Can't run Xorg as user tc

(1/2) > >>

mikshaw:
I seem to have broken something again.
Using PPI system.
Installed Xorg, graphics-2.6.26, nvidia, and apparently all dependencies for these.
Xorg was extracted into /usr/local, graphics and nvidia are being loaded from tce directory.
bootlocal.sh creates /var/lib/xkb and /etc/X11 directories
I can startx as root, but nvidia doesn't seem to work (no splash, no acceleration).
When trying startx as tc, I get messages about not being able to connect to 0:0

After searching the forum, I see threads concerning Xorg.log, but this is not the issue here.

Juanito:
Is it that xorg needs to be suid root?

mikshaw:
That was the first thing I checked (and forgot to mention).
Also forgot to mention that Xorg did not produce any errors.  The errors I received were from applications meant to start from .xsession.  They couldn't open the display.  It is set up so that after the window manager closes, X closes.  At this point I can't be sure if X would eventually load if given more time, but it takes a few seconds between each command so I'm guessing not.  I'll try that out, though.

The only other thing I can think of at the moment that is not typical is that I'm using getty instead of rungetty (manual login with password) I'm not sure if this would have any effect.

I've been on cold medicine the last two days, so that's likely making it more difficult to think properly =o)

curaga:
I think it's because you started it as root first, and so .Xauthority is only root-writable, and thus user tc can't overwrite it. (HOME is set to /home/$USER as root too)

mikshaw:
I didn't first start it as root.  It failed as tc, then I tried "sudo startx" (tc's environment), which worked but had no hardware acceleration. I then deleted .Xauthority and tried again as tc using "nv" and it failed again.  My current .Xauthority file is owned by tc.  I did try once while logged in as root (root's environment) and it tried to use Xvesa instead of Xorg.  For some reason I can't remember what the result of that was.

I wonder if using a startx script from Xorg would produce better results.  I can't see why it would, but it might be worth a try.

I'm in DSL at the moment, but I'll be getting back to TC shortly.  I'm taking garlic for my cold now instead of medicine, so my head's not as cloudy =o)

Navigation

[0] Message Index

[#] Next page

Go to full version