Problem with XFree86


Forum: System
Topic: Problem with XFree86
started by: Breadman

Posted by Breadman on Jan. 24 2006,13:24
Installing XFree86 causes no problems. Only if I reboot the system I get the following errors:

/home/dsl/.xserverrc: line1: usr/X11R6/bin/XFree86: no such file or directory
/home/dsl/.xserverrc: line1: exec usr/X11R6/bin/XFree86: cannot  execute: no such file or directory

When I install XFree86.dsl as explained in  the info-file, it is copied to /ramdisk/usr/X11R6.... During shut down a backup is performed and ramdisk erased.

Aren't those files backup'd as well? At my system obviously not. Does anyone know help?

Thanks in advance!

Breadman
< www.bread-n-linux.de.vu >

Posted by mikshaw on Jan. 24 2006,13:37
Applications are not backed up.  Backup/restore is mainly for personal data and configuration files.
Adding myDSL packages to a backup is nearly pointless, since DSL can automatically install them at boot.  If you don't know the process you should read the faq, the "Getting started with DSL" page that appears on every successful X session, and consider looking through the DSL wiki.

Posted by Breadman on Jan. 24 2006,21:57
ok, seems plausible.

Xfree is now installed at Startup. But, unfortunately it does not start. Xvesa starts automaticaly as if Xfree86 was not there.
Why?
All necessary files are put in the correct folders (Xfreeconfig and Xfree itself) but the xserverrc does link to Xvesa.

Normaly (and I've experienced it, though) the .xserverrc is backup'd. So changes i made are restored during booting and after the installation of myDSL- extensions.
So the /usr/X11R6/XFree86 should already exist...

Why does the xserverrc link to the "wrong" X-Server?

Posted by roberts on Jan. 24 2006,22:44
This is an extension. This is being moved to the appropriate area.
It should be discussed in the extension area of the board.
When in doubt, look at the section of the repositiory
from which it was downloaded. In this case System.
Posted by Breadman on Jan. 25 2006,17:14
Maybe the problem lies here:

I'm having 2 USB-devices at one usb- hub. On the one i have my DSL and on the other all extensions i only need at home. When booting i give the following propmt:

dsl mydsl=sda2

so myDSL extensions should be booted from sda2. the problem is that sometimes my DSL-device is sda2, sometimes sda1.

The problem seems not to be the software but my hardware. I guess i have to find a USB-hub which does not change the USB-ports at every boot.

so far with this!
Breadman

Posted by mikshaw on Jan. 25 2006,19:25
This is just a guess...I have NO IDEA if it will work...

Try putting in just one drive, and then put in the other when it begins to boot (before it rescans USB, i assume).  Just a thought.

Posted by cbagger01 on Jan. 26 2006,05:34
FYI,

USB scanning is usually done in a progressive order.

1) Root Hub (Primary USB ports, usually rear ports 1 and 2)
2) Internal Hub (Secondary USB ports, usually rear ports 3-6 and front ports)
3) External Hubs

So if you want one device to be detected first and the other second, use this knowledge to steer the detection process.

If you don't want to plug them directly into the rear ports, you can always buy a 2nd hub and daisy chain them...

PC Case-----First Hub------First USB drive sda1
                             |
                             |
                  Second Hub-----Second USB drive sda2

Try it and see if it works.

Posted by starcannon on Jan. 26 2006,22:01
I had similar XFree86 problem, I solved it by chown 777 on the XF86Config file in /etc/X11 not sure if this is whats wrong or not, but one thing i'm learning is more than half the time my errors are caused by file permissions.

GL
Rob

Posted by mikshaw on Jan. 26 2006,23:15
Not to belittle you at all, but that's a really BAD idea.  When you chmod 777 you give read, write, and execute permission to EVERYONE.  The only files i can think of that should be 777 are symlinks and a couple subdirectories in /var (tmp and mail/you...maybe one or two others).
Rather than looking at file permissions as being the problem, i'd look instead at what you're trying to do, and what user you are....many things are just not intended to be done as a regular user.  Unless there is a problem you caused yourself (such as copying files from a fat drive or doing a shoddy remaster), most files in the DSL base system are correctly chmodded already.

Posted by Breadman on Jan. 30 2006,11:25
Quote (cbagger01 @ Jan. 26 2006,00:34)

@cbagger01:

Quote
If you don't want to plug them directly into the rear ports, you can always buy a 2nd hub and daisy chain them...

PC Case-----First Hub------First USB drive sda1
                             |
                             |
                  Second Hub-----Second USB drive sda2

Try it and see if it works.


Actually this works fine.

But every good (at least not bad) USB-HUB has got fixed ports.  
So I could get rid of my bad one and replaced it.

Next thing is, that I have got a stupid mainboard! I only have got 2 USB-ports. One is used for DSL and i put it inside the case. so there is no chance to plug in a printer or scanner or stuff.
So if I use a second USB-hub in my other port the mainboard gives priority (USB-1) to the USB-hub which has more devices in it.  Reponse from the manufactorer: "You can't do anything against it. at this time it was unusual to have more than 2 USB-devices!"


Nevertheless, thanks for your help.....so I'm gonna use the printer and scanner as network scanner on my Router ;)

Breadman
< www.bread-n-linux.de.vu >

Posted by Red04Bull on Jan. 30 2006,13:06
this should help you out

< try this >

Posted by starcannon on Feb. 06 2006,09:20
Quote (mikshaw @ Jan. 26 2006,18:15)
Not to belittle you at all, but that's a really BAD idea.  When you chmod 777 you give read, write, and execute permission to EVERYONE.  The only files i can think of that should be 777 are symlinks and a couple subdirectories in /var (tmp and mail/you...maybe one or two others).
Rather than looking at file permissions as being the problem, i'd look instead at what you're trying to do, and what user you are....many things are just not intended to be done as a regular user.  Unless there is a problem you caused yourself (such as copying files from a fat drive or doing a shoddy remaster), most files in the DSL base system are correctly chmodded already.

can set it up as read only access then, I mess with my config files alot so i leave them open most times, but your right about keeping things locked down, and truely the file only needs read permissions.

your advice is always valued and i never feel put down, I've learned about 80% of what i know from your posts Mikshaw :) and look forward to reading through many more of them.
chmod 555 or chown 555 would be a better solution. for security and stabilty concerns.
i had to add XF86Config to my system as it wasn't a base install. anyway i had similar problems and simple permissions setting fixed it up for me.

Powered by Ikonboard 3.1.2a
Ikonboard © 2001 Jarvis Entertainment Group, Inc.