On Thursday 12 December 2002 03:45 pm, Brian wrote: | getting vnc to start at boot is tricky, since you want it to start as | some user, rather than as root. A solution I've been thinking of is | looking at the output os ps auxw, grepping for Xvnc owned by the | desired user, if its there exit, if not run vncserver as the user in | question. Putting it in cron with a /8 to check every 8 minutes | seems a good idea. My *guess* is that you would always want the server to start as the *same* user, if you want it to start at boot. In that case, it's quite simple, at least in theory (meaning, I haven't done this). If that is the only user who will *ever* want to own the server, then just make that user the owner of vnc and set the suid bit. If you want to keep the "default" vnc server with the usual owner (root?), then just create a hardlink used for the startup command and suid *that* as above. | | Bri | | On Thu, 12 Dec 2002, Daniel HARTMANN wrote: | > Bonjour, | > | > J'utilise vnc vers ma machine Freebsd. | > | > Mais comment démarrer "vncserver" automatiquement au boot sans | > taper la commande ?? | > | > Merci | > | > | > | > | > | > Dany_H ;-) | | To Unsubscribe: send mail to [EMAIL PROTECTED] | with "unsubscribe freebsd-questions" in the body of the message -- 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