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 System-"preferences-" desktop sharing for the following settings.
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 only black and white background after login, no icon can not be manipulated.
------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, technical exchanges Please respect the results of labor reproduced please indicate the source, thank you!
http://blog.csdn.net/netwalk/article/details/26245465
Windows access Ubuntu via Remote Desktop