Can I start x0vncserver automatically at login time?

Yes, you can run x0vncserver at startup. You can usually run any X application at startup by adding it to the "display manager" configuration.� If it's using GDM there should be a directory /etc/X11/gdm/Init containing a file called ":0" or "Default"
(which may be a symlink to /etc/X11/xdm/Xsetup_0), to which you can add a line such as:

/usr/bin/x0vncserver &

However, some versions of GDM will kill any X application which has a window when someone logs in. This means the best you can do is to add a line to one of the other GDM files (PreSession/Default) to start another x0vncserver when someone logs in.

The user will be kicked off but will then be able to connect in again.


Related Articles

No related articles were found.

Attachments

No attachments were found.

Visitor Comments

Article Details

Last Updated
4th of February, 2011

Would you like to...

Print this page  Print this page

Email this page  Email this page

Post a comment  Post a comment

 Subscribe me

Subscribe me  Add to favorites

Remove Highlighting Remove Highlighting

Edit this Article

Quick Edit

Export to PDF


User Opinions



How would you rate this answer?




Thank you for rating this answer.

Continue

© RealVNC Limited