* [gentoo-user] How to stop X @ 2009-07-06 19:33 Kevin O'Gorman 2009-07-06 19:42 ` Dirk Heinrichs 2009-07-06 21:17 ` Paul Hartman 0 siblings, 2 replies; 23+ messages in thread From: Kevin O'Gorman @ 2009-07-06 19:33 UTC (permalink / raw To: gentoo-user I'm having trouble configuring X, and to save time I'd like to be able to shut it down, edit some stuff, and start it up again. What is the gentoo way to do that? ++ kevin -- Kevin O'Gorman, PhD ^ permalink raw reply [flat|nested] 23+ messages in thread
* Re: [gentoo-user] How to stop X 2009-07-06 19:33 [gentoo-user] How to stop X Kevin O'Gorman @ 2009-07-06 19:42 ` Dirk Heinrichs 2009-07-06 20:49 ` Alexander 2009-07-06 21:17 ` Paul Hartman 1 sibling, 1 reply; 23+ messages in thread From: Dirk Heinrichs @ 2009-07-06 19:42 UTC (permalink / raw To: gentoo-user [-- Attachment #1: Type: text/plain, Size: 471 bytes --] Am Montag 06 Juli 2009 21:33:36 schrieb Kevin O'Gorman: > I'm having trouble configuring X, and to save time I'd like to be able > to shut it down, edit some stuff, and start it up again. > > What is the gentoo way to do that? Gentoo or not, make your changes to /etc/X11/xorg.conf, logout from your X session, change to a virtual console and restart the display manager (/etc/init.d/xdm restart), which also restarts X as a side effect. HTH... Dirk [-- Attachment #2: This is a digitally signed message part. --] [-- Type: application/pgp-signature, Size: 190 bytes --] ^ permalink raw reply [flat|nested] 23+ messages in thread
* Re: [gentoo-user] How to stop X 2009-07-06 19:42 ` Dirk Heinrichs @ 2009-07-06 20:49 ` Alexander 2009-07-06 21:08 ` Alan McKinnon 2009-07-06 22:58 ` Kevin O'Gorman 0 siblings, 2 replies; 23+ messages in thread From: Alexander @ 2009-07-06 20:49 UTC (permalink / raw To: gentoo-user On Monday 06 July 2009, Dirk Heinrichs wrote: > Am Montag 06 Juli 2009 21:33:36 schrieb Kevin O'Gorman: > > > I'm having trouble configuring X, and to save time I'd like to be able > > to shut it down, edit some stuff, and start it up again. > > > > What is the gentoo way to do that? > > Gentoo or not, make your changes to /etc/X11/xorg.conf, logout from your X > session, change to a virtual console and restart the display manager > (/etc/init.d/xdm restart), which also restarts X as a side effect. > > HTH... > > Dirk > It is simpler to use ALT+CTL+BKSPACE to restart the display manager ^ permalink raw reply [flat|nested] 23+ messages in thread
* Re: [gentoo-user] How to stop X 2009-07-06 20:49 ` Alexander @ 2009-07-06 21:08 ` Alan McKinnon 2009-07-06 18:54 ` Jacob Todd 2009-07-06 22:58 ` Kevin O'Gorman 1 sibling, 1 reply; 23+ messages in thread From: Alan McKinnon @ 2009-07-06 21:08 UTC (permalink / raw To: gentoo-user On Monday 06 July 2009 22:49:38 Alexander wrote: > On Monday 06 July 2009, Dirk Heinrichs wrote: > > Am Montag 06 Juli 2009 21:33:36 schrieb Kevin O'Gorman: > > > I'm having trouble configuring X, and to save time I'd like to be able > > > to shut it down, edit some stuff, and start it up again. > > > > > > What is the gentoo way to do that? > > > > Gentoo or not, make your changes to /etc/X11/xorg.conf, logout from your > > X session, change to a virtual console and restart the display manager > > (/etc/init.d/xdm restart), which also restarts X as a side effect. > > > > HTH... > > > > Dirk > > It is simpler to use ALT+CTL+BKSPACE to restart the display manager There's this thing that RedHat gave us called DontZap that gets in the way of that -- alan dot mckinnon at gmail dot com ^ permalink raw reply [flat|nested] 23+ messages in thread
* Re: [gentoo-user] How to stop X 2009-07-06 21:08 ` Alan McKinnon @ 2009-07-06 18:54 ` Jacob Todd 2009-07-06 23:23 ` Dale 0 siblings, 1 reply; 23+ messages in thread From: Jacob Todd @ 2009-07-06 18:54 UTC (permalink / raw To: gentoo-user [-- Attachment #1: Type: text/plain, Size: 1007 bytes --] On Mon, Jul 06, 2009 at 11:08:09PM +0200, Alan McKinnon wrote: > On Monday 06 July 2009 22:49:38 Alexander wrote: > > On Monday 06 July 2009, Dirk Heinrichs wrote: > > > Am Montag 06 Juli 2009 21:33:36 schrieb Kevin O'Gorman: > > > > I'm having trouble configuring X, and to save time I'd like to be able > > > > to shut it down, edit some stuff, and start it up again. > > > > > > > > What is the gentoo way to do that? > > > > > > Gentoo or not, make your changes to /etc/X11/xorg.conf, logout from your > > > X session, change to a virtual console and restart the display manager > > > (/etc/init.d/xdm restart), which also restarts X as a side effect. > > > > > > HTH... > > > > > > Dirk > > > > It is simpler to use ALT+CTL+BKSPACE to restart the display manager > > There's this thing that RedHat gave us called DontZap that gets in the way of > that > > -- > alan dot mckinnon at gmail dot com > This isn't RedHat. -- Jake Todd // If it isn't broke, tweak it! [-- Attachment #2: Type: application/pgp-signature, Size: 198 bytes --] ^ permalink raw reply [flat|nested] 23+ messages in thread
* Re: [gentoo-user] How to stop X 2009-07-06 18:54 ` Jacob Todd @ 2009-07-06 23:23 ` Dale 2009-07-06 19:31 ` Jacob Todd 2009-07-06 23:38 ` Mick 0 siblings, 2 replies; 23+ messages in thread From: Dale @ 2009-07-06 23:23 UTC (permalink / raw To: gentoo-user Jacob Todd wrote: > On Mon, Jul 06, 2009 at 11:08:09PM +0200, Alan McKinnon wrote: > >> On Monday 06 July 2009 22:49:38 Alexander wrote: >> >>> On Monday 06 July 2009, Dirk Heinrichs wrote: >>> >>>> Am Montag 06 Juli 2009 21:33:36 schrieb Kevin O'Gorman: >>>> >>>>> I'm having trouble configuring X, and to save time I'd like to be able >>>>> to shut it down, edit some stuff, and start it up again. >>>>> >>>>> What is the gentoo way to do that? >>>>> >>>> Gentoo or not, make your changes to /etc/X11/xorg.conf, logout from your >>>> X session, change to a virtual console and restart the display manager >>>> (/etc/init.d/xdm restart), which also restarts X as a side effect. >>>> >>>> HTH... >>>> >>>> Dirk >>>> >>> It is simpler to use ALT+CTL+BKSPACE to restart the display manager >>> >> There's this thing that RedHat gave us called DontZap that gets in the way of >> that >> >> -- >> alan dot mckinnon at gmail dot com >> >> > > This isn't RedHat. > > But it applies to Gentoo as well. From my xorg.conf.example on Gentoo. # Uncomment this to disable the <Crtl><Alt><BS> server abort sequence # This allows clients to receive this key event. # Option "DontZap" It's a valid option on every Linux I have ever played with. Dale :-) :-) ^ permalink raw reply [flat|nested] 23+ messages in thread
* Re: [gentoo-user] How to stop X 2009-07-06 23:23 ` Dale @ 2009-07-06 19:31 ` Jacob Todd 2009-07-06 23:38 ` Mick 1 sibling, 0 replies; 23+ messages in thread From: Jacob Todd @ 2009-07-06 19:31 UTC (permalink / raw To: gentoo-user [-- Attachment #1: Type: text/plain, Size: 559 bytes --] On Mon, Jul 06, 2009 at 06:23:23PM -0500, Dale wrote: > Jacob Todd wrote: > > > > This isn't RedHat. > > > > > > But it applies to Gentoo as well. From my xorg.conf.example on Gentoo. > > # Uncomment this to disable the <Crtl><Alt><BS> server abort sequence > # This allows clients to receive this key event. > > # Option "DontZap" > > It's a valid option on every Linux I have ever played with. > > Dale > > :-) :-) > Never noticed that. Thanks for the info, Dale. -- Jake Todd // If it isn't broke, tweak it! [-- Attachment #2: Type: application/pgp-signature, Size: 198 bytes --] ^ permalink raw reply [flat|nested] 23+ messages in thread
* Re: [gentoo-user] How to stop X 2009-07-06 23:23 ` Dale 2009-07-06 19:31 ` Jacob Todd @ 2009-07-06 23:38 ` Mick 2009-07-06 23:44 ` Dale 1 sibling, 1 reply; 23+ messages in thread From: Mick @ 2009-07-06 23:38 UTC (permalink / raw To: gentoo-user [-- Attachment #1: Type: text/plain, Size: 1454 bytes --] On Tuesday 07 July 2009, Dale wrote: > Jacob Todd wrote: > > On Mon, Jul 06, 2009 at 11:08:09PM +0200, Alan McKinnon wrote: > >> On Monday 06 July 2009 22:49:38 Alexander wrote: > >>> On Monday 06 July 2009, Dirk Heinrichs wrote: > >>>> Am Montag 06 Juli 2009 21:33:36 schrieb Kevin O'Gorman: > >>>>> I'm having trouble configuring X, and to save time I'd like to be > >>>>> able to shut it down, edit some stuff, and start it up again. > >>>>> > >>>>> What is the gentoo way to do that? > >>>> > >>>> Gentoo or not, make your changes to /etc/X11/xorg.conf, logout from > >>>> your X session, change to a virtual console and restart the display > >>>> manager (/etc/init.d/xdm restart), which also restarts X as a side > >>>> effect. > >>>> > >>>> HTH... > >>>> > >>>> Dirk > >>> > >>> It is simpler to use ALT+CTL+BKSPACE to restart the display manager > >> > >> There's this thing that RedHat gave us called DontZap that gets in the > >> way of that > >> > >> -- > >> alan dot mckinnon at gmail dot com > > > > This isn't RedHat. > > But it applies to Gentoo as well. From my xorg.conf.example on Gentoo. Right, but the latest flavor of xorg works without the requirement for a xorg.conf and therefore there's nowhere to define <Crtl><Alt><BS> in the .fdi files from what I recall. Retaining a xorg.conf would be the alternative - thus keeping the old Gentoo (and every other Linux) way. -- Regards, Mick [-- Attachment #2: This is a digitally signed message part. --] [-- Type: application/pgp-signature, Size: 198 bytes --] ^ permalink raw reply [flat|nested] 23+ messages in thread
* Re: [gentoo-user] How to stop X 2009-07-06 23:38 ` Mick @ 2009-07-06 23:44 ` Dale 0 siblings, 0 replies; 23+ messages in thread From: Dale @ 2009-07-06 23:44 UTC (permalink / raw To: gentoo-user Mick wrote: > On Tuesday 07 July 2009, Dale wrote: > >> Jacob Todd wrote: >> >>> On Mon, Jul 06, 2009 at 11:08:09PM +0200, Alan McKinnon wrote: >>> >>>> On Monday 06 July 2009 22:49:38 Alexander wrote: >>>> >>>>> On Monday 06 July 2009, Dirk Heinrichs wrote: >>>>> >>>>>> Am Montag 06 Juli 2009 21:33:36 schrieb Kevin O'Gorman: >>>>>> >>>>>>> I'm having trouble configuring X, and to save time I'd like to be >>>>>>> able to shut it down, edit some stuff, and start it up again. >>>>>>> >>>>>>> What is the gentoo way to do that? >>>>>>> >>>>>> Gentoo or not, make your changes to /etc/X11/xorg.conf, logout from >>>>>> your X session, change to a virtual console and restart the display >>>>>> manager (/etc/init.d/xdm restart), which also restarts X as a side >>>>>> effect. >>>>>> >>>>>> HTH... >>>>>> >>>>>> Dirk >>>>>> >>>>> It is simpler to use ALT+CTL+BKSPACE to restart the display manager >>>>> >>>> There's this thing that RedHat gave us called DontZap that gets in the >>>> way of that >>>> >>>> -- >>>> alan dot mckinnon at gmail dot com >>>> >>> This isn't RedHat. >>> >> But it applies to Gentoo as well. From my xorg.conf.example on Gentoo. >> > > Right, but the latest flavor of xorg works without the requirement for a > xorg.conf and therefore there's nowhere to define <Crtl><Alt><BS> in the .fdi > files from what I recall. Retaining a xorg.conf would be the alternative - > thus keeping the old Gentoo (and every other Linux) way. > True, but how many people have actually did the upgrade? I haven't yet. Also, you can have a xorg.conf still to specify the option. That may be the only thing in the file but it would still work. Dale :-) :-) ^ permalink raw reply [flat|nested] 23+ messages in thread
* Re: [gentoo-user] How to stop X 2009-07-06 20:49 ` Alexander 2009-07-06 21:08 ` Alan McKinnon @ 2009-07-06 22:58 ` Kevin O'Gorman 1 sibling, 0 replies; 23+ messages in thread From: Kevin O'Gorman @ 2009-07-06 22:58 UTC (permalink / raw To: gentoo-user On Mon, Jul 6, 2009 at 1:49 PM, Alexander<b3nder@yandex.ru> wrote: > On Monday 06 July 2009, Dirk Heinrichs wrote: >> Am Montag 06 Juli 2009 21:33:36 schrieb Kevin O'Gorman: >> >> > I'm having trouble configuring X, and to save time I'd like to be able >> > to shut it down, edit some stuff, and start it up again. >> > >> > What is the gentoo way to do that? >> >> Gentoo or not, make your changes to /etc/X11/xorg.conf, logout from your X >> session, change to a virtual console and restart the display manager >> (/etc/init.d/xdm restart), which also restarts X as a side effect. >> >> HTH... >> >> Dirk >> > > It is simpler to use ALT+CTL+BKSPACE to restart the display manager > Except that it doesn't work at all when your X is as hosed as mine. -- Kevin O'Gorman, PhD ^ permalink raw reply [flat|nested] 23+ messages in thread
* Re: [gentoo-user] How to stop X 2009-07-06 19:33 [gentoo-user] How to stop X Kevin O'Gorman 2009-07-06 19:42 ` Dirk Heinrichs @ 2009-07-06 21:17 ` Paul Hartman 2009-07-06 22:21 ` Kevin O'Gorman 1 sibling, 1 reply; 23+ messages in thread From: Paul Hartman @ 2009-07-06 21:17 UTC (permalink / raw To: gentoo-user On Mon, Jul 6, 2009 at 2:33 PM, Kevin O'Gorman<kogorman@gmail.com> wrote: > I'm having trouble configuring X, and to save time I'd like to be able > to shut it down, edit some stuff, and start it up again. > > What is the gentoo way to do that? It depends on how you started X in the first place. If you did a "startx" (or similar), logging out should be all you need to do to get out of X. If you use a login manager, XDM/GDM/KDM then it'll restart itself so you'll need to switch to a VT (ctrl-alt-F1) and then sudo /etc/init.d/xdm stop to shut down XDM (and therefore X). You can then rmmod your video drivers or do whatever changes you want to do. sudo /etc/init.d/xdm start to bring it back up. ^ permalink raw reply [flat|nested] 23+ messages in thread
* Re: [gentoo-user] How to stop X 2009-07-06 21:17 ` Paul Hartman @ 2009-07-06 22:21 ` Kevin O'Gorman 2009-07-06 22:31 ` Paul Hartman ` (2 more replies) 0 siblings, 3 replies; 23+ messages in thread From: Kevin O'Gorman @ 2009-07-06 22:21 UTC (permalink / raw To: gentoo-user On Mon, Jul 6, 2009 at 2:17 PM, Paul Hartman<paul.hartman+gentoo@gmail.com> wrote: > On Mon, Jul 6, 2009 at 2:33 PM, Kevin O'Gorman<kogorman@gmail.com> wrote: >> I'm having trouble configuring X, and to save time I'd like to be able >> to shut it down, edit some stuff, and start it up again. >> >> What is the gentoo way to do that? > > It depends on how you started X in the first place. If you did a > "startx" (or similar), logging out should be all you need to do to get > out of X. If you use a login manager, XDM/GDM/KDM then it'll restart > itself so you'll need to switch to a VT (ctrl-alt-F1) and then sudo > /etc/init.d/xdm stop to shut down XDM (and therefore X). You can then > rmmod your video drivers or do whatever changes you want to do. sudo > /etc/init.d/xdm start to bring it back up. > > Several of you suggested "/etc/init.d/xdm start" or so to get it (re)started. It doesn't work. Instead the start-stop daemon complains of not being able to stat "/usr/bin/xdm" which doesn't exist. And no I didn't mispell it. I've never seen this before an I'm baffled. ++ kevin -- Kevin O'Gorman, PhD ^ permalink raw reply [flat|nested] 23+ messages in thread
* Re: [gentoo-user] How to stop X 2009-07-06 22:21 ` Kevin O'Gorman @ 2009-07-06 22:31 ` Paul Hartman 2009-07-06 22:41 ` Kevin O'Gorman 2009-07-06 23:57 ` David Relson 2009-07-07 7:59 ` Neil Bothwick 2 siblings, 1 reply; 23+ messages in thread From: Paul Hartman @ 2009-07-06 22:31 UTC (permalink / raw To: gentoo-user On Mon, Jul 6, 2009 at 5:21 PM, Kevin O'Gorman<kogorman@gmail.com> wrote: > On Mon, Jul 6, 2009 at 2:17 PM, Paul > Hartman<paul.hartman+gentoo@gmail.com> wrote: >> On Mon, Jul 6, 2009 at 2:33 PM, Kevin O'Gorman<kogorman@gmail.com> wrote: >>> I'm having trouble configuring X, and to save time I'd like to be able >>> to shut it down, edit some stuff, and start it up again. >>> >>> What is the gentoo way to do that? >> >> It depends on how you started X in the first place. If you did a >> "startx" (or similar), logging out should be all you need to do to get >> out of X. If you use a login manager, XDM/GDM/KDM then it'll restart >> itself so you'll need to switch to a VT (ctrl-alt-F1) and then sudo >> /etc/init.d/xdm stop to shut down XDM (and therefore X). You can then >> rmmod your video drivers or do whatever changes you want to do. sudo >> /etc/init.d/xdm start to bring it back up. >> >> > > Several of you suggested "/etc/init.d/xdm start" or so to get it > (re)started. It doesn't work. Instead the start-stop daemon > complains of not being able to stat "/usr/bin/xdm" which doesn't > exist. And no I didn't mispell it. I've never seen this before an > I'm baffled. Hi, You haven't told us how you start X, which I think would make it easier to determine how to stop it. Maybe you don't use XDM at all, in which case the above suggestion wouldn't have any relevance to your situation. ^ permalink raw reply [flat|nested] 23+ messages in thread
* Re: [gentoo-user] How to stop X 2009-07-06 22:31 ` Paul Hartman @ 2009-07-06 22:41 ` Kevin O'Gorman 2009-07-06 23:30 ` Mick ` (2 more replies) 0 siblings, 3 replies; 23+ messages in thread From: Kevin O'Gorman @ 2009-07-06 22:41 UTC (permalink / raw To: gentoo-user On Mon, Jul 6, 2009 at 3:31 PM, Paul Hartman<paul.hartman+gentoo@gmail.com> wrote: > On Mon, Jul 6, 2009 at 5:21 PM, Kevin O'Gorman<kogorman@gmail.com> wrote: >> On Mon, Jul 6, 2009 at 2:17 PM, Paul >> Hartman<paul.hartman+gentoo@gmail.com> wrote: >>> On Mon, Jul 6, 2009 at 2:33 PM, Kevin O'Gorman<kogorman@gmail.com> wrote: >>>> I'm having trouble configuring X, and to save time I'd like to be able >>>> to shut it down, edit some stuff, and start it up again. >>>> >>>> What is the gentoo way to do that? >>> >>> It depends on how you started X in the first place. If you did a >>> "startx" (or similar), logging out should be all you need to do to get >>> out of X. If you use a login manager, XDM/GDM/KDM then it'll restart >>> itself so you'll need to switch to a VT (ctrl-alt-F1) and then sudo >>> /etc/init.d/xdm stop to shut down XDM (and therefore X). You can then >>> rmmod your video drivers or do whatever changes you want to do. sudo >>> /etc/init.d/xdm start to bring it back up. >>> >>> >> >> Several of you suggested "/etc/init.d/xdm start" or so to get it >> (re)started. It doesn't work. Instead the start-stop daemon >> complains of not being able to stat "/usr/bin/xdm" which doesn't >> exist. And no I didn't mispell it. I've never seen this before an >> I'm baffled. > > Hi, > > You haven't told us how you start X, which I think would make it > easier to determine how to stop it. Maybe you don't use XDM at all, in > which case the above suggestion wouldn't have any relevance to your > situation. > > I haven't told you because I don't know. I do know that I was using KDE when I still had X. But I set that up over 5 years ago and I've forgotten all the details. But there's no sign of *dm in /etc/init.d, other than xdm, which acts pretty normal outside of the fact that it fails. It goes through motions, says some things work by putting [OK] in the right margin, and all that. If you tell me how to find out, I'll answer any questions. ++ kevin -- Kevin O'Gorman, PhD ^ permalink raw reply [flat|nested] 23+ messages in thread
* Re: [gentoo-user] How to stop X 2009-07-06 22:41 ` Kevin O'Gorman @ 2009-07-06 23:30 ` Mick 2009-07-07 3:39 ` Kevin O'Gorman 2009-07-06 23:35 ` [gentoo-user] " walt 2009-07-06 23:35 ` [gentoo-user] " Stroller 2 siblings, 1 reply; 23+ messages in thread From: Mick @ 2009-07-06 23:30 UTC (permalink / raw To: gentoo-user [-- Attachment #1: Type: text/plain, Size: 2421 bytes --] On Monday 06 July 2009, Kevin O'Gorman wrote: > On Mon, Jul 6, 2009 at 3:31 PM, Paul > > Hartman<paul.hartman+gentoo@gmail.com> wrote: > > On Mon, Jul 6, 2009 at 5:21 PM, Kevin O'Gorman<kogorman@gmail.com> wrote: > >> On Mon, Jul 6, 2009 at 2:17 PM, Paul > >> > >> Hartman<paul.hartman+gentoo@gmail.com> wrote: > >>> On Mon, Jul 6, 2009 at 2:33 PM, Kevin O'Gorman<kogorman@gmail.com> wrote: > >>>> I'm having trouble configuring X, and to save time I'd like to be able > >>>> to shut it down, edit some stuff, and start it up again. > >>>> > >>>> What is the gentoo way to do that? > >>> > >>> It depends on how you started X in the first place. If you did a > >>> "startx" (or similar), logging out should be all you need to do to get > >>> out of X. If you use a login manager, XDM/GDM/KDM then it'll restart > >>> itself so you'll need to switch to a VT (ctrl-alt-F1) and then sudo > >>> /etc/init.d/xdm stop to shut down XDM (and therefore X). You can then > >>> rmmod your video drivers or do whatever changes you want to do. sudo > >>> /etc/init.d/xdm start to bring it back up. > >> > >> Several of you suggested "/etc/init.d/xdm start" or so to get it > >> (re)started. It doesn't work. Instead the start-stop daemon > >> complains of not being able to stat "/usr/bin/xdm" which doesn't > >> exist. And no I didn't mispell it. I've never seen this before an > >> I'm baffled. > > > > Hi, > > > > You haven't told us how you start X, which I think would make it > > easier to determine how to stop it. Maybe you don't use XDM at all, in > > which case the above suggestion wouldn't have any relevance to your > > situation. > > I haven't told you because I don't know. I do know that I was using > KDE when I still had X. But I set that up over 5 years ago and I've > forgotten all the details. But there's no sign of *dm in /etc/init.d, > other than xdm, which acts pretty normal outside of the fact that it > fails. It goes through motions, says some things work by putting [OK] > in the right margin, and all that. > > If you tell me how to find out, I'll answer any questions. > > ++ kevin Look at your ps axf. If it is running via xdm you will see something like: 6403 ? Ss 0:00 /usr/bin/xdm 6417 tty7 Ss+ 28:54 \_ /usr/bin/X :0 -nolisten tcp -br vt7 -auth /etc/X11/xdm/authdir/authfiles/A:0-bvk4xxF -- Regards, Mick [-- Attachment #2: This is a digitally signed message part. --] [-- Type: application/pgp-signature, Size: 198 bytes --] ^ permalink raw reply [flat|nested] 23+ messages in thread
* Re: [gentoo-user] How to stop X 2009-07-06 23:30 ` Mick @ 2009-07-07 3:39 ` Kevin O'Gorman 0 siblings, 0 replies; 23+ messages in thread From: Kevin O'Gorman @ 2009-07-07 3:39 UTC (permalink / raw To: gentoo-user Synopsis: This host is running kdm. On Mon, Jul 6, 2009 at 4:30 PM, Mick<michaelkintzios@gmail.com> wrote: > On Monday 06 July 2009, Kevin O'Gorman wrote: >> On Mon, Jul 6, 2009 at 3:31 PM, Paul >> >> Hartman<paul.hartman+gentoo@gmail.com> wrote: [ snip snip ] >> > Hi, >> > >> > You haven't told us how you start X, which I think would make it >> > easier to determine how to stop it. Maybe you don't use XDM at all, in >> > which case the above suggestion wouldn't have any relevance to your >> > situation. >> >> I haven't told you because I don't know. I do know that I was using >> KDE when I still had X. But I set that up over 5 years ago and I've >> forgotten all the details. But there's no sign of *dm in /etc/init.d, >> other than xdm, which acts pretty normal outside of the fact that it >> fails. It goes through motions, says some things work by putting [OK] >> in the right margin, and all that. >> >> If you tell me how to find out, I'll answer any questions. >> >> ++ kevin > > Look at your ps axf. If it is running via xdm you will see something like: > > 6403 ? Ss 0:00 /usr/bin/xdm > 6417 tty7 Ss+ 28:54 \_ /usr/bin/X :0 -nolisten tcp -br > vt7 -auth /etc/X11/xdm/authdir/authfiles/A:0-bvk4xxF > > What I get is not much, but it appears I'm still running kdm and it's a child of init. kevin@treat ~ $ ps axf | grep dm 725 pts/6 S+ 0:00 \_ grep --colour=auto dm 15372 ? Ss 0:00 kdm kevin@treat ~ $ -- Kevin O'Gorman, PhD ^ permalink raw reply [flat|nested] 23+ messages in thread
* [gentoo-user] Re: How to stop X 2009-07-06 22:41 ` Kevin O'Gorman 2009-07-06 23:30 ` Mick @ 2009-07-06 23:35 ` walt 2009-07-06 23:35 ` [gentoo-user] " Stroller 2 siblings, 0 replies; 23+ messages in thread From: walt @ 2009-07-06 23:35 UTC (permalink / raw To: gentoo-user On 07/06/2009 03:41 PM, Kevin O'Gorman wrote: > On Mon, Jul 6, 2009 at 3:31 PM, Paul > Hartman<paul.hartman+gentoo@gmail.com> wrote: >> On Mon, Jul 6, 2009 at 5:21 PM, Kevin O'Gorman<kogorman@gmail.com> wrote: >>> On Mon, Jul 6, 2009 at 2:17 PM, Paul >>> Hartman<paul.hartman+gentoo@gmail.com> wrote: >>>> On Mon, Jul 6, 2009 at 2:33 PM, Kevin O'Gorman<kogorman@gmail.com> wrote: >>>>> I'm having trouble configuring X, and to save time I'd like to be able >>>>> to shut it down, edit some stuff, and start it up again. >>>>> >>>>> What is the gentoo way to do that? >>>> >>>> It depends on how you started X in the first place. If you did a >>>> "startx" (or similar), logging out should be all you need to do to get >>>> out of X. If you use a login manager, XDM/GDM/KDM then it'll restart >>>> itself so you'll need to switch to a VT (ctrl-alt-F1) and then sudo >>>> /etc/init.d/xdm stop to shut down XDM (and therefore X). You can then >>>> rmmod your video drivers or do whatever changes you want to do. sudo >>>> /etc/init.d/xdm start to bring it back up. >>>> >>>> >>> >>> Several of you suggested "/etc/init.d/xdm start" or so to get it >>> (re)started. It doesn't work. Instead the start-stop daemon >>> complains of not being able to stat "/usr/bin/xdm" which doesn't >>> exist. And no I didn't mispell it. I've never seen this before an >>> I'm baffled. >> >> Hi, >> >> You haven't told us how you start X, which I think would make it >> easier to determine how to stop it. Maybe you don't use XDM at all, in >> which case the above suggestion wouldn't have any relevance to your >> situation. >> >> > > I haven't told you because I don't know. I do know that I was using > KDE when I still had X. But I set that up over 5 years ago and I've > forgotten all the details. But there's no sign of *dm in /etc/init.d, > other than xdm,.. There are the 'big three' display managers, xdm, gdm(gnome), and kdm(kde) which all do the same job, i.e. asking for your user name and password. All three of them are X applications and therefore they start the X server before they can appear on your screen. Before your troubles started, what did you see when your machine boots up. Does it ask your username on an ordinary black-and-white console, like a teletype, or on a fancy graphics screen with sexy eye-candy so as to seduce unsuspecting MacBook users? ^ permalink raw reply [flat|nested] 23+ messages in thread
* Re: [gentoo-user] How to stop X 2009-07-06 22:41 ` Kevin O'Gorman 2009-07-06 23:30 ` Mick 2009-07-06 23:35 ` [gentoo-user] " walt @ 2009-07-06 23:35 ` Stroller 2 siblings, 0 replies; 23+ messages in thread From: Stroller @ 2009-07-06 23:35 UTC (permalink / raw To: gentoo-user On 6 Jul 2009, at 23:41, Kevin O'Gorman wrote: >> ... >> You haven't told us how you start X, which I think would make it >> easier to determine how to stop it.... > > I haven't told you because I don't know. I do know that I was using > KDE when I still had X. But I set that up over 5 years ago and I've > forgotten all the details. But there's no sign of *dm in /etc/init.d, > other than xdm, which acts pretty normal outside of the fact that it > fails. ... Suggest you review your current configuration against this document: http://www.gentoo.org/doc/en/xorg-config.xml Stroller. ^ permalink raw reply [flat|nested] 23+ messages in thread
* Re: [gentoo-user] How to stop X 2009-07-06 22:21 ` Kevin O'Gorman 2009-07-06 22:31 ` Paul Hartman @ 2009-07-06 23:57 ` David Relson 2009-07-07 7:22 ` Dale 2009-07-07 7:59 ` Neil Bothwick 2 siblings, 1 reply; 23+ messages in thread From: David Relson @ 2009-07-06 23:57 UTC (permalink / raw To: gentoo-user; +Cc: kogorman On Mon, 6 Jul 2009 15:21:43 -0700 Kevin O'Gorman wrote: > On Mon, Jul 6, 2009 at 2:17 PM, Paul > Hartman<paul.hartman+gentoo@gmail.com> wrote: > > On Mon, Jul 6, 2009 at 2:33 PM, Kevin O'Gorman<kogorman@gmail.com> > > wrote: > >> I'm having trouble configuring X, and to save time I'd like to be > >> able to shut it down, edit some stuff, and start it up again. > >> > >> What is the gentoo way to do that? > > > > It depends on how you started X in the first place. If you did a > > "startx" (or similar), logging out should be all you need to do to > > get out of X. If you use a login manager, XDM/GDM/KDM then it'll > > restart itself so you'll need to switch to a VT (ctrl-alt-F1) and > > then sudo /etc/init.d/xdm stop to shut down XDM (and therefore X). > > You can then rmmod your video drivers or do whatever changes you > > want to do. sudo /etc/init.d/xdm start to bring it back up. > > > > > > Several of you suggested "/etc/init.d/xdm start" or so to get it > (re)started. It doesn't work. Instead the start-stop daemon > complains of not being able to stat "/usr/bin/xdm" which doesn't > exist. And no I didn't mispell it. I've never seen this before an > I'm baffled. > > ++ kevin Hi Kevin, This weekend I needed to stop and start X a lot because I was experimenting with running dosemu from a tty command line and the DOS application I'm running under dosemu hangs the command line. Using an ssh session (from another machine) I found that "/etc/init.d/xdm stop" works to stop X. However, restarting is a bit tricky since "/etc/init.d/xdm start" fails because of files in "/var/lib/init.d/*/xdm". If one runs "rm -rf /var/lib/init.d/*/xdm" then runs "/etc/init.d/xdm start" one is good to go. HTH, David ^ permalink raw reply [flat|nested] 23+ messages in thread
* Re: [gentoo-user] How to stop X 2009-07-06 23:57 ` David Relson @ 2009-07-07 7:22 ` Dale 2009-07-07 11:26 ` David Relson 0 siblings, 1 reply; 23+ messages in thread From: Dale @ 2009-07-07 7:22 UTC (permalink / raw To: gentoo-user David Relson wrote: > On Mon, 6 Jul 2009 15:21:43 -0700 > Kevin O'Gorman wrote: > > >> On Mon, Jul 6, 2009 at 2:17 PM, Paul >> Hartman<paul.hartman+gentoo@gmail.com> wrote: >> >>> On Mon, Jul 6, 2009 at 2:33 PM, Kevin O'Gorman<kogorman@gmail.com> >>> wrote: >>> >>>> I'm having trouble configuring X, and to save time I'd like to be >>>> able to shut it down, edit some stuff, and start it up again. >>>> >>>> What is the gentoo way to do that? >>>> >>> It depends on how you started X in the first place. If you did a >>> "startx" (or similar), logging out should be all you need to do to >>> get out of X. If you use a login manager, XDM/GDM/KDM then it'll >>> restart itself so you'll need to switch to a VT (ctrl-alt-F1) and >>> then sudo /etc/init.d/xdm stop to shut down XDM (and therefore X). >>> You can then rmmod your video drivers or do whatever changes you >>> want to do. sudo /etc/init.d/xdm start to bring it back up. >>> >>> >>> >> Several of you suggested "/etc/init.d/xdm start" or so to get it >> (re)started. It doesn't work. Instead the start-stop daemon >> complains of not being able to stat "/usr/bin/xdm" which doesn't >> exist. And no I didn't mispell it. I've never seen this before an >> I'm baffled. >> >> ++ kevin >> > > Hi Kevin, > > This weekend I needed to stop and start X a lot because I was > experimenting with running dosemu from a tty command line and the > DOS application I'm running under dosemu hangs the command line. > > Using an ssh session (from another machine) I found that > "/etc/init.d/xdm stop" works to stop X. However, > restarting is a bit tricky since "/etc/init.d/xdm start" fails because > of files in "/var/lib/init.d/*/xdm". If one runs "rm -rf /var/lib/init.d/*/xdm" > then runs "/etc/init.d/xdm start" one is good to go. > > HTH, > > David > > > Then /etc/init.d/xdm zap may be easier and cleaner. Dale :-) :-) ^ permalink raw reply [flat|nested] 23+ messages in thread
* Re: [gentoo-user] How to stop X 2009-07-07 7:22 ` Dale @ 2009-07-07 11:26 ` David Relson 2009-07-07 14:20 ` Dale 0 siblings, 1 reply; 23+ messages in thread From: David Relson @ 2009-07-07 11:26 UTC (permalink / raw To: gentoo-user On Tue, 07 Jul 2009 02:22:26 -0500 Dale wrote: > David Relson wrote: > > On Mon, 6 Jul 2009 15:21:43 -0700 > > Kevin O'Gorman wrote: > > > > > >> On Mon, Jul 6, 2009 at 2:17 PM, Paul > >> Hartman<paul.hartman+gentoo@gmail.com> wrote: > >> > >>> On Mon, Jul 6, 2009 at 2:33 PM, Kevin O'Gorman<kogorman@gmail.com> > >>> wrote: > >>> > >>>> I'm having trouble configuring X, and to save time I'd like to be > >>>> able to shut it down, edit some stuff, and start it up again. > >>>> > >>>> What is the gentoo way to do that? > >>>> > >>> It depends on how you started X in the first place. If you did a > >>> "startx" (or similar), logging out should be all you need to do to > >>> get out of X. If you use a login manager, XDM/GDM/KDM then it'll > >>> restart itself so you'll need to switch to a VT (ctrl-alt-F1) and > >>> then sudo /etc/init.d/xdm stop to shut down XDM (and therefore X). > >>> You can then rmmod your video drivers or do whatever changes you > >>> want to do. sudo /etc/init.d/xdm start to bring it back up. > >>> > >>> > >>> > >> Several of you suggested "/etc/init.d/xdm start" or so to get it > >> (re)started. It doesn't work. Instead the start-stop daemon > >> complains of not being able to stat "/usr/bin/xdm" which doesn't > >> exist. And no I didn't mispell it. I've never seen this before an > >> I'm baffled. > >> > >> ++ kevin > >> > > > > Hi Kevin, > > > > This weekend I needed to stop and start X a lot because I was > > experimenting with running dosemu from a tty command line and the > > DOS application I'm running under dosemu hangs the command line. > > > > Using an ssh session (from another machine) I found that > > "/etc/init.d/xdm stop" works to stop X. However, > > restarting is a bit tricky since "/etc/init.d/xdm start" fails > > because of files in "/var/lib/init.d/*/xdm". If one runs "rm > > -rf /var/lib/init.d/*/xdm" then runs "/etc/init.d/xdm start" one is > > good to go. > > > > HTH, > > > > David > > > > > > > > Then /etc/init.d/xdm zap may be easier and cleaner. > > Dale I hadn't known of zap. Indeed it's an easier way to do the cleanup. However, use it _after_ stop. I tried it instead of stop. What it does is remove the /var/init.d/*/xdm files. With them gone, "/etc/init.d/xdm status" can't tell that xdm has been started and "/etc/init.d/xdm stop" doesn't do anything. I had to frog around to fix the problem. Be careful !! David ^ permalink raw reply [flat|nested] 23+ messages in thread
* Re: [gentoo-user] How to stop X 2009-07-07 11:26 ` David Relson @ 2009-07-07 14:20 ` Dale 0 siblings, 0 replies; 23+ messages in thread From: Dale @ 2009-07-07 14:20 UTC (permalink / raw To: gentoo-user David Relson wrote: > On Tue, 07 Jul 2009 02:22:26 -0500 > Dale wrote: > > >> David Relson wrote: >> >>> On Mon, 6 Jul 2009 15:21:43 -0700 >>> Kevin O'Gorman wrote: >>> >>> >>> >>>> On Mon, Jul 6, 2009 at 2:17 PM, Paul >>>> Hartman<paul.hartman+gentoo@gmail.com> wrote: >>>> >>>> >>>>> On Mon, Jul 6, 2009 at 2:33 PM, Kevin O'Gorman<kogorman@gmail.com> >>>>> wrote: >>>>> >>>>> >>>>>> I'm having trouble configuring X, and to save time I'd like to be >>>>>> able to shut it down, edit some stuff, and start it up again. >>>>>> >>>>>> What is the gentoo way to do that? >>>>>> >>>>>> >>>>> It depends on how you started X in the first place. If you did a >>>>> "startx" (or similar), logging out should be all you need to do to >>>>> get out of X. If you use a login manager, XDM/GDM/KDM then it'll >>>>> restart itself so you'll need to switch to a VT (ctrl-alt-F1) and >>>>> then sudo /etc/init.d/xdm stop to shut down XDM (and therefore X). >>>>> You can then rmmod your video drivers or do whatever changes you >>>>> want to do. sudo /etc/init.d/xdm start to bring it back up. >>>>> >>>>> >>>>> >>>>> >>>> Several of you suggested "/etc/init.d/xdm start" or so to get it >>>> (re)started. It doesn't work. Instead the start-stop daemon >>>> complains of not being able to stat "/usr/bin/xdm" which doesn't >>>> exist. And no I didn't mispell it. I've never seen this before an >>>> I'm baffled. >>>> >>>> ++ kevin >>>> >>>> >>> Hi Kevin, >>> >>> This weekend I needed to stop and start X a lot because I was >>> experimenting with running dosemu from a tty command line and the >>> DOS application I'm running under dosemu hangs the command line. >>> >>> Using an ssh session (from another machine) I found that >>> "/etc/init.d/xdm stop" works to stop X. However, >>> restarting is a bit tricky since "/etc/init.d/xdm start" fails >>> because of files in "/var/lib/init.d/*/xdm". If one runs "rm >>> -rf /var/lib/init.d/*/xdm" then runs "/etc/init.d/xdm start" one is >>> good to go. >>> >>> HTH, >>> >>> David >>> >>> >>> >>> >> Then /etc/init.d/xdm zap may be easier and cleaner. >> >> Dale >> > > I hadn't known of zap. Indeed it's an easier way to do the cleanup. > However, use it _after_ stop. > > I tried it instead of stop. What it does is remove the > /var/init.d/*/xdm files. With them gone, "/etc/init.d/xdm status" > can't tell that xdm has been started and "/etc/init.d/xdm stop" doesn't > do anything. I had to frog around to fix the problem. > > Be careful !! > > David > > > True, you do have to use it after stop. It is supposed to reset everything to a stopped state. I think it also kills running processes but I have not tested that to see if it does for sure. I just know that it works and does so cleanly. It's certainly a better option than trying to do it manually. Dale :-) :-) ^ permalink raw reply [flat|nested] 23+ messages in thread
* Re: [gentoo-user] How to stop X 2009-07-06 22:21 ` Kevin O'Gorman 2009-07-06 22:31 ` Paul Hartman 2009-07-06 23:57 ` David Relson @ 2009-07-07 7:59 ` Neil Bothwick 2 siblings, 0 replies; 23+ messages in thread From: Neil Bothwick @ 2009-07-07 7:59 UTC (permalink / raw To: gentoo-user [-- Attachment #1: Type: text/plain, Size: 677 bytes --] On Mon, 6 Jul 2009 15:21:43 -0700, Kevin O'Gorman wrote: > Several of you suggested "/etc/init.d/xdm start" or so to get it > (re)started. It doesn't work. Instead the start-stop daemon > complains of not being able to stat "/usr/bin/xdm" which doesn't > exist. And no I didn't mispell it. I've never seen this before an > I'm baffled. /etc/init.d/xdm runs either xdm, gdm or kdm, depending on the setting in /etc/conf.d/xdm. I suspect you may have inadvertently overwritten this with etc-update or similar after an update, setting it back to the default of xdm. -- Neil Bothwick Things are more like they are today than they ever have been before. [-- Attachment #2: signature.asc --] [-- Type: application/pgp-signature, Size: 198 bytes --] ^ permalink raw reply [flat|nested] 23+ messages in thread
end of thread, other threads:[~2009-07-07 14:21 UTC | newest] Thread overview: 23+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2009-07-06 19:33 [gentoo-user] How to stop X Kevin O'Gorman 2009-07-06 19:42 ` Dirk Heinrichs 2009-07-06 20:49 ` Alexander 2009-07-06 21:08 ` Alan McKinnon 2009-07-06 18:54 ` Jacob Todd 2009-07-06 23:23 ` Dale 2009-07-06 19:31 ` Jacob Todd 2009-07-06 23:38 ` Mick 2009-07-06 23:44 ` Dale 2009-07-06 22:58 ` Kevin O'Gorman 2009-07-06 21:17 ` Paul Hartman 2009-07-06 22:21 ` Kevin O'Gorman 2009-07-06 22:31 ` Paul Hartman 2009-07-06 22:41 ` Kevin O'Gorman 2009-07-06 23:30 ` Mick 2009-07-07 3:39 ` Kevin O'Gorman 2009-07-06 23:35 ` [gentoo-user] " walt 2009-07-06 23:35 ` [gentoo-user] " Stroller 2009-07-06 23:57 ` David Relson 2009-07-07 7:22 ` Dale 2009-07-07 11:26 ` David Relson 2009-07-07 14:20 ` Dale 2009-07-07 7:59 ` Neil Bothwick
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox