X and Fluxbox :: Reconfiguring X on Boot



Where is the X log in DSL? This distro is like learning the Martian language for me :).
Quote (curaga @ Sep. 04 2008,13:17)
What happens if you run it from the console (outside of X)? ie not startx, just Xtrident without any options.

If I run it as user 'dsl', I get ;
fatal server error
Linux Init: Server must be Suid root


If I run sudo or sudo su Xtrident I get;

_XSERVTransSocketOpenCOOTSServer: Unable to open socket for inet6
_XSERVTransOpen: transport open failed for inet6/box:0
_XSERVTransMakeAllCOTSServerListeners: failed to open listener for inet6

Doesn't this sound like a permissions mixup? But where?

So, you did get the X background and mouse as root?

I just got freaked I had forgotten the suid bits off Xtrident, but they are there in the package.
How is your persistent opt set up? Somehow the suid bits have come off after installing Xtrident.

To restore them: "sudo chmod +s /opt/bin/Xtrident"
After that it should work as user dsl and with normal startx.

Edit: There is no X log. TinyX servers don't create one, only "full" X does.

Quote (curaga @ Sep. 04 2008,15:03)
So, you did get the X background and mouse as root?

How is your persistent opt set up? Somehow the suid bits have come off after installing Xtrident.

Thanks for the reply. I changed suid per your command and startx yields the same errors.

Xtrident as dsl user returns;

Fatal server error
LinuxInit: Server must be suid root

Xtrident as root returns the same errors (I found they are harmless IPV6 errors) but then it just hangs. No errors. I can Ctrl -C out of it back to the command line, and I get "X server terminated by an interrupt issue. Alt consoles don't reveal any errors.

Persistent opt...well all I did was what I posted earlier;

Quote
The other bit of information that I can think of that may be pertinent is that I setup 3 partitions for the frugal install per this guide;
http://www.damnsmalllinux.org/f/topic-3-26-8732-0.html

hda1 is for the image
hda2 is swap
hda3 is /home and /opt


In menu.lst I added home=hda3, opt=hda3, mydsl=hda3

Do I need to do something else?

Edit: I'll tell you what's interesting, on a normal boot I see the message "Entering run level 5 Xtrident". How do I tell if it's actually running? This is still with Fbdev in .xserverrc.

Quote
Xtrident as root returns the same errors (I found they are harmless IPV6 errors) but then it just hangs. No errors. I can Ctrl -C out of it back to the command line, and I get "X server terminated by an interrupt issue. Alt consoles don't reveal any errors.
Maybe you need to manually switch to it (i.e. ctrl+alt+F2 )?  FYI, passing "-nolisten tcp" should get rid of those warnings.

Perhaps you could try not using a persistent opt, or maybe just place the binary in /usr/X11R6/bin (or /usr/bin maybe).  Make sure the setuid bit is set.  If there are still problems, what are the permissions on the file? (you could use `ls -l /path/to/Xtrident `)

Next Page...
original here.