<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Startup Script on Michael’s Domain</title><link>https://jeltsch.org/en/tags/startup-script/</link><description>Recent content in Startup Script on Michael’s Domain</description><generator>Hugo</generator><language>en-us</language><copyright>Copyright © 2002 - 2026 Michael Jeltsch.</copyright><lastBuildDate>Fri, 24 Jul 2026 00:18:18 +0300</lastBuildDate><atom:link href="https://jeltsch.org/en/tags/startup-script/index.xml" rel="self" type="application/rss+xml"/><item><title>Startup script for VNC server</title><link>https://jeltsch.org/en/startup_script_for_vnc_server/</link><pubDate>Sat, 26 May 2007 00:00:00 +0000</pubDate><guid>https://jeltsch.org/en/startup_script_for_vnc_server/</guid><description>&lt;p&gt;To start up the VNC server automatically as a service during booting, you need this 
 &lt;a href="http://www.mpthrill.com/vncrc/downloads/Linux/bash/vncserver" target="_blank" rel="noopener noreferrer nofollow"&gt;shell script&amp;nbsp;






 
 
 
 &lt;svg class="svg-inline--fa fas fa-up-right-from-square fa-2xs" fill="currentColor" aria-hidden="true" role="img" viewBox="0 0 512 512" overflow="visible"&gt;&lt;use href="#fas-up-right-from-square"&gt;&lt;/use&gt;&lt;/svg&gt;&lt;/a&gt;
. You probably also can write a much simpler shell script yourself, that does the same job. In fact you will have to as this script is broken on RedHat 9. The simplest shell script is of course the command &amp;ldquo;vncserver&amp;rdquo; alone… This script goes into the folder /etc/init.d. Then you make a symbolic link in the directory /etc/rc5.d that points to the script. The /etc/rc5.d directory contains a bunch of links to scripts in the init.d file which are executed when the system is entering runlevel 5 (runlevel 5 is the one where you have the gui and multiple users enabled, the one you most likely use in 95% of all cases). There are other directories for other runlevels (e.g. /etc/rc3.d for runlevel 3, etc.).&lt;/p&gt;</description></item></channel></rss>