In order to connect to your Ubuntu VM from a Windows first we have to enable the XRDP in the Ubuntu in order enable the Remote Desktop Connection. So to enable XRDP. Remote Access to the Ubuntu Linux. Remote Desktop access you are ready to try connecting. a Remote Ubuntu Linux Desktop from a Windows System.
![]() Using VNC to Operate a Desktop on Ubuntu 1. Updated Thursday, August 2. James Stewart. Use promo code DOCS1. This guide has been deprecated and is no longer being maintained. This guide details how to install a graphic desktop environment on your Linode running Ubuntu 1. VNC. Installing a Desktop and VNC on your Linode. Before you begin it’s good practice to make sure your system is up to date: 1. Ubuntu has several desktop environments available in its repositories. The following command installs the default desktop, Unity: 1sudo apt- get install ubuntu- desktop. Next install the VNC server: 1sudo apt- get install vnc. Securing your VNC connection. The default VNC connection is unencrypted. In order to secure your passwords and data, you will need to tunnel the traffic through an SSH connection to a local port. Mac OS X and Linux. From your desktop, connect to your Linode with the following command. Be sure to replace user@example. Linode’s hostname or IP address: 1ssh - L 5. Launch the VNC server manually to test your connection. You will need to specify a password to use: Initiate your connection as per the steps listed in the following section. Windows. Open Pu. TTY and navigate under the SSH menu to Tunnels. Add a new forwarded port as shown below, replacing example. Linode’s IP address or hostname: Return to the ‘Session’ screen. Enter your Linode’s hostname or IP address and a title for your session. Click save to save your settings for future use, and then click open to initiate your SSH tunnel. Launch the VNC server manually to test your connection. You will need to specify a password to use: Initiate your connection as per the steps listed in the following section. Connecting to VNC From your Desktop. Mac OS X and Windows. While there are many options for OS X and Windows, this guide will use Real. VNC Viewer. After installing and opening the viewer, connect to the localhost through your VNC client : You will be warned that the connection is unencrypted, however if you have followed the steps above for securing your VNC connection, your session will be securely tunneled to your Linode. To proceed, press Continue. You will be prompted to enter the password you specified in Step 4 of the previous section. After connecting you will be greeted with a terminal emulator window. In the next section we will configure your Linode to launch a full desktop. Linux. There are a variety of VNC clients available for Ubuntu desktops. You can find the list here. For this guide, we’ll be using Remmina, which is installed by default. Open Remmina. Click the button to Create a new remote desktop profile. Name your profile, specify the VNC protocol, and enter localhost : 1 in the server field. Be sure to include the: 1 in the Server section. In the password section fill in the password you specified in Step 4 of the previous section: Press Connect. In the next section we will configure your Linode to launch a full desktop. Configuring VNC for a Full Desktop. In the next few steps we’ll configure VNC to launch the full Gnome desktop. Once you’ve successfully connected, exit the connection. Close the VNC server: In your preferred text editor, open the xstartup file in your home folder under the . Uncomment the following two lines for normal desktop: # unset SESSION_MANAGER# exec /etc/X1. HOME/. Xresources ]& & xrdb $HOME/. Xresources. xsetroot - solid grey. VNCDESKTOP Desktop" &. Edit the last line of the file, replacing it with the following: Save and exit the file. Begin another VNC session: You should now see the full Ubuntu Desktop: Starting VNC Server on Boot. Below we’ve outlined optional steps to ensure that the VNC server starts automatically after reboot. Open your crontab. If you’ve never edited it before, you may be prompted to choose a text editor: 1. Select an editor. To change later, run 'select- editor'. Choose 1- 4 [2]. Add @reboot /usr/bin/vncserver : 1 to the bottom of the file. Your crontab should look like this: crontab. Edit this file to introduce tasks to be run by cron. Each task to run has to be defined through a single line. To define the time you can provide concrete values for. Notice that tasks will be started based on the cron's system. Output of the crontab jobs (including errors) is sent through. For example, you can run a backup of all your user accounts. For more information see the manual pages of crontab(5) and cron(8). Save and exit the file. Test by rebooting your Linode and attempting to connect to the VNC server. More Information. You may wish to consult the following resources for additional information on this topic. While these are provided in the hope that they will be useful, please note that we cannot vouch for the accuracy or timeliness of externally hosted materials. This guide is published under a CC BY- ND 4. How to login into a Ubuntu machine from Windows. I recommed to use SSH if you need terminal access. Install openssh- server on Ubuntu machine. Or you can find under software center. To connect from a Windows machine, download putty from HERE. Open putty and type in the Host Name or IP address for the Ubuntu machine. Type your username and password and login.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. Archives
November 2017
Categories |