FedoraThis forum is for the discussion of the Fedora Project.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I have just installed FC4 on an Acer 1690 notebook, and have just done some tweaking on xorg.conf to try to get my resolution to display at the proper resolution 1280x800. I am doing this using a program called 915resolution, and the program needs to be run before the x server starts. I would like to put this in a bootscript, but don't know how to create a bootscript in FC4. Thank you for your help!
You could have simply tweaked your resolution manually in /etc/X11/xorg.conf or using system-gonfig-display. There is no need to use a 3rd party app especially one that has to run at bootup.
I've tried that, it doesn't work. My xorg.conf is configured for 1280x800 right now, but it's simply not supported.
I know it's in /etc/init.d/, but I don't know what file to modify, or if I should create a new one...
From 915resolution's website:
915resolution is a tool to modify the video BIOS of the 800 and 900 series Intel graphics chipsets. This includes the 845G, 855G, and 865G chipsets, as well as 915G, 915GM, and 945G chipsets. This modification is neccessary to allow the display of certain graphics resolutions for an Xorg or XFree86 graphics server.
915resolution's modifications of the BIOS are transient. There is no risk of permanent modification of the BIOS. This also means that 915resolution must be run every time the computer boots inorder for it's changes to take effect.
I had a simular problem, but I managed to get it working like this:
(be sure to make a backup of xorg.conf, just in case)
In xorg.conf, delete the line that says: "Load DRI"
Than add your resolution at the appropriate place.
Reboot, or restart X
Done.
No need for third party apps.
Somewhere out there is web page explaining this problem (that's where I got this info) but I forgot to add it to my bookmarks and now I can't find it anymore
What is started at boottime, depends on the runlevel. In RH8, the gui is started if the runlevel in /etc/inittab is set to 5.
There is an associated directory /etc/rc5.d (similar for runlevel 3, there's a directory /etc/rc3.d).
In that directory you will find files starting with S and with K. Those are symbolic links to scripts in /etc/init.d. Anything with a K will be killed when the runlevel is entered, anything with an S will be started.
The programs will be killed/started in alpha-numerical order, so S99webmin will be started after S98wine.
The official way to start something is to create a script in /etc/init.d that starts the required program with its parameters and create the symbolic link Snnname in the runlevel at which you want it to be started. If it's just a simple thing without parameters, you can create a symlink to the program directly (this should work, but I've never used it).
I think (but I'm not sure) that x is only started after all other stuff in rc5.d is done, so a link called S99setup915 can be used.
Last edited by Wim Sturkenboom; 01-13-2006 at 05:31 AM.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.