about Windows access to Ubuntu via Remote Desktop

Source: Internet
Author: User
Tags remote desktop access

about Windows access to Ubuntu via Remote Desktop


Questions and Objectives

Windows environment visits 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 for example, the following settings.



Run the following command, which functions because the GNOME desktop is installed. At the same time in ubuntu12.04, there are multiple desktop managers for unity and GNOME, which need to be specified when booting. Otherwise, even if the remote login verification is successful, it is only the background and nothing else.

cd/home/youruser (youruser is everyone's own username)

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, assuming that there is no such action, such as the following problems:

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

Windows side

There are two ways windows can access

1. Windows comes with a Remote Desktop (XVNC). This is very easy.






Input on Ubuntu system username and password (Ubuntu end system username and password)



2. Use the remote Desktop that comes with Windows. can also use Vncviewer, (Vnc-any)




This place chooses the Ubuntu end machine Ip,password to enter in the Ubuntu Terminal Remote Desktop settings, agreed to visit the interview 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 see what changes and operations on the desktop, and such a way, the widows end user access to ask very fast, the delay time is very short, almost feel not come out.

2, through the Vnc-any way to visit 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 to ask

4. From Ubuntu13.10, it is said that because of compatibility issues between XRDP, GNOME, and unity, it is not possible to use XRDP to log on to gnome or unity's Remote Desktop in Ubuntu. The phenomenon is that only black and white dots are background after login. No icons can be manipulated.

------workaround is to use XRDP to log on to Xfce's remote Desktop. Or you can use XRDP to log in 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


about Windows access to Ubuntu via Remote Desktop

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.