Re: vnc at start-up
Try this: http://www.dei.isep.ipp.pt/~andre/extern/ixvnc.htm The newest versions of XVnc have the patch built in. Effectively, this allows a XVnc session to be launced via inetd, and upon initial connection you are presented with a [XKG]DM login screen. You can even configure the web component to do the same. And, with some clever SSH tunnels created on bootup, you can encrypt your VNC session. -Matt On Wed, 2003-01-29 at 21:27, Roger Merritt wrote: > I've installed vnc from the ports and it works fine, but it's annoying to > have to log on to my server and start the vncserver every time I want to > connect from my desktop PC. One problem is my server has been randomly > rebooting (I suspect hardware problems but ...), so I can't just leave the > server running. > > I tried putting a start-up script in /usr/local/etc/rc.d and it works, but > in the vncserver script itself there is a loop which checks for the > availability of commands, including xauth. Apparently during boot-up the > PATH doesn't include /usr/X11R6/bin, so on boot-up one of the messages I > get is 'vncserver: couldn't find "xauth" on your path' and the server isn't > started. > > Can anyone suggest what I should do to make this work? -- Matt Smith <[EMAIL PROTECTED]> To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-questions" in the body of the message
Re: vnc at start-up
No, not the vncserver script, the init script that invokes vncserver. In fact, if you simply replace the line that says vncserver with the *exact* syntax I put in, it will work. THe parentheses start a local environment and the PATH adds to the path for that environment and then invokes vncserver with the "richer" environment that will make it happy. (PATH=$PATH:/usr/X11R6/bin; vncserver) On Thursday 30 January 2003 01:30 am, you wrote: | At 10:12 AM 1/30/03, you wrote: | >(PATH=$PATH:/usr/X11R6/bin; vncserver) | > | >-- | >Brian, the man from Babble-On . . . . [EMAIL PROTECTED] (personal) | | I think you are telling my I should edit the vncserver script to | modify the PATH environment variable. OK, that sound right. | | Thank you. -- Brian, the man from Babble-On . . . . [EMAIL PROTECTED] (personal) To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-questions" in the body of the message
Re: vnc at start-up
On Thu, 30 Jan 2003 02:28:19 -, [EMAIL PROTECTED] (Roger Merritt) wrote: >I've installed vnc from the ports and it works fine, but it's annoying to >have to log on to my server and start the vncserver every time I want to >connect from my desktop PC. One problem is my server has been randomly >rebooting (I suspect hardware problems but ...), so I can't just leave the >server running. > >I tried putting a start-up script in /usr/local/etc/rc.d and it works, but >in the vncserver script itself there is a loop which checks for the >availability of commands, including xauth. Apparently during boot-up the >PATH doesn't include /usr/X11R6/bin, so on boot-up one of the messages I >get is 'vncserver: couldn't find "xauth" on your path' and the server isn't >started. > >Can anyone suggest what I should do to make this work? What about starting it via xdm? Just add a line to the bottom of /usr/X11R6/lib/X11/xdm/Xservers. To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-questions" in the body of the message
Re: vnc at start-up
On Thu, Jan 30, 2003 at 09:27:42AM +0700, Roger Merritt typed: > I've installed vnc from the ports and it works fine, but it's annoying to > have to log on to my server and start the vncserver every time I want to > connect from my desktop PC. One problem is my server has been randomly > rebooting (I suspect hardware problems but ...), so I can't just leave the > server running. > > I tried putting a start-up script in /usr/local/etc/rc.d and it works, but > in the vncserver script itself there is a loop which checks for the > availability of commands, including xauth. Apparently during boot-up the > PATH doesn't include /usr/X11R6/bin, so on boot-up one of the messages I > get is 'vncserver: couldn't find "xauth" on your path' and the server isn't > started. > > Can anyone suggest what I should do to make this work? What about putting PATH=${PATH}:/usr/X11R6/bin; export PATH in your startup script? > > -- > Roger > > > To Unsubscribe: send mail to [EMAIL PROTECTED] > with "unsubscribe freebsd-questions" in the body of the message To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-questions" in the body of the message
vnc at start-up
I've installed vnc from the ports and it works fine, but it's annoying to have to log on to my server and start the vncserver every time I want to connect from my desktop PC. One problem is my server has been randomly rebooting (I suspect hardware problems but ...), so I can't just leave the server running. I tried putting a start-up script in /usr/local/etc/rc.d and it works, but in the vncserver script itself there is a loop which checks for the availability of commands, including xauth. Apparently during boot-up the PATH doesn't include /usr/X11R6/bin, so on boot-up one of the messages I get is 'vncserver: couldn't find "xauth" on your path' and the server isn't started. Can anyone suggest what I should do to make this work? -- Roger To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-questions" in the body of the message