VNC on RH Linux stops local programs

Greg Breland gregory "at" netdoor.com
Wed, 09 Jan 2002 21:34:00 +0000


Well, since you are a self aknowledged "newbie", I will take say this
first. DON'T run as root.  Really, I promise it is not that hard to run
as another user and just use the "su" command when you need to install
or configure something.

Ok, now that that is out of the way.  Edit the "xstartup" file in the
"~/.vnc/" directory.  Sounds like you already have a line like "startkde
&".  Comment this line out by putting a "#" in front of it.  Now below
the startkde line, add a new line with "exec gnome-session & ".  Kill
you existing vncserver with "vncserver -kill :1" assuming the existing
server is running on port 5901.  Start up a new server and you should be
running gnome.

I highly recommend moving to RH 7.2 if possible as this will not only
fix your KDE problem per another post on this problem, but VNC is
installed by default. 6 months is a long time in the Linux world and 6.2
was about 18 months ago. RH 7.2 is amazing.

Greg

Greg


On Wed, 2002-01-09 at 13:12, David Colliver wrote:
> Thanks.
> 
> Your answer to run as someone else is a question I have asked prior to this
> one. I am waiting to see how I can do that.
> 
> I suppose I could change the file in .vnc to run the gnome desktop instead
> of the KDE, so I have kde locally and gnome remotely. Can you tell me what
> the syntax for that is? (I am linux newbie).
> 
> Thanks.
> Dave.
> ~~
> All I ask is a chance to prove that money can't make me happy.
> 
> Collectible dolls from http://www.collectorsdolls.com
> Web design? http://www.revilloc.com is the answer.
> Tips, tricks and articles for programmers of all languages on
> http://www.sourcecodecorner.com
> Planning a wedding? http://www.bmcweddings.com
> Advertise your car for free on http://www.drivingseat.com
> 
> 
> ----- Original Message -----
> From: "Greg Breland" <gregory "at" netdoor.com>
> To: <vnc-list "at" uk.research.att.com>
> Sent: Wednesday, January 09, 2002 6:53 PM
> Subject: Re: VNC on RH Linux stops local programs
> 
> 
> > This is a KDE problem.  KDE does not operate correctly with multiple
> > instances running as the same person.  I am not sure if this has been
> > fixed or not, but I had the same problem around the RH 7.0 timeframe.
> >
> > How about running the VNC session as someone other than root.  Multiple
> > instances of KDE can be running, just not as the same person.
> >
> > Greg
> >
> > On Wed, 2002-01-09 at 12:21, David Colliver wrote:
> > > Hi,
> > >
> > > Further to my last email (which I am still looking for an answer for). I
> have
> > > discovered something else.
> > >
> > > I have started my VNC whilst logged in to KDE as root. That seems to be
> > > working fine, EXCEPT...
> > >
> > > No programs will work on the local machine. I can no longer navigate in
> my
> > > file manager (it just sits there). I cannot launch any programs. When I
> kill
> > > the Xvnc, I still cannot do anything. The only way to recover is to
> reboot. I
> > > though maybe my commands are being sent to the remote window, so I
> checked
> > > this. They are not, so I don't know what is happening.
> > >
> > > I am using RH6.2
> > >
> > > Regards.
> > > David Colliver.
> > > ~~
> > > All I ask is a chance to prove that money can't make me happy.
> > >
> > > Collectible dolls from http://www.collectorsdolls.com
> > > Web design? http://www.revilloc.com is the answer.
> > > Tips, tricks and articles for programmers of all languages on
> > > http://www.sourcecodecorner.com
> > > Planning a wedding? http://www.bmcweddings.com
> > > Advertise your car for free on http://www.drivingseat.com
> > >
> > >
> > >
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> > > To download your own free RevilloC mailserver, visit
> > > http://www.revilloc.com/mailserver
> > >
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> > > ---------------------------------------------------------------------
> > > 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
> > > ---------------------------------------------------------------------
> > ---------------------------------------------------------------------
> > 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
> > ---------------------------------------------------------------------
> >
> >
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> To download your own free RevilloC mailserver, visit http://www.revilloc.com/mailserver
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> ---------------------------------------------------------------------
> 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
> ---------------------------------------------------------------------
---------------------------------------------------------------------
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
---------------------------------------------------------------------