Forwarding this to the list...

---------- Forwarded message ----------
From: Kevin Cave <ke...@scarygliders.net>
Date: Fri, Jan 25, 2013 at 10:45 AM
Subject: Re: [Xrdp-devel] Connect error... Jay! Halp!
To: Jay Sorg <jay.s...@gmail.com>


>>Another thing might be the unix domain socket rights.
>>Try running xrdp as root if you are not already.

Bingo! Starting xrdp as root did the trick. There was one "connect error"
initially, but connected on the second attempt, and after that I can
reconnect to the same session perfectly.

Which is odd because the user xrdp is configured as a system user - trying
to do things the Debian Way - userID is 123 and groupID is also 123 - it
Should Work[tm]

I'll have to investigate why a uid/gid of 123 doesn't have permission to
use unix domain sockets... I'll be back with further info later, hopefully.

Thanks for the help!


On Fri, Jan 25, 2013 at 7:17 AM, Jay Sorg <jay.s...@gmail.com> wrote:

> Is it the window manager?
> Edit startwm.sh.
> I ofter edit wm_start() and add
>   mate-session
>   return 0
>
> or whatever the window manager is.
>
> Another thing might be the unix domain socket rights.
> Try running xrdp as root if you are not already.
>
> Jay
>
> On Thu, Jan 24, 2013 at 11:23 AM, Kevin Cave <ke...@scarygliders.net>
> wrote:
> > Hi Jay,
> >
> > I've been making big updates to the rdp-o-matic utilities, so that it
> uses
> > the Xorg/X11rdp source and build script from your git tree.
> >
> > I am having problems though with this version of xorg/X11rdp, in that
> after
> > logging in, I get the following in the Connection Log window...
> >
> > connecting to sesman ip 127.0.0.1 port 3350
> > sesman connect ok
> > sending login info to session manager, please wait...
> > xrdp_mm_process_login_response: login successful for display 10
> > started connecting
> > connecting...
> > connect error
> > connecting...
> > connect error
> > connecting...
> > connect error
> > connecting...
> > connect error
> > connection problem, giving up
> > some problem
> >
> >
> >
> > Some problem all right! ;)
> >
> > The relevant excerpt in xrdp-sesman.log is;
> >
> > [20130124-19:00:29] [INFO ] ++ created session (access granted):
> username
> > kcave, ip 192.168.1.9:55050 - socket: 8
> > [20130124-19:00:29] [INFO ] starting X11rdp session...
> > [20130124-19:00:29] [INFO ] X11rdp start:X11rdp :10 -geometry 1840x900
> > -depth 24 -bs -ac -nolisten tcp -uds
> > [20130124-19:00:30] [INFO ] starting xrdp-sessvc - xpid=3380 -
> wmpid=3379
> >
> >
> > That makes it look like everything is working normally...
> >
> > pstree also shows that X11rdp did in fact start up too...
> >
> >      ├─xrdp───xrdp
> >      └─xrdp-sesman───xrdp-sessvc─┬─X11rdp
> >
> > ├─ck-launch-sessi─┬─sh───sh─┬─xfce4-panel───migrate
> >                                  │                 │         ├─xfdesktop
> >                                  │                 │
> > └─xscreensaver───m6502
> >                                  │                 └─ssh-agent
> >                                  └─xrdp-chansrv───{xrdp-chansrv}
> >
> >
> > Running X11rdp from the command line....
> >
> > X11rdp, an X server for xrdp
> > Version 0.7.0
> > Copyright (C) 2005-2012 Jay Sorg
> > See http://xrdp.sf.net for information on xrdp.
> > Underlying X server release 10903000, The X.Org Foundation
> > Screen width 1024 height 768 depth 24 bpp 32
> > dpix 100 dpiy 100
> > buffer size 3145728
> > pRRScrPriv 0x82f280
> > rdpScreenInit: ret 1
> > InitOutput: out
> > [dix] Could not init font path element /usr/share/fonts/X11/TTF/,
> removing
> > from list!
> > [dix] Could not init font path element /usr/share/fonts/X11/OTF/,
> removing
> > from list!
> > rdpSpriteDeviceCursorInitialize:
> > rdpPointerWarpCursor:
> > rdpPointerNewEventScreen:
> > InitInput:
> > rdpMouseCtrl:
> > rdpChangeKeyboardControl:
> >
> >
> > There's also not much info in /var/log/xrdp.log ...
> >
> > [20130124-19:07:22] [WARN ] local keymap file for 0xe0010411 found and
> > dosen't match built in keymap, using local keymap file
> >
> >
> > Finally, output from ps...
> >
> > root@debian:/home/kcave# ps ax | grep rdp
> >  3354 pts/0    S      0:00 /usr/sbin/xrdp
> >  3357 pts/0    S      0:00 /usr/sbin/xrdp-sesman
> >  3378 pts/0    S      0:00 /usr/sbin/xrdp-sessvc 3380 3379
> >  3380 pts/0    S      1:10 X11rdp :10 -geometry 1840x900 -depth 24 -bs
> -ac
> > -nolisten tcp -uds
> >  3391 pts/0    Sl     0:00 xrdp-chansrv
> >  3538 pts/0    S      0:00 /usr/sbin/xrdp
> >
> >
> >
> > So, any idea how I might be able to debug this one?
> >
> > It's be great if this works, because I'm doing Clever Things, and can now
> > create Debian packages during the buildx.sh build and the xrdp build,
> from
> > your git source ;)
> >
> > It would be great to release rdp-o-matic v3.0, if this wrinkle could be
> > ironed out ;)
> >
> > Best regards
> >
> > Kevin.
> >
> >
> >
> >
> >
> ------------------------------------------------------------------------------
> > Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
> > MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
> > with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
> > MVPs and experts. ON SALE this month only -- learn more at:
> > http://p.sf.net/sfu/learnnow-d2d
> > _______________________________________________
> > xrdp-devel mailing list
> > xrdp-devel@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/xrdp-devel
> >
>
------------------------------------------------------------------------------
Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
MVPs and experts. ON SALE this month only -- learn more at:
http://p.sf.net/sfu/learnnow-d2d
_______________________________________________
xrdp-devel mailing list
xrdp-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/xrdp-devel

Reply via email to