adding command to startup

Lennart Sorensen lsorense-1wCw9BSqJbv44Nm34jS7GywD8/FfD2ys at public.gmane.org
Mon Feb 14 16:20:16 UTC 2005


On Sun, Feb 13, 2005 at 02:45:20PM -0500, Matt Cahill wrote:
>   A while ago, I found that I needed to do 'xhost +' to allow myself to log-in 
> as root and run certain apps like Synaptic.  It turned out, in the ensuing 
> discussion, that 'xhost +' isn't exactly the most secure command in the 
> world, and I found that 'xauth merge /home/matt/.Xauthority' did the trick 
> better (or so I'm led to believe).  Problem is, I'm not sure how to add this 
> to the startup routine.  I tried adding it to /etc/init.d, but it's not 
> recognized.  So my question is:  do I append an existing start-up script, or 
> is there a way to register a start-up script of my own so that my system 
> recognizes it?

Hmm, I thought the xauth merge was only required once, and then stayed
in effect forever.  Doesn't yours behave that way?  I wonder if the
xauth cookies are updated on each login.

Lennart Sorensen
--
The Toronto Linux Users Group.      Meetings: http://tlug.ss.org
TLUG requests: Linux topics, No HTML, wrap text below 80 columns
How to UNSUBSCRIBE: http://tlug.ss.org/subscribe.shtml





More information about the Legacy mailing list