LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Restarting X Server (https://www.linuxquestions.org/questions/linux-newbie-8/restarting-x-server-170677/)

unwrittenLaww 04-15-2004 05:25 PM

Restarting X Server
 
How do I restart the X server in RHEL 3.0?

Thanks

trickykid 04-15-2004 05:30 PM

A ctrl-alt-backspace usually does the trick.

unwrittenLaww 04-15-2004 05:33 PM

Thanks. I still can't get the right resolution though. If I change the display settings via the gui, it asks to restart the X server and log out. Which Ctrl+Alt Backspace does, but the screen resolution stays the same...

trickykid 04-15-2004 05:52 PM

Try changing the default resolutions logged out of X from your XF86Config file and then startx to test it.

unwrittenLaww 04-15-2004 06:02 PM

Ok, I edited XF86Config and added 1280x1024 to the line for resolutions. I know the video card and monitor can handle this resolution. But when I save the changes to the file and logout, log back in...its still at 800x600..

chii-chan 04-15-2004 07:46 PM

ctrl-alt-plus/minus. And can you give us the XF86Config?

JrLz 04-16-2004 08:42 AM

you have to restart X , logout only doesn't help

unwrittenLaww 04-20-2004 11:49 AM

I thought I restarted the X server by doing ctrl+alt+backspace? How do I restart it from the command line? I tried to find it in X --info, but no luck...

I can't cut and paste XF86Config, because the problem is on a different computer. But it looks correct according to the examples I've seen, and I only added the "1280x1024" option to the "Modes" line. The rest of the file is untouched from a clean install.

javierj 04-20-2004 11:59 AM

start in runlevel 2 and then configure the xf86config, and then do init 5 and see if it works,

unwrittenLaww 04-20-2004 12:01 PM

Ok, could you give me a quick description of how to do that? And what does 'runlevel' and 'init' actually do? Sorry for the newb questions..

javierj 04-20-2004 12:27 PM

when lilo or grub starts, they give you options, runlevel 2, its only text mode, like command-prompt in windows, and init makes you change from a certain runlevel to another, if you start in runlevel 2, (probably when lilo start, it has a little textbox, just put a 2 ) it will start as i already said,
in text mode, change the xf86 and then do init 5 and it will change to runlevel 5 (graphic mode, ) if u want to know more, try a google search about run levels, i believe there are 6 or something like that

unwrittenLaww 04-20-2004 01:34 PM

ok, i'll try that..thanks


All times are GMT -5. The time now is 07:22 PM.