Am Donnerstag, 4. April 2013, 16:29:33 schrieb Thomas Schäfer:

> 
> Problem at serversite: local connection to local Xvnc does not work.
> (listens only to v4)
> 
> A workaround between xrdp and Xvnc was:
> ncat -l -6  --keep-open -p 5911 -c "ncat -4 localhost 5911"


It seems to me that xrdp tries to connect Xnvc to 127.0.0.1 via IPv6.

The Connection log stops there:
--------------------------------------------------------------
connecting to sesman ip 127.0.0.1 3350
sesman connect ok
sending login info to session manager, please wait ....
xrdp_mm_process_login_response: login succesfull for display 10
VNC started connecting 
VNC connection to 127.0.0.1 5910
VNC error - problem connecting

---------------------------------------------------------

Jay said "Maybe some logging is not right yet." 

This seems to be true - in the first line - the connection is to ::1 not 
127.0.0.1 (xrdp and sesman listen to both protocols) 

tcp        1      0 ::1:3350                ::1:56206               CLOSE_WAIT  
11828/xrdp-sessvc

The vnc-problem seems to me - xrdp tries to connect an IPv4-Adress via IPv6, 
without fallback.

The workaround to confirm this behavior I wrote in the mail before.

Regards,

Thomas


PS: There are different Xvnc-server, some are IPv6-enabled (e.g.the patched 
version of real by debian ) some are not - example tigervnc.
Xrdp should recognize this.

PPS: I am bad programmer, don't ask me for code, but I will test as long I 
understand readme.txt- and install.txt files and it compiles.







------------------------------------------------------------------------------
Minimize network downtime and maximize team effectiveness.
Reduce network management and security costs.Learn how to hire 
the most talented Cisco Certified professionals. Visit the 
Employer Resources Portal
http://www.cisco.com/web/learning/employer_resources/index.html
_______________________________________________
xrdp-devel mailing list
xrdp-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/xrdp-devel

Reply via email to