adding command to startup

Matt Cahill m-cahill-bJEeYj9oJeDQT0dZR+AlfA at public.gmane.org
Mon Feb 14 16:30:34 UTC 2005


Monday, February 14, 2005, 11:20:16 AM, you wrote:

LS> 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?

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

LS> Lennart Sorensen



 Lennart,

   Well, this is the thing (strange as it is):  if I type 'xauth merge
   /home/matt/.Xauthority' (as root), it works for as long as my
   computer is running.  As soon as I reboot, I need to do it again.
   As this is an area I have very little knowledge of, I'm not sure
   what's 'right' and what's 'weird'.  I *do* know that it's
   inconvenient ;)

   Cheers,

   Matt

-- 

Matt Cahill
                      m dash cahill at rogers dot com


This wasn't just plain terrible, this was fancy terrible. This was terrible with raisins in it.
 - Dorothy Parker

--
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