Skip to content
This repository has been archived by the owner on Oct 12, 2022. It is now read-only.

install on Ubuntu 14.04 does not connect. #162

Open
jennifergates opened this issue Jan 26, 2017 · 1 comment
Open

install on Ubuntu 14.04 does not connect. #162

jennifergates opened this issue Jan 26, 2017 · 1 comment

Comments

@jennifergates
Copy link

I tried installing with the setup_all.sh script a few times and I can't get it to connect to my backend server. There doesn't appear to be an error on the setup script. It says it completed successfully. I'm probably just doing something wrong. (I can't find any install directions other than the README files.) I have to go to the wsgate/build directory and run sudo ./wsgate to get it to run. I copied the wsgate.ini.sample.in file to wsgate.ini and edited just the http bindaddr and document_root, and set redirect to false.

It just errors with "E:Could not connect to RDP backend."

syslog has:
void wsgate::Update::Register(freerdp*)
void wsgate::Primary::Register(freerdp*)
E:Could not connect to RDP backend.
Request from: 192.168.1.10 replied with OK
JS: C o u l d n o t c o n n e c t t o R D P b a c k e n d .
sending close ack

I'm not sure what else to do. I can use xfreerdp from the ubuntu server directly to the rdp server and it connects without a problem.

@jennifergates
Copy link
Author

So I've found that I can connect to a windows laptop through webconnect, but not to my ubuntu box. I can use remmina on the webconnect server to connect to the ubuntu server without problem, but not through webconnect. I can connect from my windows laptop to the ubuntu server through rdp without a problem. I just seems the FreeRDP WebConnect connection to the xrdp on the ubuntu box is not working.

All I get in the xrdp.log file on the ubuntu server is:
[INFO] A connection received from: 192.168.1.11 port 34616
[DEBUG] Closed socket 12 (AF_INET 192.168.1.12:3389)
[DEBUG] Closed socket 11 (AF_INET 0.0.0.0:3389)
[DEBUG] Closed socket 12 (AF_INET 192.168.1.12:3389)
[ERROR] Listening socket is in wrong state, terminating listener

and on the webconnect server syslog I just get:
wsgate[4436]: syslog has:
wsgate[4436]: void wsgate::Update::Register(freerdp*)
wsgate[4436]: void wsgate::Primary::Register(freerdp*)
wsgate[4436]: E:Could not connect to RDP backend.
wsgate[4436]: Request from: 192.168.1.10 replied with OK
wsgate[4436]: JS: C o u l d n o t c o n n e c t t o R D P b a c k e n d .
wsgate[4436]: sending close ack
wsgate[4436]: GOT close
wsgate[4436]: GOT WS DISCONNECT
wsgate[4436]: virtual wsgate::RDP::~RDP()
wsgate[4436]: RDP client thread terminated
wsgate[4436]: RDP::ConextFree

I'm really stumped. any help would be awesome.
Thanks!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant