2010/8/12 Duzenbury, Rich <rduzenb...@biltd.com>: > Ok, I have a bit more information. I reinstalled the latest CVS version once > again and enabled --enable-xrdpdebug I think I had mistyped it as > --enable-debug before.
yes, the correct option is --enable-xrdpdebug > > Well, first I had to hack over a compile error in libxrdp/xrdp_tcp.c, since > the 'len' variable doesn't seem to exist: > Line 77: > DEBUG((" in xrdp_tcp_send, gota send %d bytes", len)); > became > DEBUG((" in xrdp_tcp_send, gota send %d bytes", 0)); > > Line 83: > DEBUG((" out xrdp_tcp_send, sent %d bytes ok", len)); > Became > DEBUG((" out xrdp_tcp_send, sent %d bytes ok", 0)); > No, better to know how many bytes. Use this: xrdp_tcp_send(struct xrdp_tcp* self, struct stream* s) { int len; len = s->end - s->data; DEBUG(" in xrdp_tcp_send, gota send %d bytes", len); if (trans_force_write_s(self->trans, s) != 0) { DEBUG(" error in trans_force_write_s")); return 1; } DEBUG(" out xrdp_tcp_send, sent %d bytes ok", len); return 0; } > If I connect from windows mstsc app, which doesn't work, the > /var/log/xrdp-sesman.log looks like: > [20100812-11:37:59] [INFO ] scp thread on sck 6 started successfully > [20100812-11:37:59] [INFO ] granted TS access to user cwheeler > [20100812-11:38:00] [INFO ] starting Xrdp session... > [20100812-11:38:00] [CORE ] error starting X server - user cwheeler - pid 4464 > [20100812-11:38:00] [INFO ] starting sessvc - xpid=4464 - wmpid=4463 > [20100812-11:38:00] [DEBUG] errno: 2, description: No such file or directory > [20100812-11:38:00] [DEBUG] execve parameter list: 11 > [20100812-11:38:00] [DEBUG] argv[0] = X11rdp > [20100812-11:38:00] [DEBUG] argv[1] = :13 > [20100812-11:38:00] [DEBUG] argv[2] = -geometry > [20100812-11:38:00] [DEBUG] argv[3] = 1280x980 > [20100812-11:38:00] [DEBUG] argv[4] = -depth > [20100812-11:38:00] [DEBUG] argv[5] = 16 > [20100812-11:38:00] [DEBUG] argv[6] = -bs > [20100812-11:38:00] [DEBUG] argv[7] = -ac > [20100812-11:38:00] [DEBUG] argv[8] = -nolisten > [20100812-11:38:00] [DEBUG] argv[9] = tcp > [20100812-11:38:00] [DEBUG] argv[10] = (null) > [20100812-11:38:00] [INFO ] session 4462 - user cwheeler - terminated > > I don't seem to have any such X11rdp application anywhere on my system. What > is it? Why would the mstsc version be looking for that one? Do I need to > install it somehow (SuSE Linux Enterprise 10.3) ? If so, how? This means you have not x11rdp binary on your system. Sesman can load 2 different component as graphical X server backend (not included in xrdp): 1. X11rdp 2. Xvnc I suggest you to install and use vncserver (Xvnc) instead. I use CentOS and the rpm is: vnc-server-4.1.2-14.el5_3.1.i386.rpm Nicola ------------------------------------------------------------------------------ This SF.net email is sponsored by Make an app they can't live without Enter the BlackBerry Developer Challenge http://p.sf.net/sfu/RIM-dev2dev _______________________________________________ xrdp-devel mailing list xrdp-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/xrdp-devel