Hello,

Let me start by saying that xrdp is really fantastic software.  We have 
been using it extensively and it really has worked well for us.  
However, I recently upgraded to the latest version, and I am having the 
same problem that Angel Sancho describes (see below).  I am currently 
using the latest CVS version of xrdp on Red Hat Enterprise Linux version 
4.  When I connect using sesman-Xvnc, everything works perfectly during 
the connection.  When I close the connection and attempt to reconnect to 
it, a new separate session is created even though the previous session 
is still active on the server.  I turned on debugging, and here is the 
output when I try to reconnect to the server:

--- begin

[20100114-15:46:00] [DEBUG] new connection
[20100114-15:46:00] [DEBUG] lock_socket_acquire()
[20100114-15:46:00] [INFO ] scp thread on sck 7 started successfully
[20100114-15:46:00] [DEBUG] started scp thread on socket 7
[20100114-15:46:00] [DEBUG] lock_socket_release()
[20100114-15:46:00] [DEBUG] scp_tcp_force_recv()
[20100114-15:46:00] [DEBUG] scp_tcp_force_recv()
[20100114-15:46:00] [DEBUG] accept ok, go on with scp v0

[20100114-15:46:00] [DEBUG] lock_chain_acquire()
[20100114-15:46:00] [DEBUG] lock_chain_release()
[20100114-15:46:00] [DEBUG] pre auth
[20100114-15:46:00] [DEBUG] Terminal Server Users group is disabled, 
allowing authentication
[20100114-15:46:00] [INFO ] granted TS access to user jake
[20100114-15:46:00] [INFO ] starting Xvnc session...
[20100114-15:46:00] [DEBUG] lock_sync_acquire()
[20100114-15:46:00] [DEBUG] lock_chain_acquire()
[20100114-15:46:00] [DEBUG] lock_chain_release()
[20100114-15:46:00] [DEBUG] lock_sync_sem_release()
[20100114-15:46:00] [DEBUG] lock_sync_sem_acquire()
[20100114-15:46:00] [DEBUG] pass file: /home/jake/.vnc/sesman_jake_passwd
[20100114-15:46:00] [DEBUG] lock_sync_release()
[20100114-15:46:00] [DEBUG] scp_tcp_force_send()
[20100114-15:46:00] [DEBUG] [v0:296] connection terminated (allowed)
[20100114-15:46:00] [INFO ] starting xrdp-sessvc - xpid=12242 - wmpid=12241

--- end

As I understand it, the existing connection should be resumed if 
everything were working properly.  Do you know what I could be doing 
wrong or what I can do to troubleshoot the problem further?

Thank you for any suggestions you can provide.

Jake

P.S.  As a side note, I tried using the x11rdp_xorg71 method.  This 
works nicely and allows me to reconnect, but I run into another minor 
problem (which may be related to using xorg68 with x11rdp_xorg71) so I 
would prefer to try to get the VNC reconnections working if possible. 





Angel Sancho wrote:
> Hi,
>
> I am using xrdp server with x11rdp sessions and vnc also. With the
> x11rdp, when a user disconnects (not logout) the same user is capable
> to reconnect with the old session, horewer this doesn't happen when
> the previous disconnected session is vnc type, I want to mean, that
> xrdp start a new vnc session. Of course the connection params are the
> same in both connections, size, depth, user, etc...
>
> What am I doing wrong? Perhaps would it be a bug?
>
>
> Regards,
> Ángel
>
> ------------------------------------------------------------------------------
> Come build with us! The BlackBerry(R) Developer Conference in SF, CA
> is the only developer event you need to attend this year. Jumpstart your
> developing skills, take BlackBerry mobile applications to market and stay 
> ahead of the curve. Join us from November 9 - 12, 2009. Register now!
> http://p.sf.net/sfu/devconference
> _______________________________________________
> xrdp-devel mailing list
> xrdp-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/xrdp-devel
>   



------------------------------------------------------------------------------
Throughout its 18-year history, RSA Conference consistently attracts the
world's best and brightest in the field, creating opportunities for Conference
attendees to learn about information security's most important issues through
interactions with peers, luminaries and emerging and established companies.
http://p.sf.net/sfu/rsaconf-dev2dev
_______________________________________________
xrdp-devel mailing list
xrdp-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/xrdp-devel

Reply via email to