LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat
User Name
Password
Red Hat This forum is for the discussion of Red Hat Linux.

Notices


Reply
  Search this Thread
Old 03-03-2014, 03:07 PM   #1
reneg4d3
LQ Newbie
 
Registered: Apr 2010
Posts: 16

Rep: Reputation: 0
Exclamation [HELP] XRDP not working CentOS


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

Last edited by reneg4d3; 03-03-2014 at 03:11 PM.
 
  


Reply

Tags
centos, error, rdp xrdp vnc



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] xrdp-v0.6.0 RHEL 6.4 Workstation. xrdp loaded started with sesman, but cannot connect capperdog Linux - Newbie 4 02-04-2014 02:56 PM
Can't Connect to CentOS server using XRDP Altiris Linux - Software 2 05-27-2013 02:59 AM
XRDP issue on Centos 6 ovod88 Linux - Newbie 8 08-15-2012 01:56 AM
xrdp stopped working, blocked port 3350 fzanella Linux - Newbie 0 07-30-2009 03:11 PM
Xrdp loginfailed jnreddy Linux - Server 0 05-25-2009 07:12 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat

All times are GMT -5. The time now is 06:23 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration