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: (9) </ 1 2 3 4 [5] 6 7 8 9 >/

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

reply to topic new topic new poll
Topic: All the colors are off!, Incorrect color rendering with Xvesa< Next Oldest | Next Newest >
roberts Offline





Group: Members
Posts: 4983
Joined: Oct. 2003
Posted: July 25 2004,00:37 QUOTE

The base liveCD you cannot write there. There are many ways to extend the base liveCD and as such make other system directories writeable.

1. enable apt-get
2. use synaptic
3. install a .dsl extension, such as, gnu-utils
4. call the mkwriteable script /etc/init.d/mkwriteable

All of these have impacts on low ram systems. If you have 256MB or more, then not a problem.
Back to top
Profile PM WEB 
ke4nt1 Offline





Group: Members
Posts: 2329
Joined: Oct. 2003
Posted: July 25 2004,00:50 QUOTE

and sure enough, I have gnu-utils.dsl and dsl-dpkg.dsl installed by default.
They are in the root of my "mydsl" partition, which I load at boottime,
along with firefox and java..    Thanks, roberts....

73
ke4nt
Back to top
Profile PM 
cbagger01 Offline





Group: Members
Posts: 4264
Joined: Oct. 2003
Posted: July 25 2004,01:11 QUOTE

FYI,

It should make no difference where the Xi810 program is stored. You should be able to run it from your HOME directory as long as you specify the full path in the .xserverrc script.

However, the little "s" that are showing in the xvesa program permissions are important.  They mean that xvesa has 'suid' permission and Xi810 does not.

This means that you should try one of two things to test the Xi810 server:

(1) Start up Xwindows as user 'root'.  You can do thing by typing 'sudo startx' from the command prompt instead of 'startx'.

(2) Fix the permissions of the program file with something like:

chmod o+s,g+s Xi810

and then try 'startx' like normal.

HTH
Back to top
Profile PM 
RobF Offline





Group: Members
Posts: 22
Joined: July 2004
Posted: July 25 2004,04:33 QUOTE

In a bash shell, after issuing sudo su, I copied Xi810 from the floppy where it was root, root, -rwxrwxrwx, to /home/dsl.  Then issued "chmod o+s,g+s Xi810" which turned the permissions into root, root, -rwxrwsr-x.  Still needed suid for owner, so I tried "chmod 4711 Xi810" (see below) which turned the permissions into root, root, -rws--x--x.  Not good enough, wanted s for group, so I tried "chmod g+s Xi810 which gave me root, root, -rws--s--x.  That seemed close enough to the permissions for Xvesa (which are root, root, -rwsr-sr-x), and I left it at that.

Once more, edited .xserverrc by replacing Xvesa with /home/dsl/Xi810, killed X windows, typed startx, and got the following message with which the system hung:

waiting for xserver to begin accepting connections

..  ..  ..  ..  ..  ..  ..  ..   , time ticking away and no timeout in sight.  Once again, no luck.

Then I remembered that Xi810 now had su permissions, and I should have started X from a root prompt.  So, once more through the whole tedious sequence of edits and changes (all of which of course evaporate with RAM after every reboot necessitated by a crash).  This time, after restarting X as root, I was instantly thrown into the "DSL X Setup" box, asking me to choose between Xvesa and Xfbdev.  Again, no luck.

Wrt "chmod 4711", on the net, on a "kdrive resource page", I had found the following prescription:

Install the server [i.e. Xi810 or any other of a dozen different kdrive xservers, incl. Xvesa and Xfbdev] in /usr/X11R6/bin/ and then:

chmod 4711 (server)
ln -s (server) X
startx

Is it necessary to include that symlink?  Why isn't Xi810 working?

Robert
Back to top
Profile PM 
cbagger01 Offline





Group: Members
Posts: 4264
Joined: Oct. 2003
Posted: July 25 2004,06:48 QUOTE

You shouldn't need to do the symlink if you change the .xserverrc file

xserverrc will directly call the program so the symlink is irrelevent.

It seems to me like you got close with your "waiting for xserver to begin accepting connections" message.

Maybe you need to set the suid bits

sudo chmod o+s Xi810
sudo chmod g+s Xi810
sudo chmod u+s Xi810
sudo chmod a+s Xi810

edit the .xserverrc file

and then type "startx"

Good Luck.
Back to top
Profile PM 
43 replies since July 17 2004,06:05 < Next Oldest | Next Newest >

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

Pages: (9) </ 1 2 3 4 [5] 6 7 8 9 >/
reply to topic new topic new poll
Quick Reply: All the colors are off!

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