Ok... I figured out the problem. It was the perms on the /tmp dir... The session must be created and managed in /tmp.
Everything seems hunky-dorey now! Quoting Chris <cjd...@brokensolstice.com>: > Hello. > > I am running xrdp 4.1 and have been for some time now. I migrated > this box to another piece of hardware, and everything seems to be > running just fine -- except xrdp. > > Everytime I try to connect, it errors out. Running sesman with debug > in the fore-ground + running xrdp in the foreground gets me this: > ----------------------------------------------------------------- > # ./sesman -n > starting sesman in foregroud... > sesman config: > ListenAddress: 127.0.0.1 > ListenPort: 3350 > EnableUserWindowManager: 1 > UserWindowManager: startwm.sh > DefaultWindowManager: startwm.sh > AuthFilePath: disabled > Xvnc parameters: > Parameter 00 -bs > Parameter 01 -ac > X11rdp parameters: > Parameter 00 -bs > Parameter 01 -ac > logging configuration: > LogFile: ./sesman.log > LogLevel: 4 > EnableSyslog: 1 > SyslogLevel: 4 > security configuration: > AllowRootLogin: 0 > MaxLoginRetry: 4 > TSUsersGroup: 86 > No TSAdminsGroup defined > session configuration: > MaxSessions: 10 > KillDisconnected: 0 > IdleTimeLimit: 0 > DisconnectedTimeLimit: 0 > [20090727-22:56:34] [INFO ] starting signal handling thread... > [20090727-22:56:34] [INFO ] signal handler thread started successfully > [20090727-22:56:34] [CORE ] starting sesman with pid 5476 > [20090727-22:56:34] [INFO ] listening... > [20090727-22:57:56] [INFO ] scp thread on sck 6 started successfully > pre auth[20090727-22:57:56] [INFO ] granted TS access to user sciotech > [20090727-22:57:56] [INFO ] starting Xvnc session... > pam_open_session failed: Cannot make/remove an entry for the > specified session > [20090727-22:57:56] [INFO ] starting sessvc - xpid=5493 - wmpid=5492 > > [sessvc] Setting signal handler > > [sessvc] Waiting for X (pid 5493) and WM (pid 5492) > [20090727-22:57:57] [ERROR] another Xserver is already active on display 10 > [20090727-22:57:57] [DEBUG] aborting connection... > [20090727-22:57:57] [INFO ] session 5491 - user sciotech - terminated > -------------------------------------------------------------------------------- > > I get no error output whatsoever from "xrdp -nodaemon" > > The two errors: > pam_open_session failed: Cannot make/remove an entry for the > specified session > another Xserver is already active on display 10 > > I don't know if this is a pam error or an X error. VNC works fine > when I use it alone (without xrdp) -- even on display :10... so it > does not appear to be a vnc error. Oh yes, and it does this for all > users on the system. > > Does X, pam VNC or Sesman drop files to manage sessions? Maybe I need > to clean some up, but I cannot find anything. I have dumped > everything in /tmp > I appreciate the help. > > Thanks. > > ------------------------------------------------------------------------------ > Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day > trial. Simplify your report design, integration and deployment - and focus on > what you do best, core application coding. Discover what's new with > Crystal Reports now. http://p.sf.net/sfu/bobj-july > _______________________________________________ > xrdp-devel mailing list > xrdp-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/xrdp-devel > -- Reduce spam! Send emails only from your trusted email service -- Avoid entering a friend's email address on any web site (such as "social-networking" sites, an "e-card" service, or page that asks you to "mail to a friend"). RESPECTABLE SITES WILL NEVER ASK YOU FOR YOUR FRIENDS' OR FAMILY'S EMAIL ADDRESSES. --Spread the word, add this to your signature block! ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ xrdp-devel mailing list xrdp-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/xrdp-devel