![lubuntu vnc through ssh lubuntu vnc through ssh](https://i.stack.imgur.com/mfAVO.png)
You can even multicast them so that in just a few hours, to guess, all the workstations can be imaged with a common configuration, same version, etc. The one CloneZilla server provides pre-configured images for the workstations which can be installed over the network.
![lubuntu vnc through ssh lubuntu vnc through ssh](http://1.bp.blogspot.com/-Y2eNuCYfghE/VjFGiBVX9XI/AAAAAAAAsvc/AHmWGiqyOz4/s1600/Screen%2BShot%2B2015-10-28%2Bat%2B3.01.21%2BPM.png)
Make it executable: sudo chmod 0755 /usr/local/bin/start-remote-desktop.shĪdd it to your default user configuration: sudo sh -c 'echo "/usr/local/bin/start-remote-desktop.sh" > /etc/skel/.profile'Īs far as the human factor goes in maintaining 500 workstations, you would love using CloneZilla. Gconftool-2 -s -t bool /desktop/gnome/remote_access/prompt_enabled false sudo vim /usr/local/bin/start-remote-desktop.sh There are times when you need to remote into a Linux desktop. Use your favorite editor over vim if you like. If your network doesn't allow connections into the default VNC port 5901, you can tunnel it through SSH. You could create scripts for this, too, maybe /usr/local/bin/start-remote-desktop.sh. Gconftool-2 -s -t bool /desktop/gnome/remote_access/enabled true Establish an SSH Tunnel using the following command: ssh -L 5901:localhost:5901 -N -f -l USER IP. The recommended method is to route your VNC connection through an SSH tunnel. gconftool-2 -s -t bool /desktop/gnome/remote_access/prompt_enabled false However, it is strongly recommended that you do not make your VNC server directly open to the internet. Ask gnome not to ask, "Are you sure?" after enabling the remote desktop access. It's also considerably less of a security risk as the SSH user is the only person who's going to see the VNC server always-visible, always-on VNC servers are popular target hacks. This method is better than just running a VNC server on every machine because you're not going to slow every machine down all the time. x11vnc will then automatically try to find the right display. If your computers have funny display settings, you might do better to leave off the -display :0 segment in the SSH command. You don't have to open up any ports (as long as you can already SSH). Enabling SSH will allow you to connect to your system remotely and perform administrative tasks.
#Lubuntu vnc through ssh how to
This tutorial explains how to enable SSH on an Ubuntu machine.
![lubuntu vnc through ssh lubuntu vnc through ssh](https://www.tecmint.com/wp-content/uploads/2013/07/VNC-3.jpg)
Each interaction between the server and a client is encrypted. The SSH command starts a vnc server on the remote computer and then tunnels back that port over SSH. Secure Shell (SSH) is a network protocol used for a secure connection between a client and a server. Obviously swapping for the username and hostname/IP of the remote computer.Īnd then use a VNC client of your choice to connect to localhost:5900. Then from your local computer run: ssh -L 5900:localhost:5900 "x11vnc -display :0 -noxdamage"
#Lubuntu vnc through ssh install
It's a simple VNC server and you won't have to mess around with Gnome settings or 500 firewalls, just install x11vnc on all your computers (with puppet or whatever you're using for mass-control). Some VNC clients, like the popular TightVNC, don’t encrypt your. Tcp 0 0 127.0.0.1:631 0.0.0.0:* LISTEN 5583/cupsd If you’re connecting to a remote desktop using the Virtual Network Computing (VNC) protocol, your connection might not be secure. While many alternatives are available, x11vnc is a very simple and desktop-independent tool, that can be used anywhere. In this tutorial we saw the fundamental steps needed to configure and use the x11vnc server. Tcp 0 0 0.0.0.0:5901 0.0.0.0:* LISTEN 22196/Xtightvnc While Vnc does not even come near to represent a substitute for ssh, it can be the right tool to use for some specific tasks. I ran netstat -anltp|grep LISTEN and got this: