Solved

stop and restart the xserver.

Posted on 2006-07-06
8
1,475 Views
Last Modified: 2008-02-01
I am just new to linux. I am trying change the desktop size and its required to stop and start the xserver. which command will work to stop and restart the xserver.
0
Comment
Question by:ittechlab
8 Comments
 
LVL 20

Accepted Solution

by:
nedvis earned 25 total points
ID: 17056075
To restart ( unload form memory and reload) X server you just press
Ctrl  + Alt  +  Backspace  
keys all at the same time ( similar to Control Alt Delet in WIndows OS) .
Your screen will flicker couple times right after you've pressed those keys
which is the sign X server is restarting.

nedvis
0
 
LVL 27

Assisted Solution

by:Nopius
Nopius earned 25 total points
ID: 17056078
Also you may try Ctrl + Alt + gray +/-
to change your current screen  resolution without restarting xserver
0
 
LVL 88

Assisted Solution

by:rindi
rindi earned 25 total points
ID: 17056842
Or you could open a terminal as root and enter

init 3

which will stop your X, then when you want to restart it, use

init 5

or

X

or

startx
...
0
 
LVL 51

Assisted Solution

by:ahoffmann
ahoffmann earned 25 total points
ID: 17057018
which X server, that spawned by the user, or that spawned by root for the login screen?
first is Ctrl+Alt+Backspace, second is as user root:
  /etc/init.d/xdm stop && /etc/init.d/xdm
(xdm may be another name on your system)
0
 
LVL 7

Assisted Solution

by:computerfixins
computerfixins earned 25 total points
ID: 17063742
The hack way :P

ctrl-alt f1 open a virtual term, ps -wx |grep x

#kill -9 <pid>

#startx
0

Featured Post

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Little introduction about CP: CP is a command on linux that use to copy files and folder from one location to another location. Example usage of CP as follow: cp /myfoder /pathto/destination/folder/ cp abc.tar.gz /pathto/destination/folder/ab…
Linux users are sometimes dumbfounded by the severe lack of documentation on a topic. Sometimes, the documentation is copious, but other times, you end up with some obscure "it varies depending on your distribution" over and over when searching for …
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:

726 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question