TeamViewer - Setup
TeamViewer allows you to connect to your work or home computer while you are away from it. It works behind the firewall barriers, NAT routers and proxies with no configuration necessary. Following are some general instructions on installing TeamViewer on OpenSUSE:
Step 1: Go to http://www.teamviewer.com/en/download and download the software depending upon your Operating System. (Follwing instructions are for OpenSUSE)
Step 2: Open the teamviewer_linux.rpm file with the "Apper Installer" and click "OK"
Step 3: It will ask you to "Press Continue if you want to install this file"
Step 4: It will ask you to Confirm additional changes that are required to complete the task.
Step 5: It should now start downloading and installing the software and packages needed by the software. Once the installation is complete, it should say "File was installed successfully" and you close the box.
Step 6: Next, it should launch TeamViewer and bring up the License Agreement for you to Accept and continue. (If the TeamViewer does not launch automatically then you can bring up the terminal and type "teamviewer" to launch the program).
Step 7: To gain remote control of the machine, an ID and Password is required. TeamViewer ID remain constant but the password changes every time TeamViewer starts. It is recommended that a personal password is created which can be used for authentication. In order to setup personal password, click on Connection and Setup unattended access:
Step 8: Click Next and enter the personal password. Next choose to create TeamViewer account or not and use the same TeamViewer ID or use something else and click Finish. Now the authentication can be done by the new password.
If your desktop computer is Linux distribution, the best software as I know for remote desktop is NX . To connect to your SCI's desktop computer from your home computer To install NX on server machine, first download Free NX's rpm package (for opensuse, deb package for ubuntu) from the NX's download page. You need to download all three packages: client, node and server. The NX webpage seems to require that you install client first, then node, and last the server package. The command for installing (on Opensuse) is:
# sudo rpm -i nxclient-3.4.0-7.i386.rpm
# sudo rpm -i nxnode-3.4.0-16.i386.rpm
# sudo rpm -i nxserver-3.4.0-17.i386.rpm
After install, nxserver should be active on your server machine. If not sure, you can run #/usr/NX/bin/nxserver --restart to restart the server session.
Then on your home computer, install nxclient package depending the home computer is Linux or Windows. After that you can run NXconnection Wizard. Choose unix->gnome and 'available area' in the wizard. By doing this, the NX window area will change with your client's window size. You can also choose 'shadow' instead of 'unix', and you'll get the same physical window that you use in front of the server machine. ( I don't like this because usually my home computer has different screen resolution with server machine, wihch makes the NX window ugly).
You can also choose 'KDE' in the NX client's wizzard, but as I know, gnome is better for NX's remote session. Another choice is windows maker, which is a windows manager instead of a desktop invironment. To use it, first install 'wmaker' package (either from opensuse's software repository or run "zypper install wmaker"), then in NX's client wizzard, choose 'custom' instead of 'gnome'. Click 'setting', and in 'running the following command', put 'wmaker'.
Then you can connect to server machine by running nxclient. After you are done using it, choose 'disconnect' to close the client but keep the session on the server machine active. By this, you can running jobs in the NX session without worry about jobs being killed (similar to 'nohup' option on command line). To kill the server process when you finish the work on remote machine, choose 'terminate'.
There is always more that one way to do things. In case NX doesn't work for you, you can set up vnc for remote access. VNC is a standard protocol, and there are various remote access software under Linux that uses VNC. Users can install vnc server and client under Opensuse by running
# sudo zypper install tightvnc
This will install vncserver, vncviewer and vncpasswd command under /usr/bin/ directory.
TightVNC over SSH:
You can tunnel a VNC connection over SSH (Secure Shell) to make it a secure connection.
For Windows Users:
If you want to tunnel from a Windows client then you can use the PuTTY software for the SSH connection to the machine. Download PuTTY from the following link:
Open PuTTY and fill in the Host Name (or IP address). You can also save this session for future by giving it a Session name and click on the Save button,
After this step, go to Connections, SSH and Tunnels from the left menu.
Once in the Tunnels menu, enter the default port of the TightVNC in the Source port (5901), Destination (hostname.sci.utah.edu:5901) and click the Add button.
Note: Return to the very first Session Category and click Save to save all the new changes.
Click Open to establish SSH Connection to the remote machine by entering the login information.
Now that the connection is active, open the TightVNC application and enter the following information for the Remote Host:
Remote Host: localhost::5901
Click on the Connect button to connect. You should be able to establish a VNC connection after entering the correct login credentials.
Windows Remote Desktop
Windows Remote Desktop only works if you are on the University Network. If you are outside and would like to Remote Desktop to your PC/Laptop, then you would need to use VPN service. Once you are connected via VPN, you should be able to establish a remote session via Remote Desktop to your PC/Laptop.
If you need help, you can request the help from SCI IT by sending an e-mail to firstname.lastname@example.org.
How to enable Remote Desktop (Windows 10):
Type "allow remote access to your computer" in (Type here to search). It should open "System Properties" and under Remote tab, select the bullet point which says "Allow remote connections to this computer". Admin Account/Users automatically have permission to connect to the computer remotely.
*You may have to allow Remote Desktop in firewall if the remote desktop is not working for you.
Remote Desktop Connection:
Type "mstsc or Remote Desktop Connection" in "Type here to search". Open Remote Desktop Connection and enter the IP or Complete Hostname (if in DNS) in the Computer area and hit Connect.
Enter the Username/Password with Admin privileges to connect to the PC/Laptop.
X2Go Remote Desktop Solution
X2Go is another remote desktop solution that you can use to connect remotely as it enables you to connect to the desktop/laptop over a low bandwidth connection. This is mainly for the Linux operation system and you can connect from different machines using Windows, Linux, Mac OSX.
Download and Install Server/Client Version from the following link:
Following are the client's settings and screen shots that will allow you to connect to the machine remotely:
Other options are avaiable, such as FastX. But, they usually require purchasing of Software License which needs to be approved by your Adviser/PI first.