LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 07-02-2015, 12:28 PM   #1
thobs
LQ Newbie
 
Registered: Jun 2015
Posts: 2

Rep: Reputation: Disabled
xrdp install and startup on jessie


Im trying to install xrdp on Debian 8 Jessie, I have attempted it with the following commands run under root:

Code:
apt-get update
apt-get upgrade
apt-get install xrdp
Everything installed fine, with no errors

Code:
root@tom-deb:/home/user# apt-get install xrdp
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following NEW packages will be installed:
  xrdp
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 218 kB of archives.
After this operation, 1,631 kB of additional disk space will be used.
Get:1 http://ftp.us.debian.org/debian/ jessie/main xrdp amd64 0.6.1-2 [218 kB]
Fetched 218 kB in 0s (1,338 kB/s)
Selecting previously unselected package xrdp.
(Reading database ... 156530 files and directories currently installed.)
Preparing to unpack .../xrdp_0.6.1-2_amd64.deb ...
Unpacking xrdp (0.6.1-2) ...
Processing triggers for man-db (2.7.0.2-5) ...
Processing triggers for systemd (215-17+deb8u1) ...
Setting up xrdp (0.6.1-2) ...
Processing triggers for systemd (215-17+deb8u1) ...
root@tom-deb:/home/user#
Now from windows using Remote Desktop connection, an attempt was made to connect remotely, I can see xrdp working just fine, but when I am logging into xrdp-sesmanx11 with the username and password, it exits out suddenly, are there other steps that need to be done?

Thanks
 
Old 07-06-2015, 10:35 AM   #2
sudowtf
Member
 
Registered: Nov 2013
Posts: 205

Rep: Reputation: 46
try sesman-Xvnc -- (if i understand correctly, it still uses vnc as backend, but via the rdp protocol, don't worry, it's fast like rdp.)
 
Old 07-10-2015, 02:21 PM   #3
thobs
LQ Newbie
 
Registered: Jun 2015
Posts: 2

Original Poster
Rep: Reputation: Disabled
Quote:
try sesman-Xvnc -- (if i understand correctly, it still uses vnc as backend, but via the rdp protocol, don't worry, it's fast like rdp.

When i tried sesman-xvnc, it just gave me a grey checkered screen, with x cursor
 
Old 07-12-2015, 08:15 PM   #4
mnsppw
LQ Newbie
 
Registered: Jul 2015
Posts: 2

Rep: Reputation: Disabled
Lightbulb your VNC server might be too old for Gnome 3

Are you running Gnome 3? If so, then vnc4server and vnctightserver do not support your use case and xrdp is relying on one of them to do so. Either revert to an older desktop environment (something like Gnome 2, I'm not really sure) or have xrdp use a vnc server that does support Gnome 3, like vino.

Today, I have been trying to get xrdp working on my Debian Jessie install. I have not tried reverting to an older desktop environment, but I have at least got a connection through xrdp using vino as the vncserver. I have not stress tested this though.

Of course, if you use vino, then you need to resolve the issue of vino's encryption not being supported by xrdp (or by a VNC viewer you might use to test vino). This is doable, but the solution is to turn off vino's encryption unfortunately. I'm fairly sure this won't matter if you run xrdp and vino on the same machine (traffic to/from vino goes through 127.0.0.1 in this case, and nowhere else on the network), but I'm not an expert on this and have not verified that xrdp's encyption is doing its job when vino's is turned off (xrdp's encryption could protect traffic between your RDP client and xrdp).

Also, for testing basic connectivity, I recommend having an RDP client and a VNC viewer installed on the machine you are setting xrdp up on. xfreerdp and Gnome's default VNC client (Vinagre, aka Remote Desktop Viewer) worked for me and simplified testing a lot. Get VNC working first, then move on to getting RDP working. Beware, Vinagre will not help you verify the vino encryption issue since Vinagre actually supports vino's encryption format.

Finally, for testing remote connectivity from an Android device, I was able to use aFreeRDP and VNC Viewer. With aFreeRDP, the last hurdle I had to resolve was that I had to specify exactly the same resolution as was present in the running session on my host. But since I had already gotten a connection with xfreerdp locally, this was a lot easier to approach since I knew RDP should work now, I just had to figure out if the firewalls (firewalls were the penultimate hurdle) or the client's config were the issues.


If you are using Gnome 3 on Debian Jessie, then you may find this stackoverflow answer useful for figuring out why xrdp (and actually VNC) is not working out of the box. Here's the debian bug report.

You may find this wiki article to be useful setting up xrdp to use vino.

You may find this stackoverflow answer to be informative about the vino encryption issue.

Good luck, I hope this helps.
 
Old 07-13-2015, 07:58 AM   #5
sudowtf
Member
 
Registered: Nov 2013
Posts: 205

Rep: Reputation: 46
That's probably a good indication that it works, but still need additional X11 config for the sessions. I have seen LQ posts and other online resources regarding this, you'll just have to locate them.

FWIW, i did not have to do any additional config on my Debian 8 Jessie platform for this to work as expected. Additionally, it also worked on a current Xubuntu.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: How to install ownCloud 8 on Debian 8 (Jessie) LXer Syndicated Linux News 0 07-02-2015 10:20 AM
Gnome and Xfce on Debian Jessie Install? jogl_z_8 Linux - Newbie 3 03-25-2015 04:39 PM
[SOLVED] xrdp-v0.6.0 RHEL 6.4 Workstation. xrdp loaded started with sesman, but cannot connect capperdog Linux - Newbie 4 02-04-2014 02:56 PM
KDE Startup Applications over xrdp lord loh. Linux - General 0 10-05-2012 07:54 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 04:34 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration