Re: [Xrdp-devel] X11rdp Session Error

2010-01-20 Thread J. Alexander Jacocks
On Wed, Jan 20, 2010 at 2:05 AM, J. Alexander Jacocks  wrote:
> On Wed, Jan 20, 2010 at 1:00 AM, Jay Sorg  wrote:
> It seems to be timing out starting X11rdp.  Is there a way that I can
> get sesman to say exactly the command that it is executing?

So, fooling around some more, I found out that it _does_ work, but
only with rdesktop (the official Mac Remote Desktop client either is
unreadable in 256 color mode, or causes the complaint about only 8 and
16bpp being supported, when in 16bpp mode), and only if the X11rdp
session is the first session listed in sesman.ini.  Odd.

Last question:  I seem to be having some issues with copy and paste.
When using an xrdp-ibvnc session, I can copy out of the session, but
not back in to it.  In the pure xrdp-libx11rdp session, copy and paste
don't work, at all.  I'm just trying to test copying text in and out,
from xterm to xterm.

Thanks for a great product!

- J. Alexander Jacocks

--
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


Re: [Xrdp-devel] X11rdp Session Error

2010-01-20 Thread J. Alexander Jacocks
On Wed, Jan 20, 2010 at 1:00 AM, Jay Sorg  wrote:
> I'm planning to update X11rdp to use the more recent Xorg servers when
> I get a chance.

Cool.  That would make the build easier. :)

> First you should test is X11rdp is working.
> type X11rdp :12 and see if it starts up ok.
> Do you have a symbolic link in /usr/local/bin to /opt/X11rdp/bin/X11rdp?
> sesman needs it to be in the path.
> Everything else looks good.

Seems to work:

$ sudo X11rdp :12

X11rdp, an X server for xrdp
Version 0.5.0
Copyright (C) 2005-2008 Jay Sorg
See http://xrdp.sf.net for information on xrdp.
Underlying X server release 7010, The X.Org Foundation
Xorg Release 7.1
Screen width 800 height 600 depth 8 bpp 8
dpix 100 dpiy 100
buffer size 48
error opening security policy file /etc/X11/xserver/SecurityPolicy
Could not init font path element /opt/X11rdp/lib/X11/fonts/CID/,
removing from list!

I didn't have any links from /opt/X11rdp/bin to any place in my path,
but I added those.

$ ls -l /usr/bin/X11rdp
lrwxrwxrwx 1 root root 22 Jan 20 01:56 /usr/bin/X11rdp -> /opt/X11rdp/bin/X11rdp
$ ls -l /usr/bin/xrdp*
lrwxrwxrwx 1 root root 19 Jan 20 01:56 /usr/bin/xrdp -> /opt/xrdp/sbin/xrdp
lrwxrwxrwx 1 root root 27 Jan 20 01:56 /usr/bin/xrdp-chansrv ->
/opt/xrdp/sbin/xrdp-chansrv
lrwxrwxrwx 1 root root 26 Jan 20 01:56 /usr/bin/xrdp-sesman ->
/opt/xrdp/sbin/xrdp-sesman
lrwxrwxrwx 1 root root 26 Jan 20 01:56 /usr/bin/xrdp-sessvc ->
/opt/xrdp/sbin/xrdp-sessvc

It seems to make things a bit better, but not much.  I now get the
following, in the sesman log:

[20100120-02:03:29] [INFO ] scp thread on sck 8 started successfully
[20100120-02:03:30] [INFO ] granted TS access to user ajacocks
[20100120-02:03:30] [INFO ] starting X11rdp session...
[20100120-02:03:40] [ERROR] X server for display 12 startup timeout
[20100120-02:03:40] [ERROR] X server for display 12 startup timeout
[20100120-02:03:40] [ERROR] another Xserver is already active on display 12
[20100120-02:03:40] [INFO ] starting xrdp-sessvc - xpid=6740 - wmpid=6739
[20100120-02:03:40] [DEBUG] aborting connection...

It seems to be timing out starting X11rdp.  Is there a way that I can
get sesman to say exactly the command that it is executing?

Thanks for your help!

- J. Alexander Jacocks

--
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


Re: [Xrdp-devel] X11rdp Session Error

2010-01-19 Thread Jay Sorg
Hi J

> Recently, I discovered X11rdp, and decided to get that working.  After
> compiling (which required a VM, running Xorg server 1.5.x, due to an
> X11 extension that has been dropped, more recently), I got it set up,
> and it mostly works.

I'm planning to update X11rdp to use the more recent Xorg servers when
I get a chance.

> I installed to /opt/X11rdp, and then built xrdp-CVS to /opt/xrdp.  The
> issue I have is that I always get the following, in my sesman.log:
>
> [20100119-12:23:25] [INFO ] scp thread on sck 8 started successfully
> [20100119-12:23:25] [INFO ] granted TS access to user 
> [20100119-12:23:25] [INFO ] starting X11rdp session...
> [20100119-12:23:35] [ERROR] X server for display 12 startup timeout
> [20100119-12:23:35] [INFO ] starting xrdp-sessvc - xpid=13325 - wmpid=13324
> [20100119-12:23:35] [ERROR] X server for display 12 startup timeout
> [20100119-12:23:35] [ERROR] another Xserver is already active on display 12
> [20100119-12:23:35] [DEBUG] aborting connection...
> [20100119-12:23:35] [INFO ] session 13323 - user  - terminated
>
> I get "error - only support 8 and 16 bpp rdp connections", in the
> "Connection Log" window, in my RDP client, even though the client is
> set for 16bpp.  My client is the MS RDP Client for OS X, v2.  I'm not
> sure how to tell X11rdp to use another display, other than 12.  I've
> tried adding a ":20" as the first [X11rdp] parameter, in sesman.ini,
> but that doesn't seem to help.  Any advice would be appreciated.

First you should test is X11rdp is working.
type X11rdp :12 and see if it starts up ok.
Do you have a symbolic link in /usr/local/bin to /opt/X11rdp/bin/X11rdp?
sesman needs it to be in the path.
Everything else looks good.

Jay

--
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