Solved

stop and restart the xserver.

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

Title # Comments Views Activity
gdb doesn't stop on breakpoint 2 51
route 2 traffic streams on single NIC 6 37
File and print server with Ubuntu? 7 27
Use CRON to save a copy of an open file 1 23
It’s 2016. Password authentication should be dead — or at least close to dying. But, unfortunately, it has not traversed Quagga stage yet. Using password authentication is like laundering hotel guest linens with a washboard — it’s Passé.
Fine Tune your automatic Updates for Ubuntu / Debian
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 navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…

863 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

20 Experts available now in Live!

Get 1:1 Help Now