WebSphere Issues


Auto start VNCServer in RHEL V5 during system bootup

Filed under: Linux — Ishtiaque @ 9:47 am

1. Set VNC password:

2. Start the vncserver with root user by using the command vncserver :1

3. Add following lines in xstartup file located in /root/.vnc directory:
exec /etc/X11/xinit/xinitrc

4. Replace the highlighted letters in the xstartup file:

xterm -geometry 80×24+10+10 -ls -title “$VNCDESKTOP Desktop” &
twm &

with the following:

xterm -geometry 1024×768+10+10 -ls -title “$VNCDESKTOP Desktop” &
startx &

5. Switch user to root account and edit file vncservers located at /etc/sysconfig.  Add following lines at the bottom of the file:

VNCSERVERARGS[1]=”-geometry 1024×768″

6. Set auto run vncserver daemon upon system boot up:
chkconfig –level 5 vncserver on

7. Restart the machine


Leave a Comment »

No comments yet.

RSS feed for comments on this post. TrackBack URI

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

Create a free website or blog at WordPress.com.

%d bloggers like this: