Hi again Koichiro,
On Thu, Nov 14, 2013 at 10:11 PM, Koichiro IWAO <m...@vmeta.jp> wrote:
> On Wed, Nov 13, 2013 at 09:05:29PM -0600, Chris Lee wrote:
> > $ /usr/local/bin/X11rdp :15
>
> I saw you output, it seems X11rdp binary can be run correctly.
>
> > I did build xrdp from ports and x11rdp from your ports branch and have
> the
> > same black screen issue.
> > When I attach to the xrdp and xrdp-sesman processes I see nothing
> happening
> > on xrdp-sesman and only threads starting/stopping on xrdp as I connect
> and
> > disconnect:
> >
> > [New Thread 801807c00 (LWP 100627/xrdp)]
> > [Thread 801807c00 (LWP 100627/xrdp) exited]
> > [New Thread 801808000 (LWP 100631/xrdp)]
>
> Running xrdp and sesman in foreground give us futrher information.
> # xrdp --nodaemon
> # xrdp-sesman --nodaemon
>
>
xrdp shows a bunch of activity such as the following when I connect from
Win7 RDC
libxrdp_process_data code 7
xrdp_rdp_process_data code 28
in xrdp_rdp_process_data_input 11 events
xrdp_rdp_process_data_input event 0004 flags 8000 param1 15 param2 0 time
919267637
xrdp-sesman only shows the startup information, the last line of which is
[20131115-23:02:10] [INFO ] listening...
> Please show me the result of "pstree -s xrdp". My environment, for
> example,
> xrdp 0.6.1 and x11rdp 0.5.0 runs Xfce4 session. Processes are like this.
>
> -+= 00001 root /sbin/init --
> |--- 01033 root /usr/local/sbin/xrdp
> \-+- 01035 root /usr/local/sbin/xrdp-sesman
> \-+- 02511 root /usr/local/sbin/xrdp-sesman
> \-+= 02512 root /usr/local/sbin/xrdp-sessvc 2514 2513
> |-+- 02513 meta /bin/sh /usr/local/etc/xrdp/startwm.sh
> | \-+- 02518 meta /bin/sh /usr/local/etc/xdg/xfce4/xinitrc
> | \--- 02523 meta xfce4-session
> |--- 02514 meta X11rdp :10 -geometry 1600x900 -depth 24 (snip)
> \--- 02515 root xrdp-chansrv
>
>
[chris@redacted ~]$ pstree -s xrdp
-+= 00001 root /sbin/init --
\-+= 01192 root /usr/sbin/sshd
|-+= 01513 root sshd: chris [priv] (sshd)
| \-+- 01517 chris sshd: chris@pts/0 (sshd)
| \-+= 01520 chris -bash (bash)
| \-+= 01523 root sudo tail -f xrdp.log xrdp-sesman.log
| \--- 03267 root tail -f xrdp.log xrdp-sesman.log
|-+= 01524 root sshd: chris [priv] (sshd)
| \-+- 01527 chris sshd: chris@pts/1 (sshd)
| \-+= 01528 chris -bash (bash)
| \-+= 84786 root sudo xrdp --nodaemon
| \--- 84787 root xrdp --nodaemon
\-+= 03268 root sshd: chris [priv] (sshd)
\-+- 03271 chris sshd: chris@pts/2 (sshd)
\-+= 03272 chris -bash (bash)
\-+= 84790 root sudo xrdp-sesman --nodaemon
\--- 84791 root xrdp-sesman --nodaemon
> > At one point I was trying xrdp-devel with x11rdp but realized the mistake
> > and went back to xrdp (without -devel). Same issue currently.
>
> Yes, -devel should be used together with -devel.
>
> > I will give x11rdp-devel with xrdp-devel a try and see what happens.
>
> Try xrdp-devel from my svn. I've already submitted update to sync
> official ports to my xrdp-devel branch but not committed yet.
>
>
So x11rdp-devel required xorg-server >= 1.9.3 and setting WITH_NEW_XORG in
make.conf bumped me to 1.12.4 (I think) after I removed and upgraded a
bunch of other stuff like libdrm, dri, libGL, libGLU, and so on.
xrdp-devel and x11rdp-devel are both installed and it appears to be the
same situation.
Is it possible that I just have some configuration completely wrong?
My xrdp.ini is modified as per your guide, putting sesman-X11rdp in the
first entry and setting crypt_level to high.
I don't think I've changed anything in sesman.ini at all.
I *did* change /usr/local/etc/pam.d/xrdp-sesman to import everything from
system because I have system configured to authenticate users through
winbind (Active Directory). This works properly with sshd and console
login and until I updated the xrdp-sesman entry all of my connections from
my AD user were being logged as invalid user.
I set SESSIONS="startfluxbox" in ~/.profile and I also have ~/.xsession
trying to exec startfluxbox. If those conflict I'll just remove one of
them.
Since that hasn't worked so far I've also added a ~/startwm.sh which only
has startfluxbox.
> --
> `whois vmeta.jp | nkf -w`
> meta <m...@vmeta.jp>
>
Any additional suggestions you may have would be greatly appreciated. And
thank you once again for all your help thus far. :)
--
Thank you,
Chris Lee
------------------------------------------------------------------------------
DreamFactory - Open Source REST & JSON Services for HTML5 & Native Apps
OAuth, Users, Roles, SQL, NoSQL, BLOB Storage and External API Access
Free app hosting. Or install the open source package on any LAMP server.
Sign up and see examples for AngularJS, jQuery, Sencha Touch and Native!
http://pubads.g.doubleclick.net/gampad/clk?id=63469471&iu=/4140/ostg.clktrk
_______________________________________________
xrdp-devel mailing list
xrdp-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/xrdp-devel