On 07/06/2009 03:41 PM, Kevin O'Gorman wrote:
On Mon, Jul 6, 2009 at 3:31 PM, Paul
Hartman<[email protected]> wrote:
On Mon, Jul 6, 2009 at 5:21 PM, Kevin O'Gorman<[email protected]> wrote:
On Mon, Jul 6, 2009 at 2:17 PM, Paul
Hartman<[email protected]> wrote:
On Mon, Jul 6, 2009 at 2:33 PM, Kevin O'Gorman<[email protected]> 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?