On Sat, 3 Apr 1999, Bret Hughes wrote:

> To make things easier I built a cheap and dirty script that did the display
> variable setting and launch the program.

Not a bad idea - In my more adolescent days (*grin*) I wrote a script I called
'screw' which set the display to localhost, and ran 'endsession -f', which on
the SGI Indy and O2 machines closes the current X session.  So I could just
type 'rsh <remotecomputer> screw' and log someone out.  Could be done by hand,
but the script made Session Wars so much easier... don't ask, in a lab of 30
SGIs we sometimes get punchy...

> BTW where is the xhost stuff stored?  I have not rebooted yet will my addition of
> the local ip to the allowed access list survive a reboot?

No it won't, but you can add it to the startup scripts, either for that
particular user, or for XDM if that's what you run.  For XDM, look in
/var/X11R6/lib/xdm for the file Xsetup_0, and add the commands there.  (That's
on a Slackware box, don't know if it's in a different location on RedHat)

---
Steve Huston - New Jersey, USA
Rowan University Comp Sci Major - Student Technician Supervisor
PGP Public keys: 
DSS/DH 0x0A529FF8 fp: C38F 274B F2A8 CE5A 60A5  A8E9 C7B9 AEDD 0A52 9FF8
RSA 0xC373028D    fp: ADE0 854D 753E EB53  9DFA 5F04 8283 CC99

"And no one sings me lullabies,
 and no one makes me close my eyes;
 And so I throw the windows wide
 and call to you across the sky" --Pink Floyd, "Echoes"

-
To unsubscribe from this list: send the line "unsubscribe linux-net" in
the body of a message to [EMAIL PROTECTED]

Reply via email to