Solved

stop and restart the xserver.

Posted on 2006-07-06
8
1,473 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

Ransomware-A Revenue Bonanza for Service Providers

Ransomware – malware that gets on your customers’ computers, encrypts their data, and extorts a hefty ransom for the decryption keys – is a surging new threat.  The purpose of this eBook is to educate the reader about ransomware attacks.

Question has a verified solution.

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

Suggested Solutions

In my business, I use the LTS (Long Term Support) versions of Linux. My workstations do real work, and so I rarely have the patience to deal with silly problems caused by an upgraded kernel that had experimental software on it to begin with from a r…
Google Drive is extremely cheap offsite storage, and it's even possible to get extra storage for free for two years.  You can use the free account 15GB, and if you have an Android device..when you install Google Drive for the first time it will give…
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
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…

816 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

Need Help in Real-Time?

Connect with top rated Experts

8 Experts available now in Live!

Get 1:1 Help Now