Getting a default xterm started up before xdm goes..
Jonathan Morton
chromi "at" cyberspace.org
Thu, 12 Oct 2000 01:22:36 +0000
>Well, I got XDM set up, but I want an xterm set up. I have this 99.9% figured
>out..
>
>I have this set up in my "Xsetup" file:
>if [ -x /usr/X11R6/bin/xterm ]; then
> /bin/su nobody -c "/usr/X11R6/bin/xterm -fg '#FFFFFF' -bg '#000000'
>-geometry 120x15+150+500 -e sh -c 'cat /etc/motd; read STDIN'" 2>
>/tmp/xsetup-errs &
>fi
>
>You can all tell what this is (the su command is so that it doesn't end up as
>root, just for protection, is this a good choice?)
>
>When I take the su command out, it works all honkey dorrey.. but when I leave
>it in, it just won't work..
If you're running an X client as a different user than what you started X
as, you need to run "xhost +localhost" to allow it to connect.
--------------------------------------------------------------
from: Jonathan "Chromatix" Morton
mail: chromi "at" cyberspace.org (not for attachments)
uni-mail: j.d.morton "at" lancaster.ac.uk
The key to knowledge is not to rely on people to teach you it.
Get VNC Server for Macintosh from http://chromatix.autistics.org/vnc/
-----BEGIN GEEK CODE BLOCK-----
Version 3.12
GCS$/E/S dpu(!) s:- a19 C+++ UL++ P L+++ E W+ N- o? K? w--- O-- M++$ V? PS
PE- Y+ PGP++ t- 5- X- R !tv b++ DI+++ D G e+ h+ r- y+
-----END GEEK CODE BLOCK-----
---------------------------------------------------------------------
To unsubscribe, send a message with the line: unsubscribe vnc-list
to majordomo "at" uk.research.att.com
See also: http://www.uk.research.att.com/vnc/intouch.html
---------------------------------------------------------------------