Solved

stop and restart the xserver.

Posted on 2006-07-06
8
1,478 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Introduction We as admins face situation where we need to redirect websites to another. This may be required as a part of an upgrade keeping the old URL but website should be served from new URL. This document would brief you on different ways ca…
In the first part of this tutorial we will cover the prerequisites for installing SQL Server vNext on Linux.
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.

696 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