How to start vnc server on-demand (not on boot)
Posted
by
QRohlf
on Ask Ubuntu
See other posts from Ask Ubuntu
or by QRohlf
Published on 2013-08-08T19:32:40Z
Indexed on
2014/05/28
15:58 UTC
Read the original article
Hit count: 256
I have a vps which has the basic xfce environment & tightvncserver installed.
I would like to have tightvncserver automatically start whenever I initiate a connection to the port it runs on (in my case, 5901
).
I've seen posts about using inetd
or xinetd
to do this, but I've also seen lots of posts saying that (x)inetd is not included in Ubuntu for a reason, and that it's a bad idea to use it.
Anyways, I'm looking for a way to auto-start tightvncserver whenever there's an incoming connection to port 5901, preferably with as few dependencies as possible
© Ask Ubuntu or respective owner