Home PC Games Linux Windows Database Network Programming Server Mobile  
  Home \ Linux \ Use ldap implement Windows Remote Desktop Ubuntu Linux     - Linux disk management practices (Linux)

- Vi syntax highlighting settings (Linux)

- Fedora && Arch Linux - the most romantic thing to happen now (Linux)

- To install Oracle Database Details and FAQ Summary under CentOS (Database)

- Flask installation environment (Linux)

- Ora-00439: feature not enabled: managed standby (Database)

- The method of installing software under Ubuntu Linux (Linux)

- CRF ++ Linux use (Linux)

- Using PHP MySQL library (Programming)

- Detailed Linux su command to switch users Mistakes (Linux)

- Ubuntu under shadowsocks configuration instructions (Linux)

- Linux fast set ip bond (Linux)

- Yii2 Advanced Version Copy New Project Problem Solved (Programming)

- GRUB and Linux system repair (Linux)

- Hadoop scheduling availability of workflow platform - Oozie (Server)

- Diagnose and resolve the SSH connection slow (Linux)

- Ubuntu Apache2 setting, problem solving css, pictures, etc. can not be displayed (Server)

- Java eight new features 8 (Programming)

- C language print various graphic (Programming)

- OpenGL Superb Learning Notes - Fragment Shader (Programming)

  Use ldap implement Windows Remote Desktop Ubuntu Linux
  Add Date : 2018-11-21      
  Under normal circumstances we use ssh remote login Linux client systems, as Linux remote login tool graphical interface, we usually think of vnc, but its security is not enough, here I will describe the installation and configuration method XRDP. We can easily through Windows Remote Desktop Ubuntu Linux.

xrdp installation configuration

Open a terminal: click Install

sudo apt-get install xrdp

sudo apt-get install vnc4server tightvncserver

Setting xrdp

echo "gnome-session --session = gnome-classic"> ~ / .xsession

The role of the command is due to install gnome desktop, ubuntu12.04 coexist in unity, GNOME multiple desktop manager needs to specify a start time, or

Even after a successful remote login authentication, only the background.

xrdp configuration files in xrdp.ini and sesman.in / etc / xrdp directory, usually selected by default.

Restart xrdp

sudo /etc/init.d/xrdp restart

Running Windows mstsc

That windows remote desktop, open the input remote Ip, connection, enter the user password to the remote linux.

Error encountered

1, xrdp access ubuntu only see the background, see the solution not the menu bar

Method: Install the gnome-panel
sudo apt-get install gnome-panel

2, Failed to load session "gnome"

Desktop try with ubuntu-2d

Type the command: echo "gnome-session -session = ubuntu-2d"> ~ / .xsession, and then restart xrdp.

3, an error occurs:

connecting to sesman ip port 3350
sesman connect ok
sending login info to sesman
login successful for display 14
started connecting
connecting to 5914
error - problem connecting

xrdp-sesman.log the error is:

[INFO] starting Xvnc session ...
[ERROR] X server for display 10 startup timeout [INFO] starting xrdp-sessvc - xpid = 2924 - wmpid = 2923
[ERROR] X server for display 10 startup timeout
[ERROR] another Xserver is already active on display 10
[DEBUG] aborting connection ...
If you have a similar log X server for display 10 startup timeout and another Xserver is already active on display 10

Root of the problem is that tightvnc, problems with version X font conflict, resulting connection Xserver error.


apt-get purge tightvnc xrdp
apt-get install tightvncserver xrdp

At last:

Start xrdp service, sudo /etc/init.d/xrdp restart, this time will enable the appropriate port configuration default.

Command: netstat -tnl

See 335,033,895,910 three ports in LISTEN, generally no problem.

dpkg -L + package name, you can know what files this package contains.

4, ubuntu 13.10 and later No background:

Thanks for program review of children's shoes asked:

xrdp not support 13.10 gnome, the solution is to install a xfce interface,

sudo apt-get install xubuntu-desktop

echo xfce4-session> ~ / .xsession

And then set up a profile

sudo gedit /etc/xrdp/startwm.sh

In. / Etc / X11 / Xsession front row insert

Restart xrdp
sudo service xrdp restart
- Incremental garbage collection mechanism for Ruby 2.2 (Programming)
- Two network security scanning tools under ubuntu (Linux)
- Sublime Text 3 practical functions and shortcut keys used to collect (Linux)
- The correct method to modify the maximum number of concurrent connections Tomcat 7 (Server)
- Linux Network Programming - raw socket instance: MAC Address Scanner (Programming)
- To read the Linux ext3 / ext4 format partitions under Windows system software (Linux)
- Android to determine whether the device to open WIFI, GPRS data connection (Programming)
- To install Samba server on CentOS 6.6 (Server)
- Use web2py + uWSGI + Nginx Web server built on Linux (Server)
- Https (SSL / TLS) Detailed principles (Server)
- Lenovo Ultrabooks Ubuntu system can not open the wireless hardware switch solutions (Linux)
- Django template inheritance child (Programming)
- Oracle procedure or function Empty Table (Database)
- MySQL service failed to start thinking of settlement under CentOS7 (Database)
- Nine tips to protect the security of Linux desktop (Linux)
- Custom Android UI template Comments (Programming)
- struts2 completely the wrong way to capture 404 (Programming)
- Oracle Database Delete Delete million or more common method of heap table data (Database)
- How to enhance the Nagios server security (Linux)
- The Linux-based security settings Ipchains Firewall (Linux)
  CopyRight 2002-2022 newfreesoft.com, All Rights Reserved.