LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 05-14-2004, 10:47 PM   #1
total_eclipse03
LQ Newbie
 
Registered: Mar 2004
Location: Alberta, Canada
Distribution: Redhat 9
Posts: 19

Rep: Reputation: 0
Restart X Server (Redhat 9)


I'm trying to change my screen resolution, but it tells me to logout and restart the X server. The logout I understand, but how do I restart the X server? I've tried restarting the computer, but it has no effect.
 
Old 05-15-2004, 12:58 AM   #2
adz
Senior Member
 
Registered: Jun 2003
Location: Sydney
Distribution: Debian, FreeBSD
Posts: 1,713

Rep: Reputation: 53
By logging out you should be restarting the X server automatically.
 
Old 05-15-2004, 02:44 AM   #3
scott_R
Member
 
Registered: Jul 2003
Location: Brighton, Michigan, USA
Distribution: Lots of distros in the past, now Linux Mint
Posts: 748

Rep: Reputation: 31
The hard way:

You can also hit <ctrl><alt><F1> and exit to a terminal. Login as root if necessary. Then run 'ps -A'

Look for your login program, typically gdm or kdm, type 'kill ####' (the process number you got from the ps command).

At the very least, this should reset gdm/kdm, but it might kill them outright. If it does, type 'kdm' or 'gdm' to start them back up. You should be good to go at that point.

An easier way is to logout, then hit <ctrl><alt><backspace> This should restart your X session.
 
Old 05-16-2004, 12:16 AM   #4
vectordrake
Senior Member
 
Registered: Nov 2003
Location: NB,Canada
Distribution: Something alpha or beta, binary or source...
Posts: 2,280
Blog Entries: 4

Rep: Reputation: 47
..or open a terminal window and "su" to root. Type "telinit 3" and it'll kill you down to a login prompt. Log in as root and type "telinit 5" and you'll be back in GUI land again. Ahh, the possibilities.....
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
X Server doesn't restart on logout Centinul Fedora 8 07-14-2005 06:53 PM
Automatically Restart Server?? flamesrock Linux - Software 4 08-07-2004 09:25 PM
No restart on a Dell 1u server korozion Linux - Hardware 0 07-20-2004 07:51 PM
Restart X server jbraum Linux - General 2 02-09-2004 01:01 PM
rebooted server but it didn't restart! ? tester Linux - Newbie 0 08-29-2001 05:51 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 04:10 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration