Search Members Help

» Welcome Guest
[ Log In :: Register ]

Mini-ITX Boards Sale, Fanless BareBones Mini-ITX, Bootable 1G DSL USBs, 533MHz Fanless PC <-- SALE $200 each!
Get The Official Damn Small Linux Book. DSL Market , Great VPS hosting provided by Tektonic
Pages: (7) </ 1 2 3 4 5 [6] 7 >/

[ Track this topic :: Email this topic :: Print this topic ]

reply to topic new topic new poll
Topic: Reconfiguring X on Boot< Next Oldest | Next Newest >
Harryc Offline





Group: Members
Posts: 29
Joined: July 2005
Posted: Sep. 04 2008,13:47 QUOTE

Where is the X log in DSL? This distro is like learning the Martian language for me :).
Back to top
Profile PM 
Harryc Offline





Group: Members
Posts: 29
Joined: July 2005
Posted: Sep. 04 2008,14:04 QUOTE

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?
Back to top
Profile PM 
curaga Offline





Group: Members
Posts: 2163
Joined: Feb. 2007
Posted: Sep. 04 2008,15:03 QUOTE

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.


--------------
There's no such thing as life. Those mean little jocks invented it ;)
-
Windows is not a virus. A virus does something!
Back to top
Profile PM 
Harryc Offline





Group: Members
Posts: 29
Joined: July 2005
Posted: Sep. 04 2008,15:32 QUOTE

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.
Back to top
Profile PM 
^thehatsrule^ Offline





Group: Members
Posts: 3275
Joined: July 2006
Posted: Sep. 04 2008,16:28 QUOTE

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 `)
Back to top
Profile PM 
34 replies since Sep. 01 2008,19:38 < Next Oldest | Next Newest >

[ Track this topic :: Email this topic :: Print this topic ]

Pages: (7) </ 1 2 3 4 5 [6] 7 >/
reply to topic new topic new poll
Quick Reply: Reconfiguring X on Boot

Do you wish to enable your signature for this post?
Do you wish to enable emoticons for this post?
Track this topic
View All Emoticons
View iB Code