Sleegemi
Posts: 1
Joined: Sat Mar 19, 2016 8:35 am

RDP: " login succesful" followed by error problem connecting

Sat Mar 19, 2016 9:24 am

Hi,

I seem unable to RDP from my Windows latop to the Raspberry.

I restarted the xrdp service, no luck. Then uninstalled xrdp, rebooted, reinstalled xrdp, rebooted, tried to RDP from my windows machine to the network IP address of the Raspberry, with unfortunatelly the same result.

If anyone has an clue or insight for me on how to troubleshoot this error, you make me happy.


When I RDP to the Raspberry's IP address, I see the following:

Connecting to sesman ip 127.0.0.1 port 3350
sesman connect ok
sending login info to session manager, please wait...
xrdp_mm_process_login_response: login succesful for displa
started connceting
connecting to 127.0.0.1 5910
error - problem connecting.


Then when I examine xrdp-sesman.log I notice the following at the same as I tried connecting:


[CORE ] starting sesman with pid 2864
[INFO ] listening...
[INFO ] scp thread on sck 7 started successfully
[INFO ] ++ created session (access granted): username pi, ip 192.168.178.108:61070 - socket: 7
[INFO ] starting Xvnc session...
[CORE ] error starting X server - user pi - pid 2893
[DEBUG] errno: 2, description: No such file or directory
[DEBUG] execve parameter list: 16
[DEBUG] argv[0] = Xvnc
[DEBUG] argv[1] = :10
[DEBUG] argv[2] = -geometry
[DEBUG] argv[3] = 1600x900
[DEBUG] argv[4] = -depth
[DEBUG] argv[5] = 24
[DEBUG] argv[6] = -rfbauth
[DEBUG] argv[7] = /home/pi/.vnc/sesman_pi_passwd
[DEBUG] argv[8] = -bs
[DEBUG] argv[9] = -ac
[DEBUG] argv[10] = -nolisten
[DEBUG] argv[11] = tcp
[DEBUG] argv[12] = -localhost
[DEBUG] argv[13] = -dpi
[DEBUG] argv[14] = 96
[DEBUG] argv[15] = (null)
[ERROR] X server for display 10 startup timeout
[INFO ] starting xrdp-sessvc - xpid=2893 - wmpid=2892
[ERROR] X server for display 10 startup timeout
[ERROR] another Xserver is already active on display 10
[DEBUG] aborting connection...
[INFO ] ++ terminated session: username pi, display :10.0, session_pid 2887, ip 10.1.1.8:61070 - socket: 7



I don't understand why the log says "another Xserver is already active", since I try to freshly RDP after a reboot.

The contents of /etc/xrdp/xrdp.ini:
[globals]
bitmap_cache=yes
bitmap_compression=yes
port=3389
crypt_level=low
channel_code=1
max_bpp=24
#black=000000
#grey=d6d3ce
#dark_grey=808080
#blue=08246b
#dark_blue=08246b
#white=ffffff
#red=ff0000
#green=00ff00
#background=626c72

[xrdp1]
name=sesman-Xvnc
lib=libvnc.so
username=ask
password=ask
ip=127.0.0.1
port=-1

[xrdp2]
name=console
lib=libvnc.so
ip=127.0.0.1
port=5900
username=na
password=ask

[xrdp3]
name=vnc-any
lib=libvnc.so
ip=ask
"/etc/xrdp/xrdp.ini" 72 lines, 824 characters


Kind regards,

Sleegemi

ForeverNoob
Posts: 10
Joined: Thu Apr 07, 2016 6:13 pm

Re: RDP: " login succesful" followed by error problem connec

Mon Apr 11, 2016 4:21 pm

Hello,

I'm having the exact same problem. Did you find any solution?

TIA


ForeverNoob
Posts: 10
Joined: Thu Apr 07, 2016 6:13 pm

Re: RDP: " login succesful" followed by error problem connec

Sun May 08, 2016 8:53 am

I switched to Ubuntu Mate 16.04. xrdp worked OOTB. Problem solved.

Marek Zdansky
Posts: 4
Joined: Sat Apr 30, 2016 11:50 am

Re: RDP: " login succesful" followed by error problem connec

Fri May 27, 2016 4:52 pm

Solved.

First I installed xrdp via desktop app Menu / Preferences / Add - Remove Sofrware and package didn't work correctly.

Then I tried

Code: Select all

sudo apt-get install xrdp
and it works

alphaloop
Posts: 2
Joined: Sat Jan 18, 2014 1:06 am

Re: RDP: " login succesful" followed by error problem connec

Sun Oct 02, 2016 1:40 am

I managed to solve this by installing tightvnc server and reinstalling xrdp:

$ sudo apt-get install tightvncserver
$ sudo apt-get remove xrdp
$ sudo apt-get install xrdp

This worked for connecting to the Pi using Remmina from an Ubuntu desktop, although I had to make sure that the minimum colour depth in the session config in Remmina was at lest 16 bit in order for all applications to work.

jcshim
Posts: 1
Joined: Fri Mar 13, 2015 1:07 pm

Re: RDP: " login succesful" followed by error problem connec

Sun Oct 09, 2016 6:31 pm

$ sudo apt-get remove xrdp
$ sudo apt-get install xrdp
$ sudo apt-get install ufw
$ sudo ufw allow 3389
$ cd ~
$ sudo vi .Xclients
cinnamon-session

$ chmod +x .Xclients
$ reboot

knamme
Posts: 1
Joined: Fri Jun 16, 2017 3:47 pm

Re: RDP: " login succesful" followed by error problem connec

Fri Jun 16, 2017 3:51 pm

Thank you alphaloop - that works for me (Rpi II, Raspbian 2017-04-10, BB priv)

frzfrsfra
Posts: 1
Joined: Tue Jan 29, 2019 10:35 am

Re: RDP: " login succesful" followed by error problem connecting

Tue Jan 29, 2019 10:38 am

thx alot jcshim you helped me alot I tried the steps and all things work fine.
:D :D :D :D :D :D :D :D

Return to “Troubleshooting”