How do I get X11 Forwarding to work on Windows with PuTTY and Xming? and based on some other researches. Xming for Windows setting up difficulties A INPUT -m state -state NEW -m udp -p udp -dport 5900 -j ACCEPT A INPUT -m state -state NEW -m tcp -p tcp -dport 5900 -j ACCEPT So, I tried XMing to open up the terminal. I found a command vino-preferences to setup which cannot be opened in Putty. However, although I added ucd/tcp port 5900 to iptables and endpoints in Azure management portal, I cannot config the "Activating Remote Desktop Access" because I am in Putty terminal, no GUI can be opened. I didn't try it yet because according to a system engineer, building from source is not good idea and not secure for a production server. Since there is no native build XRDP for CentOS so I have to build myself. Now using Putty SSH for Windows to connect the Linux server without problem.īased on the search in Internet, vino-server is a remote desktop based for VNC(Virtual Network Computing) and RDP(Remote Desktop Protocol).įor using Windows RDP, XRDP is required while VNC could be used without any further packages but a bit of configurations. "Desktop" is known as "Gnome Desktop Environment" in previous version.Įdit: vino-server is VNC server for Gnome, tigervnc-server is required for CentOS 6.5 as a full featured VNC server Yum groupinstall "X Window System" "Desktop" (based on CentOS wiki but not sure what is the difference between "Desktop" and "Basic-Desktop" in some tutorialsĮdit: Basic-Desktop is not fully installed while Desktop is fully installed for all features. In the Server, the following packages are installed: Server OS: Using OpenLogic's Linux CentOS 6.5 from Azure list Ssh -L 5900:localhost:5900 start the vnc server, then point your vnc client at localhost.I have built the following VM in Windows Azure for a small web server for my client. When you have succesfully logged ssh to your workstation: When prompted for a username and password, enter your CRSID and your admitto credentials. Click "Open" and this should ssh to citadel forwarding those ports. Then under Connection->SSH->Tunnels enter the following and click on Add.Īt this point under Session->Saved Sessions, you may wish to give it a name and save the settings. If you are trying to connect from a windows machine you may like to use putty to set up the tunneling. Then start the VNC server and point your client at localhost. In your ~/.ssh/config file, add the following lines substituting in the fully qualified name of your workstation: Ssh -L 5900:localhost:5900 start the VNC server and point your client at localhost You can obtain this by typing "hostname -f" in a terminal window. ![]() You will also need to substitiute workstation.ch.uk with the fully qualified hostname of your workstation. Then just connect your vnc client to localhost.įor the following commands you will need to substitude CRSID for your CRSID. X11vnc -clientdpms -ncache 10 -rfbauth ~/.vnc/passwd -display :0 -localhost ![]() Ssh -L 5900:localhost:5900 Set a VNC password (you should only need to do this once). You will need to be on the department network (e.g VPN, ChemNet): Ssh to your workstation and forward some ports (in this example just called workstation). ![]() ![]() To do this, simply lock your screen before you leave it (Ctrl+Alt+L). If you have an existing desktop session running on your linux workstation, you should be able to connect remotely to it with VNC. We suggest remmina (linux), Real VNC Viewer (Windows, OSX). On the machine you are connecting from you will need a VNC client. On your workstation you will need a VNC server: You can connect to an existing desktop session on your linux workstation with VNC.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |