VNC on RH Linux stops local programs

barnowl@uronramp.net barnowl "at" uronramp.net
Sat, 12 Jan 2002 17:11:08 +0000


On Fri, 11 Jan 2002 22:57:37 +0100
"Ceri Hankey" <ccah "at" thegreen.co.uk> wrote:
YOu might want to check the -inetd option. gives you a nice secure( no known issues other a new way to get root) way to get root X and also X as any other user on your box. can make debugiing much easier

Evan
> I saw this on-going converstaion and thought that I would join in...
> 
> As an "ex-newbie" and now merely an "ignorant Linux hacker", I would
> suggest, David, that you try to set up TWO Linux systems, One that you can
> trust and love, and another that you can experiment and play with - IF you
> have the disk space that is! It is a real luxury to have a WORKING Linux
> system (I have Mandrake 8.0) and an experimental (nearly working) system
> (Mandraake 8.1) on a totally different disk.
> 
> NB. if you log in as a user, then SU then run ANY X program, many of your
> user oriented X files (in /home/user) will be changed to owner root:root. It
> is dangerous to run X when in su mode.
> 
> If you are trying to run VNC as somebody else other than your normal
> username, create a normal user account (eg vnc) and run vnc from there. You
> can then get Linux to start vnc (under user vnc) via the file
> /etc/rc.d/rc.local)
> 
> I have put the following lines at the end of my rc.local and it works
> fine...
> # turn vncserver on
> su -l vnc -c "vncserver -cc 3 :1 -alwaysshared"
> But BE SURE that you have run vnc from the vnc account first to kick the
> password off.
> 
> Good luck
> 
> Ceri Hankey
> 
> 
> 
> ----- Original Message -----
> From: "David Colliver" <david.colliver "at" revilloc.com>
> To: <vnc-list "at" uk.research.att.com>
> Sent: Wednesday, January 09, 2002 11:01 PM
> Subject: Re: VNC on RH Linux stops local programs
---------------------------------------------------------------------
To unsubscribe, mail majordomo "at" uk.research.att.com with the line:
'unsubscribe vnc-list' in the message BODY
See also: http://www.uk.research.att.com/vnc/intouch.html
---------------------------------------------------------------------