starting vncserver

Ben Kosse BKosse "at" thecreek.com
Tue, 29 Dec 1998 17:17:44 +0000


I had to make it do this to work:
su -l <username> -c 'vncserver <other parameters>'

The "-l" parameter causes the program to execute in the user's full
environment.

--
Ben Kosse
bkosse "at" thecreek.com
PC Support Analyst
Coldwater Creek Inc.
(208) 265-7114


> -----Original Message-----
> From: Mitchell Urquhart Open Systems Engineer 
> [mailto:mitch "at" kinley.com]
> Sent: Monday, December 14, 1998 11:09 AM
> To: vnc-list "at" orl.co.uk
> Subject: Re: starting vncserver
> 
> 
> That helps, but "vncserver" chokes looking for my vncpasswd 
> file, because it
> can't find it in the "current" path, which is
> "/usr/local/sbin:/sbin:/bin:/usr/sbin:/usr/bin"  at boot 
> time.   Can you
> tell me where this "system-bootime-path" gets set, so I can 
> add the path to
> my VNC server (which is in a root accessable only directory...
> /usr/X11R6/bin/Vnc/).   I'm afraid I am too new to Linux 
> administration to
> know how to change that yet ..... ;^).
> 
> ... mitch
> 
> 
> Ben Kosse wrote:
> 
> > What happens when you use full paths (i.e. 
> /usr/X11R6/bin/vncserver)?
> >
> > --
> > Ben Kosse
> > bkosse "at" thecreek.com
> > PC Support Analyst
> > Coldwater Creek Inc.
> > (208) 265-7114
> >
> > > -----Original Message-----
> > > From: Mitch Urquhart [mailto:mitch "at" kinley.com]
> > > Sent: Monday, December 14, 1998 4:28 AM
> > > To: vnc-list "at" orl.co.uk
> > > Subject: starting vncserver
> > >
> > >
> > > Can anyone suggest a good method to start the vncserver 
> as part of the
> > > system startup on
> > > a linux box ?   I am having a little trouble starting mine in
> > > /etc/rc.d/rc.local , probably because of paths that are not yet
> > > established when I try to load.
> > >     Any suggestions ?
> > > ... mitch
> > >
> > >
> > >
> > > 
> ---------------------------------------------------------------------
> > > The VNC mailing list     -   see 
> http://www.orl.co.uk/vnc/intouch.html
> > > 
> ---------------------------------------------------------------------
> > >
> >
> > 
> ---------------------------------------------------------------------
> > The VNC mailing list     -   see 
> http://www.orl.co.uk/vnc/intouch.html
> > 
> ---------------------------------------------------------------------
> 
> 
> 
> --
> 
> Best regards,
> Mitchell Urquhart
> Kinley Corporation
> 713-664-4501
> 713-664-1037 (FAX)
> 
> ======================================================
>    Mitchell Urquhart - Senior Open Systems Engineer
>               mitch "at" kinley.com
>    --- We are all excited and enthused by hope, ---
>    --- But a true scientist waits for the data. ---
> ======================================================
> 
> 
> 
> ---------------------------------------------------------------------
> The VNC mailing list     -   see http://www.orl.co.uk/vnc/intouch.html
> ---------------------------------------------------------------------
> 

---------------------------------------------------------------------
The VNC mailing list     -   see http://www.orl.co.uk/vnc/intouch.html
---------------------------------------------------------------------