[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: console too long after stopping x



Tyler Smith wrote:
On 2007-06-05, Bob McGowan <bob_mcgowan@symantec.com> wrote:
I can't answer the question regarding base causes, but to get a program to run after you quit X, add the command to the end of your .xinitrc file in your home directory.


I'm not sure how to do this. I didn't have an .xinitrc, so I copied
the one from /etc/X11/xinit/xinitrc to my home directory, and added
the line as follows:

+--------------------------------+
#!/bin/sh
## comments snipped ##

. /etc/X11/Xsession

consolechars -f Uni3-Terminus14

+--------------------------------+

However, this doesn't seem to have changed anything - I logged out of
x, back in, and then out again, and the problem remains.

Thanks,

Tyler



I just checked my KDE environment and it doesn't use .xinitrc either. Sigh ;( I do know that .xinitrc is used by the base X11 environment, with the 'xinit' program, which can be used to start additional X servers on other virtual terminals. But, not for starting the first X server from a login manager (KDM, GDM, etc., also known as Display Managers).

For KDE specifically, there is a program called 'startkde' which has a man page that mentions "At the end of a session, the scripts found in ~/.kde/shutdown will be executed."

I expect there's a way to have the same happen for a Gnome environment but I don't have any expertise with it.

Sorry for the confusion.

--
Bob McGowan

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature


Reply to: