DZone Snippets is a public source code repository. Easily build up your personal collection of code snippets, categorize them with tags / keywords, and share them with the world

Snippets has posted 5883 posts at DZone. View Full User Profile

Start Tightvnc At System Startup

09.03.2005
| 5813 views |
  • submit to reddit
        Create the script /etc/init.d/tightvnc. Content is something like this:

#!/bin/bash
#
vncserver :1 -name sesion1 -depth 16 -geometry 800x600

Launch this command:

update-rc.d -f tightvnc defaults

Enjoy