about Windows accessing Ubuntu via Remote Desktop

Source: Internet
Author: User
Tags remote desktop access

about Windows accessing Ubuntu via Remote Desktop


Questions and Objectives

Windows environment accesses Ubuntu via Remote Desktop

Ubuntu Machine Side
1. Install the required packages

Sudoapt-get Install XRDP

sudo apt-get install vnc4server tightvncserver


2. Configuration

Enter the system - "Preferences - "desktop Sharing is set up as follows.



Execute the following command, which is the result of installing the GNOME desktop, the presence of unity, gnome multiple desktop manager in ubuntu12.04, and the need to specify one when booting, or even if the remote login verification is successful, it is only the background and nothing else.

cd/home/youruser (youruser is everyone's own user name )

echo "gnome-session--session=ubuntu-2d" >. xsession

Sudo/etc/init.d/xrdprestart

 

Terminal Input Command:

sudo gedit/etc/xrdp/startwm.sh

In. /etc/x11/xsession a row before inserting a line:

echo "Gnome-session--session=ubuntu-2d" >. xsession

Or

echo "Gnome-session--session=gnome-classic" >. xsession

Save exit.

Input command

sudo service xrdp restart

Or

Sudo/ect/init.d/xrdprestart

Description

echo "Gnome-session--session=ubuntu-2d" >. xsession

This operation is required for Remote Desktop, and if this is not the case, the following problems may occur:

When you connect Ubuntu xrdp with Windows MSTSC, only the wallpaper is displayed

Windows side

There are two ways to access the Windows side

1, Windows comes with the Remote Desktop (XVNC), this is very simple






Enter the username and password for the Ubuntu system (user name and password for Ubuntu end system)



2, use the window to bring the Remote Desktop, you can also use Vncviewer, (Vnc-any)




This place chooses the IP of the Ubuntu end machine, the password is entered in the Ubuntu Terminal Remote Desktop setting, allows access to the access password




Description

1, through the XVNC way to access the Remote Desktop, in fact, the equivalent of Windows on the Ubuntu machine on a new user desktop, Ubuntu terminal is not seen on the computer desktop changes and operation, and this way, widows end user access speed, delay time is very short, Hardly feel it.

2, through the Vnc-any way to access the Remote Desktop, the user on the windows side of the operation synchronization to the Ubuntu side, Ubuntu Terminal Desktop real-time to see the operation of Windinws end users.

The equivalent of QQ remote control desktop.

3, in Ubuntu11.04 and Ubuntu12.04 can use the above method to achieve Remote Desktop access

4, starting from Ubuntu13.10, is said to be due to xrdp, gnome and unity between the compatibility issues, in Ubuntu can not use XRDP landing gnome or unity Remote Desktop, The phenomenon is that only black and white dots are background and no icons can be manipulated after logging in.

------Workaround: Use XRDP to log in to Xfce's Remote Desktop, or you can use XRDP to log on to mate's remote Desktop.



----------------------------------

Welcome to browse and technical ExchangePlease respect the fruits of laborReprint Please indicate the source, thank you! http://blog.csdn.net/netwalk/article/details/26245465


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.