You are not logged in.

#1 2011-01-04 06:37:50

fizk-jnk
Member
Registered: 2010-09-03
Posts: 22

Problems with X server

I am trying to stop X so I can switch between vga's with vgaswitcheroo (still experimenting)
so I use the command :
sudo /etc/rc.d/lxdm stop
supposedly to stop X , but every time I do so X starts consuming 100% cpu and if I start lxdm again X hangs. sad

Am I doing something wrong ? ie is there another way to stop X ?

Offline

#2 2011-01-04 06:56:08

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,424
Website

Re: Problems with X server

You can stop X with

# pkill X

as per https://wiki.archlinux.org/index.php/Be … nvironment

Or you can set up Ctrl-Alt-Backspace to do it for you

https://wiki.archlinux.org/index.php/Xo … n.27t_work


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#3 2011-01-04 08:00:21

fizk-jnk
Member
Registered: 2010-09-03
Posts: 22

Re: Problems with X server

hmm strange not even pkill gets the job done....

pstree looks like that :
...
├─lxdm-binary─┬─X
│                     └─awesome
...
so if I try pkill X, both xdm-binary and X start using 100cpu
similiar result when I try /etc/rc.d/lxdm stop

the bad thing is that I am trying to write a bash script to switch X off and manage the gpu's, but I will try the ctr+alt+backspace and see what happens...

btw thanks for the wiki on Xorg, seems like I somehow missed that one smile

Offline

Board footer

Powered by FluxBB