Remote Desktop Access to the Ubuntu server on Azure

Source: Internet
Author: User
Tags remote desktop access
This blog post records the steps for enabling remote desktop to run remote access on the Ubuntu server.

This blog post records the steps for enabling remote desktop to run remote access on the Ubuntu server.

First, you need to create an Ubuntu server on Azure. The specific steps are skipped in this article.

  1. Use putty or other ssh tools to connect to the Ubuntu server on Azure. The address of the target host can be seen in the Azure Management Portal. Azure in China is generally an address ending with chinacloudapp.cn, the international version of Azure is cloudapp.net.
  2. Run sudo apt-get update.CommandEnsure that all packages are updated to the latest version.
  3. Run sudo apt-get install ubuntu-desktop. This command will install the ubuntu desktop. You will be prompted to confirm somewhere in the middle and click Y to continue.
  4. Now Ubuntu Desktop has been installed, but on the cloud server, you cannot display the desktop through a local display, so you need to install VNC server at this time, the command is sudo apt-get install vnc4server
  5. Run vncserver. At this time, you will be asked to enter the password for Remote Desktop Connection.
  6. Run vncserver-kill: 1
  7. Modify. vnc/xstartup
    !/bin/sh# Uncomment the following two lines for normal desktop:unset SESSION_MANAGER# exec /etc/X11/xinit/xinitrc/usr/bin/gnome-session &[ -x /etc/vnc/xstartup ] && exec /etc/vnc/xstartup[ -r $HOME/.Xresources ] && xrdb $HOME/.Xresourcesxsetroot -solid greyvncconfig -iconic &# x-terminal-emulator -geometry 80x24+10+10 -ls -title "$VNCDESKTOP Desktop" &# x-window-manager &
  8. You can use the volume Viewer.
  9. Save the connection session of putty, modify Thunnel, and increase by 3389 and 5001.
  10.  

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.