You are not logged in.

#1 2010-09-10 22:49:43

splippity
Member
Registered: 2010-05-25
Posts: 144

restarting Xorg if the screen gets glitched out

Im trying to figure out how to restart X if my screen gets messed up.

I ran:  /etc/rc.d/kdm restart
and it would put me back to a login but screen was still messed up.

but the screens fine in ttyl. so how could I restart x?? I searched and found no arch wikis or anything that said how.

Is there a better way?? thanks.

Last edited by splippity (2010-09-10 22:54:11)

Offline

#2 2010-09-10 22:50:54

skunktrader
Member
From: Brisbane, Australia
Registered: 2010-02-14
Posts: 1,543

Re: restarting Xorg if the screen gets glitched out

define "messed up"

Online

#3 2010-09-10 22:53:44

splippity
Member
Registered: 2010-05-25
Posts: 144

Re: restarting Xorg if the screen gets glitched out

the screen goes "glitched" bunch of lines across everything ...... horizontal lines. hard to read stuff but I was messing around on the desktop still trying to figure out how to restart x.

but if I ctrl-alt-f1 all wording and everything is perfect.

I forgot to try and take a screen shot.

Offline

#4 2010-09-11 20:04:54

splippity
Member
Registered: 2010-05-25
Posts: 144

Re: restarting Xorg if the screen gets glitched out

anyone???
only thing I can think of is doing something like:
ps -A and kill x
thanks

Last edited by splippity (2010-09-11 20:06:53)

Offline

#5 2010-09-11 20:14:48

codycarey
Member
Registered: 2009-08-21
Posts: 154

Re: restarting Xorg if the screen gets glitched out

Option 1: Add the following to your .xinitrc to enable Ctrl+Alt-Backspace to restart X. Of course, you need to have setup your display manager to run automatically using inittab or rc.conf.

setxkbmap -option terminate:ctrl_alt_bksp

Option 2: Add the following to the InputClass section of your Xorg configuration.

Option  "XkbOptions" "terminate:ctrl_alt_bksp"

EDIT: Give us more details to help you isolate the real cause of the glitching as well. What is your hardware, what drivers are you using, etc.

Last edited by codycarey (2010-09-11 20:16:14)

Offline

#6 2010-09-11 20:30:16

splippity
Member
Registered: 2010-05-25
Posts: 144

Re: restarting Xorg if the screen gets glitched out

I have a nvidia geforce 8700m gt  running nvidia latest nvidia drivers (nvidia 256.53-1, nvidia-utils 256.53-1)

this has been happening for a while now. even with past drivers.

I took a screen shot when it happened and the screen shot came out nonglitched. I also just killed X itself and when it respawned it came back glitched again.

I have inittab set:

x:5:respawn:/usr/bin/kdm -nodaemon

my xinitrc looks wierd:

if which dbus-launch >/dev/null && test -z "$DBUS_SESSION_BUS_ADDRESS"; then
   eval "$(dbus-launch --sh-syntax --exit-with-session)"
fi
export GTK2_RC_FILES="$HOME/.gtkrc-2.0"
exec ck-launch-session openbox-session

so I edited it out.... and added just:

exec startkde

is that correct?????

Last edited by splippity (2010-09-11 20:33:58)

Offline

#7 2010-09-13 20:58:12

splippity
Member
Registered: 2010-05-25
Posts: 144

Re: restarting Xorg if the screen gets glitched out

trying a bump because its been a problem thats gone on for like a year and hoping to have some kind of solution.

thanks.

Offline

Board footer

Powered by FluxBB