[mythtv-users] OT: Starting VNCSERVER at startup

Jeff jeff at intersystems.com
Wed Jun 9 14:01:47 EDT 2004

Wednesday, June 9, 2004, 1:17:54 PM, Dan Boger wrote:

> On Wed, Jun 09, 2004 at 12:56:47PM -0400, Nate Thompson wrote:
>>    This is off-topic for this list, but I know quite a few people use
>>    VNC to access their Myth boxes from other computers. I was
>>    wondering how you set it up to right at startup. Currently, I have
>>    to enter 'vncserver :1 -name MythTV' into a terminal window
>>    everytime I boot. Anyone have an easy way to automate this process?

> On FC1 machines, you can edit /etc/sysconfig/vncservers, and chkconfig
> vncserver on.

> Dan

On Debian create a vncserver-start file in /etc/init.d which contains:

su --command='vncserver :1 -depth 16 -geometry 800x600' mythtv >> /var/log/vnc.log 2>&1

And then create a link from /etc/rc5.d/S99vncserver-start to
the file in /etc/init.d

More information about the mythtv-users mailing list