[LINUX] [NEWBIE] Little thing, took me awhile to figure out.

tgray@adacplastics.com tgray "at" adacplastics.com
Wed, 12 Apr 2000 16:08:27 +0000


I had "/usr/bin/kde &" at the end of my /root/.vnc/xstartup file, 
which works for other users.  It wasn't a matter of the config files 
being hosed or the wrong window manager being started for Xvnc.  

The problem revolved around running the vncserver script while su'd 
as root from a telnet connection.  When I ran it locally, it started 
properly and with the selected window manager.

On 12 Apr 2000, Jonathan Adams Leonard <vnc-list "at" uk.research.att.com> wrote: 


> One of those config files lets you set the startup programs when vnc
> is launched.  I can't remeber what it is...but if you want more than a
> terminal- or maybe you can specify a startup list just for root...
> 
> later,
>         Jonathan
> 
> 
> 
> tgray "at" adacplastics.com wrote:
> 
> > Heads up to anyone who hasn't run into this, maybe its a really
> > basic thing but hey, I'm new to Linux:
> >
> > I was telnetting in to my Linux box starting a VNC session and
> > then connecting to it with the viewer.  No problem, unless I wanted
> > to start the VNC session as root.  Naturally my box won't accept a
> > root telnet login so I had to login and su.
> >
> > When I connected to the root VNC server all I would get would be the
> > gray screen with the "X" mouse cursor.  So I was a good little boy
> > and checked the config files, looks at the vncserver script and all
> > that mess.  One thing I didn't do until recently was check the log
> > file of the session that was giving me fits.  When I did, it turns
> > out that is was that fact that I had started the server while I was
> > su'd to root and VNC starts up SUID root.  It doesn't like that.
> >
> > When I started the server logged in and the actual console of the
> > box it started up happily and that's the end of my story.
> >
> > Just sharing info, because sharing is something I learned in
> > kindergarten.
> >
> > "If you don't think life is interesting,
> > you're not paying enough attention." me, 1987-ish.
> > --Tim Gray
> > --------------------------------------------------------------------
> > - 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
> > --------------------------------------------------------------------
> > -
> ---------------------------------------------------------------------
> 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
> ---------------------------------------------------------------------
> 
> 


"If you don't think life is interesting,
you're not paying enough attention." me, 1987-ish.
--Tim Gray
---------------------------------------------------------------------
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
---------------------------------------------------------------------