Linux - HardwareThis forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?
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 did a clean install of Red Hat and it was super fast and easy - auto detected every peripheral in my system without any trouble, including the monitor I was using in the office.
Then I went home and plugged into my home monitor. The boot process seems ok - displays a bunch of text - but when it switches into graphic mode, the screen goes black.
I'm a good dos/Win user, but a total newbie to Linux. Any command line I can use to get the box to recognize the monitor?Also, Red Hat gives a bunch of command line options during boot up - like grub. Which should I use?
Unlike windows, linux won't automaticly detect your monitor, that I know of. The problem is that your using a resolution / color depth / hurtz that your monitor can't handle and it is shutting off.
You can hit ctrl+alt+f1 to go to a command line logon, log in as root, then run xf86config, it might be a diffrent command. That should start the reconfigure of x, you're going to need to know what video card you have and what resolutions, color depths and hurtz levels your monitor can do, and a few other things like the keyboard layout and mouse type, etc... Let me know if you run into problems. And I probably have that command wrong, if it dosn't work I can look it up when I get home.
that is not completely true linux is in many cases ble to use edid info from monitor, not always however. I have my config file set with a wide range for vsync and hsync then the resolutions I want and color depths, I load X and it goes to the resolution I specified, then uses max refresh rates it can. then again I also use slack with a ton of customsation hacks along with a gf4 (nvidia drivers) and dual 17" monitors that can do 1024x768@85hz and have resolutions past 1600x1200 (don't know how mcuh higher to hard to see anything)
I check my log file (/var/log/X*.log (Can't remeber name I use tab completion to much)) and it has about 4 pages (if printed) of frequencies and possible combinatiosn that it eather checks as exceptible or unexceptible based off of info from card/monitors.
hope that helps, also 2 more things:
1) try checking your log (/var/log/X------.log) you can use less /file | more to see it (replace /file with path to log)
2) avoid using gui/automatic utilities to configure X 70% of the people that get X working only make it work after ditching the auto utilities and graphical ones. try typing xf86config and manually entering data. (menu hat you scroll through and select options)
Any idea why permission would be denied to edit this file ?
FYI - I am the admin for this machine and there are no other users! I logged in just fine...
I found that my monitor runs at 50/60hz, and I believe I'll be able to update that information once I get permission to edit the file.
I'm also trying to learn what "level 3" means. I got there, but have no idea "where" I was...
1) you need to be root user (if you are any user other than root you can become root by typing: "su -" enter then entering password when it asks. then you can edit file
2) level 3, I think you mean runlevel as in: entering runlevel 3
there are 6 runlevels in linux
0: shutdown mode, scripts to turn off computer
1: first set of startup scripts and initilisation
2: second set fo startup scripts
3: User mode (login and do what you need)
4: unused in most distros and is generally a copy of #3, however in slackware it is graphical login mode
5: Most distros use this for graphical login mode, slack does not use it
6: restart computer, shutdown scripts then reboot
you can change the default you boot to by editing the /etc/inittab
do not change it to 0 or 6
just looked at your last post again:
[davejavu@localhost davejavu]$
you are not loged in as root, you are a user.
you need to do a su - then enter root password.
hopefully you remember what you ade the root password be
Once I get permission to edit the file, do I need to type any command in front of the file name, like "edit" or "type", or should I just be typing the file name?
wait, you arn't trying to execute the file are you? (run it) that would give a similar error.
use your favorite editor, vi, emacs, whatever (do not use eather if you do not know how, otherwise good luck closing eather one)
it is a config file
if all else fails see if you have midnight commander (type mc) then cd to the directory and select the file then hit f4, I do not recommend midnight commander as an editor as it is after all a shell, but it does have an editor and is newbie safe.
Thanks friends. I realized that I needed to invoke some sort of editor to edit the file, which turned out to be vi (which isn't really all THAT hard to use). Now my monitor is happy, and I have a GUI, so I am happy. Thanks to everyone on this post for providing direction. The world has one less Windows user.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.