Posts tagged VNC installation on openSUSE

TeamViewer and VNC installation on openSUSE

As we all know that  TeamViewer connects to any PC or server around the world within a few seconds.

You can manage the remote machine as if you are logged into that machine.

You can install   TeamViewer on  your openSuse  box by following the below simple steps ::

1 >  Download the   TeamViewer package for  openSUSE

root@server[#]  cd  /usr/src
root@server[#] wget http://www.teamviewer.com/download/teamviewer_linux_suse64.rpm

2 >  Install the required binaries

root@server[#]   zypper install libfreetype6-32bit
root@server[#]  zypper install wine

3 > Install TeamViewer package by using zypper or rpm

root@server[src]# rpm --install teamviewer_linux_suse64.rpm
or
root@server[src]# zypper in teamviewer_linux_suse64.rpm

This will install TeamViewer on  your machine.

Now to access   TeamViewer you have to install   vnc viewer

Follow the below steps to install   vnc viewer

root@server[#] zypper install tightvnc
or
root@server[#] zypper install tightvnc-1.3.9-110.1.x86_64

This will  install vnc viewer, Now next step is to configure it

root@server[#] vncserver
You will require a password to access your desktops.
Password:
 Warning: password truncated to the length of 8.
 Verify:
 Would you like to enter a view-only password (y/n)? n
New 'X' desktop is server.localhost.com:1
Creating default startup script /root/.vnc/xstartup
 Starting applications specified in /root/.vnc/xstartup
 Log file is /root/.vnc/server.localhost.com:1.log

Now it’s time to  replace the   xstartup file to  set kde  as desktop  for vnc viewer

root@server[.vnc] # cat xstartup
 #!/bin/sh
 xrdb $HOME/.Xresources
 xsetroot -solid grey
 xterm -geometry 80x24+10+10 -ls -title "$VNCDESKTOP Desktop" &
 twm &

replace with

root@server[.vnc] # cat xstartup
#!/bin/sh
 [ -x /etc/vnc/xstartup ] && exec /etc/vnc/xstartup
 [ -r $HOME/.Xresources ] && xrdb $HOME/.Xresources
 xsetroot -solid grey
 vncconfig -iconic &
 startkde &

This will set KDE as desktop for vnc viewer.

Now open your VNC client and you can  access your openSUSE box as

vnc server :: 10.10.10.176:1

Note ::  here 1 is  the port

Finally you can  access  TeamViewer via vnc viewer as ::

 

 That’s all