Hello guys,
I have been trying for about 5 hours to get this to work with no avail! So needless to say, I am burnt out!
Let me first explain what I did to get to where I am at.
I tried following this tutorial to get XRDP working on my CentOS 6.5(final) server:
http://ajmatson.net/wordpress/2014/0...to-centos-6-5/
Which didn't work - So I googled some more and came across this tutorial:
http://nearlydeaf.com/?p=1122
Which seemed to have a lot more steps with getting XRDP to work - So I followed it and installed XRDP through the EPEL which was version 0.5.0 and then installed 0.6.1 through sourceforge using the make command.
From there I setup everything exactly as the tutorial explained - And I couldn't get even the RDP to connect. So I played around with the SESMAN.ini settings and removed the followling lines:
Code:
TerminalServerUsers=tsusers
TerminalServerAdmins=tsadmins
Which worked! I was able to get past the RDP screen without it denying my users (both root and christopher)
Now my problem is once it get's passed the RDP login screen, it now gives this error:
Code:
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
started connecting
connecting to 127.0.0.1 5910
error - problem connecting
When checking the log file this is what I get:
Code:
[20140303-14:55:47] [INFO ] scp thread on sck 7 started successfully
[20140303-14:55:48] [INFO ] ++ created session (access granted): username root, ip HIDDEN:62348 - socket: 7
[20140303-14:55:48] [INFO ] starting Xvnc session...
[20140303-14:55:58] [ERROR] X server for display 10 startup timeout
[20140303-14:55:58] [INFO ] starting xrdp-sessvc - xpid=26266 - wmpid=26265
[20140303-14:55:58] [ERROR] X server for display 10 startup timeout
[20140303-14:55:58] [ERROR] another Xserver is already active on display 10
[20140303-14:55:58] [DEBUG] aborting connection...
[20140303-14:55:58] [INFO ] ++ terminated session: username root, display :10.0, session_pid 26264, ip HIDDEN:62348 - socket: 7
[20140303-15:10:49] [INFO ] scp thread on sck 7 started successfully
[20140303-15:10:49] [INFO ] ++ created session (access granted): username christopher, ip HIDDEN:62348 - socket: 7
[20140303-15:10:49] [INFO ] starting Xvnc session...
[20140303-15:10:59] [ERROR] X server for display 10 startup timeout
[20140303-15:10:59] [INFO ] starting xrdp-sessvc - xpid=26321 - wmpid=26320
[20140303-15:10:59] [ERROR] X server for display 10 startup timeout
[20140303-15:10:59] [ERROR] another Xserver is already active on display 10
[20140303-15:10:59] [DEBUG] aborting connection...
[20140303-15:10:59] [INFO ] ++ terminated session: username christopher, display :10.0, session_pid 26319, ip HIDDEN:62348 - socket: 7
Here is my xrdp.ini file:
Code:
[globals]
bitmap_cache=yes
bitmap_compression=yes
port=3389
crypt_level=low
channel_code=1
max_bpp=24
#black=000000
#grey=d6d3ce
#dark_grey=808080
#blue=08246b
#dark_blue=08246b
#white=ffffff
#red=ff0000
#green=00ff00
#background=626c72
[xrdp1]
name=sesman-Xvnc
lib=libvnc.so
username=ask
password=ask
ip=127.0.0.1
port=-1
[xrdp2]
name=console
lib=libvnc.so
ip=127.0.0.1
port=5900
username=na
password=ask
[xrdp3]
name=vnc-any
lib=libvnc.so
ip=ask
port=ask5900
username=na
password=ask
[xrdp4]
name=sesman-any
lib=libvnc.so
ip=ask
port=-1
username=ask
password=ask
[xrdp5]
name=rdp-any
lib=librdp.so
ip=ask
port=ask3389
[xrdp6]
name=freerdp-any
lib=libxrdpfreerdp1.so
ip=ask
port=ask3389
username=ask
password=ask
[xrdp7]
name=sesman-X11rdp
lib=libxup.so
username=ask
password=ask
ip=127.0.0.1
port=-1
xserverbpp=24
Here is my sesman.ini file:
Code:
[Globals]
ListenAddress=127.0.0.1
ListenPort=3350
EnableUserWindowManager=1
UserWindowManager=startwm.sh
DefaultWindowManager=startwm.sh
[Security]
AllowRootLogin=1
MaxLoginRetry=4
[Sessions]
X11DisplayOffset=10
MaxSessions=10
KillDisconnected=0
IdleTimeLimit=0
DisconnectedTimeLimit=0
[Logging]
LogFile=/var/log/xrdp-sesman.log
LogLevel=DEBUG
EnableSyslog=0
SyslogLevel=DEBUG
[X11rdp]
param1=-bs
param2=-ac
param3=-nolisten
param4=tcp
[Xvnc]
param1=-bs
param2=-ac
param3=-nolisten
param4=tcp
param5=-localhost
param6=-dpi
param7=96
Now, I have uninstalled everything, and reinstalled everything twice, still getting the same error.
Any help would be extremely appreciated! My head is killing me!
If you need anymore information let me know!
Oh and CSF has been disabled during testing!
-Christopher