pasobtoyou.blogg.se

Ubuntu 16.04 vnc server aws
Ubuntu 16.04 vnc server aws













  1. #Ubuntu 16.04 vnc server aws how to
  2. #Ubuntu 16.04 vnc server aws install
  3. #Ubuntu 16.04 vnc server aws software
  4. #Ubuntu 16.04 vnc server aws password

Using SSH port tunneling is also a more secure way to access a VNC server.įrom my laptop computer, login to the remote AWS server and enable SSH port forwarding using the following command: Laptop:$ ssh -L 5901:localhost:5901 -i ~/Documents/Ubuntu-2-keypair.pem on the AWS server, start the VNC server application AWS:$ vncserver This method will work in almost any environment, such as my home, my local library, or a coffee shop. Most firewalls allow SSH traffic to pass, but block VNC by default. I use SSH port forwarding because it allows me to connect from my laptop computer to the VNC server running on the Amazon AWS instance. Click on the instance and then use the Actions button. One way to do this is to use the AWS console.

#Ubuntu 16.04 vnc server aws software

It’s not necessary but I usually like to reboot after installing a lot of software on a system, just to give it a clean start. Now, you may want to reboot the instance. # x-terminal-emulator -geometry 80x24+10+10 -ls -title "$VNCDESKTOP Desktop" & # Uncomment the following two lines for normal desktop: The xstartup file should now look like below: #!/bin/sh Add the lines unset DBUS_SESSION_BUS_ADDRESS and startxfce4 & after the second commented-out line (ignore the instructions in the file to uncomment both lines). In this case, I use the nano text editor: AWS:$ nano ~/.vnc/xstartup Now, stop the vncserver application: AWS:$ vncserver –kill :1Įdit the vncserver configuration file, ~/.vnc/xstartup. It displays the locations of these files on the screen. When vncserver runs for the first time, it sets up a default configuration file and a log file.

ubuntu 16.04 vnc server aws

#Ubuntu 16.04 vnc server aws password

Choose your password and enter it at the prompt, then enter it a second time to verify. It will ask you to create a VNC password. Next, run the VNC server to set up the configuration.

ubuntu 16.04 vnc server aws

#Ubuntu 16.04 vnc server aws install

Login to the AWS server: Laptop:$ ssh -i ~/Documents/Ubuntu-2-keypair.pem the XFCE desktop and a VNC server: AWS:$ sudo apt-get updateĪWS:$ sudo apt-get install xfce4 vnc4server Remember, we are using the new user-id brian I previously created, not the default userid ubuntu. To install xvnc4viewer, run the command: Laptop:$ sudo apt-get install xvnc4viewer See the Ubuntu documentation for information about other VNC viewer applications.

ubuntu 16.04 vnc server aws

I chose to use xvnc4viewer, the default for Xubuntu (I use Xubuntu on my laptop. On my laptop computer, I install and use a VNC viewer application. We will install the XFCE Linux destop environment and a VNC server on the remote Amazon AWS server. Switch to this new user-id before continuing. Please see my previous post for the procedure to set up a new user. Important: Create a new user-idĬreate a new userid that has a password before continuing. X11 display forwarding is already built-in to Linux so I will only cover it briefly.

#Ubuntu 16.04 vnc server aws how to

In this post, I will mostly discuss how to set up and use VNC.

  • The X Window System, via SSH display forwarding.
  • VNC, Virtual Network Computing, via SSH port forwarding.
  • There are two common methods for accessing a remote server’s graphical user interface: In this example, I chose to run the XFCE desktop environment on the Amazon AWS remote server because XFCE uses less resources than other desktop environments such as Gnome or KDE. In this post I will show how to install a Linux desktop (in this case, XFCE) and how to set up either VNC or X11 on a server and client.

    ubuntu 16.04 vnc server aws

    Then, I need to set up the server and my client devices to allow the graphical user interface displayed on a remote server to be viewed on a local client. To accomplish this, I first need to install a Linux desktop environment on the remote Ubuntu server. I want be able to access a network simulator from any device such as a personal computer, a tablet, or even a smart phone. Now I would like see if I can run one or more of the open-source network simulators I’ve been using on this remote server. In a previous post, I showed how easy it is to set up a remote server on Amazon’s AWS service.















    Ubuntu 16.04 vnc server aws