View Full Version : [SOLVED] Ubuntu Server 12.04 + xrdp + lxde - improve performance?
matt_fussell2
April 26th, 2014, 12:07 AM
In an effort to come up with a cost-effective way to deliver desktop functionality to a mixed-client (Windows/Mac/Linux) small-office environment, a test server running ubuntu server 12.04x64 was set up running an LXDE desktop environment delivered via RDP. This was done because everyone in the office has access to some form of an RD client. I started with server so that the build would be as efficient as possible, and the experiment has yielded fairly positive results so far. I'm wondering if their are any configuration tweaks or software changes that I should consider making to improve responsiveness on the server.
matt_fussell2
May 5th, 2014, 10:40 PM
The thought is that Linux is a multi-user environment by design - why should the end users all have to sit at the same machine and take turns using it? I've tested this concept on some aged hardware (P4 1.Ghz, 1 GB RAM), and we had three people remoted into the machine and working, albeit slowly at some points, at the same time. Surely there is a way to bring this concept live on newer hardware without spawning individual VMs on Vsphere or Xenserver. Has anyone else tried this?
matt_fussell2
May 7th, 2014, 10:11 PM
I have made a little progress on this.
The performance can be increased by modifying the xrdp.ini file (backup process noted because backups are important).
sudo cp /etc/xrdp/xrdp.ini /etc/xrdp/xrdp.back && sudo nano /etc/xrdp/xrdp.ini
In the [globals] section, change max_bpp=24 and add the command to use compression as so:
max_bpp=128
use_compression=yes
and modify the [xrdp7] section by changing xserver_bpp=24:
xserverbpp=128
matt_fussell2
May 29th, 2014, 03:45 PM
This solution works quite well if you don't need sound and simply need access to your remote desktop. The problem with sound is that it requires the server to 'throw' the sound to the client, most often using pulseaudio, which can get quite complicated. I wasn't able to get it to work, but should you feel inclined, there is a tutorial here:
http://scarygliders.net/2012/04/06/get-audio-with-your-xrdpx11rdp-connections-lan-or-remote/
I did find and execute what has turned out to be a better solution - details can be found here:
http://ubuntuforums.org/showthread.php?t=2223938
Powered by vBulletin® Version 4.2.2 Copyright © 2025 vBulletin Solutions, Inc. All rights reserved.