Gentoo Archives: gentoo-user

From: "Håkon Alstadheim" <hakon@×××××××××××××××.no>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Question about xorg and a kill process
Date: Wed, 27 May 2009 14:22:42
Message-Id: 4A1D4CAF.80508@alstadheim.priv.no
In Reply to: Re: [gentoo-user] Question about xorg and a kill process by Daniel da Veiga
1 Daniel da Veiga wrote:
2 > On Wed, May 27, 2009 at 10:03, Dale <rdalek1967@×××××.com> wrote:
3 >
4 >> Hung Dang wrote:
5 >>
6 >>> I often use Ctrl+F1 to F6 to back to the command line and if your X is
7 >>> fine you can back the X screen using Ctrl+F7. Or if you want to kill
8 >>> your X then Ctrl+Alt+Backspace may be helpful.
9 >>>
10 >>> Hung
11 >>>
12 >>>
13 >>> Dale wrote:
14 >>>
15 >>>> I know the subject is a bit lacking but here goes. I'm thinking about
16 >>>> trying this xorg-server upgrade again. I been thinking about a way to
17 >>>> do this and not have to pull the plug on my rig if it fails, which I bet
18 >>>> it does. This is the command I am thinking about trying.
19 >>>> /etc/init.d/xdm start && sleep 5m && /etc/init.d/xdm stop
20 >>>>
21 >>>> I'm thinking this way. Start X first. If it fails, it will stop in 5
22 >>>> minutes and come back to a console. Think this will work? If xorg
23 >>>> works, I can switch back to a console and ctrl C the command and
24 >>>> carry on.
25 >>>>
26 >>>> Thoughts? Better ideas?
27 >>>>
28 >>>> Dale
29 >>>>
30 >>>> :-) :-)
31 >>>>
32 >>>>
33 >> That won't work because if xorg-server fails, my keyboard doesn't work
34 >> when I switch to X. If the keyboard doesn't work, I can't switch back
35 >> to anything or type anything.
36 >>
37 >> I done been through this one time. I'm trying to figure out how to get
38 >> back to console with a keyboard that doesn't work at all.
39 >>
40 >>
41 >
42 > Best way to do this is using a remote shell (SSH for example) in
43 > another machine. If that's not an option or X driver fails in
44 > conflicts with the kernel (mine did before I found a suitable config)
45 > then you're pretty much lost, cause your video is gone for good.
46 >
47 > You can try SYSREQ combinations to kill the server and if that fails
48 > even cleanly reboot the rig, but as I said before, depending on the
49 > problem your video is gone.
50 >
51 >
52 stick a "chvt 1" after the "xdm stop".

Replies

Subject Author
Re: [gentoo-user] Question about xorg and a kill process Dale <rdalek1967@×××××.com>