WebSphere Issues

09/02/2010

Auto start VNCServer in SLES v9 during system bootup

Filed under: Linux — Ishtiaque @ 9:48 am

1. Set VNC Server Password:
vncpasswd

2. Comment out the following two lines in xstartup file located in .vnc/ directory:
unset SESSION_MANAGER
exec /etc/X11/xinit/xinitrc

3. 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×786+10+10 -ls -title “$VNCDESKTOP Desktop” &
startx &

3. Add following line in boot.local file located in /etc/init.d/ directory:
vncserver :1

4. Set auto run xinetd and vnc daemons upon system boot up:
chkconfig -s xinetd on
chkconfig -s vnc on

5. Restart machine.

Advertisements

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: