Startx vnc through ssh
![startx vnc through ssh startx vnc through ssh](https://www.systutorials.com/wp/files/2014/02/1_9.jpg)
- Startx vnc through ssh how to#
- Startx vnc through ssh install#
- Startx vnc through ssh software#
- Startx vnc through ssh download#
![startx vnc through ssh startx vnc through ssh](https://www.linuxjournal.com/files/linuxjournal.com/linuxjournal/articles/055/5560/5560f1.jpg)
So at the very very end of the config file, add the following line of text: startxfce4 & We need to tell the VNC server to launch our chosen desktop environment.
![startx vnc through ssh startx vnc through ssh](https://i.stack.imgur.com/QJm0D.png)
By default, the VNC server application doesn’t give you a usable desktop environment you will just see a gray screen with a black X on it. It allows you to run any command you so choose when people make a VNC connection with the username you logged in as.
Startx vnc through ssh how to#
This configuration file tells the VNC server how to display itself to the client. Super simple! Edit the config file located at “~/.vnc/xstartup” with a command line text editor like nano. Fortunately, we just need to add one line to the default configuration file. Once these programs have been installed, we need to configure the VNC server to allow use of the desktop environment. So go grab a cup of coffee and come back.
Startx vnc through ssh install#
Next you must install the xfce desktop environment this may take a little while to download. Run the following two commands in your terminal to install the TightVNC server and the xfce desktop environment: sudo apt-get install tightvncserver Like I said before, I am going to use TightVNC.
Startx vnc through ssh software#
Once your current software is up to date, now we can install our new tools. It is always a good idea to check for updates to your software periodically, and I especially do it prior to installing something new. Run the following two commands to ensure that all of your repositories and all your applications are as up to date as possible. Now Open the connection to your server by clicking the Open button and login on your server at the black window that appears.īe sure to save your SSH connection, because it will make your life so much easier when you want to launch your secure VNC connection. If you want to save this login configuration for use again later, then enter a name into the “Saved Sessions” box and click the Save button. The default port number for SSH is 22, so if you haven’t manually changed that yourself it is most likely still 22. And as an added benefit, you can get the client application as a standalone binary for some easy portability. Both the client and server applications are very light weight yet still robust. For the VNC viewer and server, I like to user TightVNC. Personally, I like to use Putty for my Windows SSH client.
Startx vnc through ssh download#
I prefer using the xfce desktop environment for mine because it is smaller and more lightweight, which goes a long way on VNC! Once you have those programs installed on your Linux server, you just need to download a SSH client and VNC client on any computer you want to be able connect to your Linux server on with VNC thought your secure connection. If you are using a server edition of a linux distro, it likely won’t have one by default. Checkout my ultimate guide to virtual machines.Īfter getting a VNC server installed, we will need to install a desktop environment on our Linux server. Try installing Linux as a virtual machine using free software like VirtualBox. Want to learn Linux but you have a Windows computer. It’s not impossible to do though, and I will show how to set that up in a different article!
![startx vnc through ssh startx vnc through ssh](https://d1rytvr7gmk1sx.cloudfront.net/wp-content/uploads/2015/12/securityhero.jpg)
It is not commonly found on Linux machines for that reason. VNC is what most people will use for Linux, partially because Remote Desktop is actually a Windows tool used to remotely login to Windows computer that have it enabled. To get the desktop experience you have two choices: VNC or remote desktop. So having a desktop interface as an option is always a good choice to have available. Basics of remote administration with a user interface using VNCįor remote administration, you might not want to be forced to use a command line. With a few simple and free tools like TightVNC server and a little bit of SSH, we are off to the races with a great, secure solution. If you want a to use VNC for your administration, then be sure to create a secure VNC connection to keep away any prying eyes. Logging in locally is nice and all but not always feasible, so the need for a good and secure remote administration method is necessary. One of the most important aspects to a good server is even better administration tools.