You are not logged in.
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
define "messed up"
Offline
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
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
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
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
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