LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 02-27-2011, 02:43 PM   #16
mikezzzz
LQ Newbie
 
Registered: Feb 2011
Posts: 7

Rep: Reputation: 0

hello guys, i have problems with x11rdp too
OS:CentOS 5.5

xrdp.ini was changed fron libvnc.so to librdp.so

so, when i try to login from WinXp mstsc logon screen appear - login successfull for display

and nothing more ...
logs - clear ...

sorry for this question about dinosaur's sh1t
 
Old 02-28-2011, 08:12 PM   #17
shadowsnipes
Senior Member
 
Registered: Sep 2005
Distribution: Slackware
Posts: 1,442

Original Poster
Rep: Reputation: 73
I think librdp.so is used when you want to use xrdp as a bridge to another rdp server. As in:

Code:
[xrdp1]
name=rdp-any
lib=librdp.so
ip=ask
port=ask3389
If you want to test your local x11rdp server then first test the x11rdp binary itself. What do you get when you run the following at your server:

Code:
X11rdp :12
The xrdp.ini entry would look like

Code:
[xrdp1]
name=sesman-X11rdp
lib=libxup.so
username=ask
password=ask
ip=127.0.0.1
port=-1
 
Old 03-01-2011, 02:12 AM   #18
mikezzzz
LQ Newbie
 
Registered: Feb 2011
Posts: 7

Rep: Reputation: 0
shadowsnipes, thx for your reply!

actualy, when i try x11rdp :12 - error message appearing "bla bla bla can't find file securitypolicy" (something like that..) and 2 strings about missing fonts, but no critical error's or something like that and nothing usefull in logs
 
Old 03-01-2011, 07:54 PM   #19
shadowsnipes
Senior Member
 
Registered: Sep 2005
Distribution: Slackware
Posts: 1,442

Original Poster
Rep: Reputation: 73
ok so if your X11rdp binary did not crash (exit on its own - you should have had to kill it) then your X11rdp binary is probably working fine.

Did you change your xrdp.ini file to use the correct lib as I described above?

Could you show the contents of you sesman.ini file (probably under /etc/xrdp or something similar)? There are some settings in there that might give you problems. Plus, it should tell you the location of the log file we are looking for. The LogLevel can also be increased to help troubleshoot.
 
Old 03-02-2011, 01:47 PM   #20
mikezzzz
LQ Newbie
 
Registered: Feb 2011
Posts: 7

Rep: Reputation: 0
yes, i edited xrdp.ini like you said - lib from librdp.so to libxup.so, when attempt to login via mstsc winxp, login... password... after all mstsc and xrdp service goes down

my sesman.ini
[Globals]
ListenAddress=127.0.0.1
ListenPort=3350
EnableUserWindowManager=1
UserWindowManager=startwm.sh
DefaultWindowManager=startwm.sh

[Security]
AllowRootLogin=1
MaxLoginRetry=4
TerminalServerUsers=tsusers
TerminalServerAdmins=tsadmins

[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
param5=-localhost
param6=-dpi
param7=96

[Xvnc]
param1=-bs
param2=-ac
param3=-nolisten
param4=tcp
param5=-localhost
param6=-dpi
param7=96


mb [X11rdp] section - root of problem... but this is default
 
Old 03-04-2011, 08:49 PM   #21
shadowsnipes
Senior Member
 
Registered: Sep 2005
Distribution: Slackware
Posts: 1,442

Original Poster
Rep: Reputation: 73
Quote:
Originally Posted by mikezzzz View Post
[Security]
AllowRootLogin=1
MaxLoginRetry=4
TerminalServerUsers=tsusers
TerminalServerAdmins=tsadmins
I would not recommend allowing root to login.
Do you have a tsusers group? If not, everyone should be able to login. However, if you do and your user is not a part of that group, you will have a problem.

Quote:
Originally Posted by mikezzzz View Post
[Logging]
LogFile=/var/log/xrdp-sesman.log
LogLevel=DEBUG
What does this log file say when you try to login? What does the infobox in the xrdp login screen say? If it gets all the way to "Some Problem" then perhaps you still need to set which window manager/desktop environment is loaded. More on this later...

Quote:
Originally Posted by mikezzzz View Post
[X11rdp]
param1=-bs
param2=-ac
param3=-nolisten
param4=tcp
param5=-localhost
param6=-dpi
param7=96


[Xvnc]
param1=-bs
param2=-ac
param3=-nolisten
param4=tcp
param5=-localhost
param6=-dpi
param7=96



mb [X11rdp] section - root of problem... but this is default
The highlighted sections in the X11rdp and Xvnc sections are not default by upstream last I checked.

As I mentioned previously it may be worthwhile to ensure that a correct WM/DE is actually being called when you login through xrdp. The global run script, startwm.sh is most likely located in the same directory as sesman (/usr/lib/xrdp/ for me). Check to make sure that the script makes sense for your environment. On Slackware, I chose to link it to /etc/xrdp/xrdp-xinitrc which itself is a symbolic link to /etc/X11/xinit/xinitrc.kde.

Don't forget to restart your xrdp service if you have been messing with the config files...
 
Old 03-20-2011, 06:37 PM   #22
szob
LQ Newbie
 
Registered: Sep 2007
Posts: 16

Rep: Reputation: 0
Slackware64 13.1 working...

Hello,

I just wanted to share that xrdp and X11rdp server work well on Slackware64 13.1. After following the instructions from the previous page I was able to get the xrdp to work OK on my server.

Mistake I made was that I did it on the production server, although I have VirtualBox install on it and now I have to reinstall the X11 from the Slackware 13.1 DVD, since my X11 installation was replaced and for one example VBOX GUI does not work at all. I wanted xrdp exactly to use the VBOX GUI, and it exactly does not load due to overwrite issue.

Nonetheless, this was very helpfull thread and xrdp is very useful tool.

Cheers!

PS. On the brigher side of things, my new 8 core i7 server compiled the entire X11 in 10 minutes over SSH :-)
 
Old 08-05-2011, 12:40 PM   #23
mikezzzz
LQ Newbie
 
Registered: Feb 2011
Posts: 7

Rep: Reputation: 0
uhhh...flashback :-)

well, i returned back to this problem today and solved it, after compiling X11rdp
1) mk sym link to SecurityPolicy
2) make, make install fonts from xserver dir
3) PROFIT!
thx guyz
 
Old 10-30-2011, 03:01 PM   #24
moorer11
LQ Newbie
 
Registered: Oct 2011
Posts: 2

Rep: Reputation: Disabled
help for xtreme newbie...

Quote:
Originally Posted by mikezzzz View Post
uhhh...flashback :-)

well, i returned back to this problem today and solved it, after compiling X11rdp
1) mk sym link to SecurityPolicy
2) make, make install fonts from xserver dir
3) PROFIT!
thx guyz
mike...
Can you elaborate on what you mean by

1) "mk sym link to SecurityPolicy"?
And
2) "make, make install fonts from xserver dir"

I was able to build X11rdp but I'm still struggling with two errors when trying to start:

"error opening security policy file /etc/X11/xserver/SecurityPolicy"

and

"Fatal server error:
could not open default font 'fixed'"


Bob
 
Old 10-31-2011, 02:06 AM   #25
mikezzzz
LQ Newbie
 
Registered: Feb 2011
Posts: 7

Rep: Reputation: 0
Quote:
Originally Posted by moorer11 View Post
mike...
Can you elaborate on what you mean by

1) "mk sym link to SecurityPolicy"?
And
2) "make, make install fonts from xserver dir"

I was able to build X11rdp but I'm still struggling with two errors when trying to start:

"error opening security policy file /etc/X11/xserver/SecurityPolicy"

and

"Fatal server error:
could not open default font 'fixed'"


Bob
about SecurityPolicy - you can locate SecurityPolicy directoru manualy, for me it was at /usr/lib/xserver/SecurityPolicy so type ln -s /usr/lib/xserver/SecurityPolicy /etc/X11/xserver/SecurityPolicy

about font fixed - check you xfs server - must be running
check xfs config file where font's dir located - cat /etc/X11/fs/config
if ok then download source for x11org from there - http://server1.xrdp.org/xrdp/x11rdp_xorg71.tar.gz
i can't remember how exactly font's dir named so try libXfont and fontsproto dir's, cd into it and make;make install
 
Old 11-03-2011, 12:43 PM   #26
moorer11
LQ Newbie
 
Registered: Oct 2011
Posts: 2

Rep: Reputation: Disabled
Quote:
Originally Posted by mikezzzz View Post
about SecurityPolicy - you can locate SecurityPolicy directoru manualy, for me it was at /usr/lib/xserver/SecurityPolicy so type ln -s /usr/lib/xserver/SecurityPolicy /etc/X11/xserver/SecurityPolicy

about font fixed - check you xfs server - must be running
check xfs config file where font's dir located - cat /etc/X11/fs/config
if ok then download source for x11org from there - http://server1.xrdp.org/xrdp/x11rdp_xorg71.tar.gz
i can't remember how exactly font's dir named so try libXfont and fontsproto dir's, cd into it and make;make install
thanks, Mike...

still no 'profit' for me though...

I'll keep tryin'
 
Old 11-05-2011, 12:52 AM   #27
mikezzzz
LQ Newbie
 
Registered: Feb 2011
Posts: 7

Rep: Reputation: 0
post stdout and err here
 
Old 03-13-2012, 03:47 PM   #28
kay27
LQ Newbie
 
Registered: May 2009
Location: Izhevsk
Posts: 11

Rep: Reputation: 0
Slackware 13.37 x86_64 - strange result with x11rdp

Thanx a lot for useful instructions.
Build process OK in Slackware 13.37 x86_64.

But when I connect to xrdp through x11rdp I see a lot of black and blue moving noise instead of windows. Noise is moving when I'm moving mouse pointer.
OS is clean, just installed.
This is screenshot, looks fun: Click image for larger version

Name:	xrdp_noise.gif
Views:	48
Size:	77.7 KB
ID:	9228
May be you will have an idea what I have to do to resolve it? ...just very tired with building and wanted to report and then sleep couple of hours before I will continue

System starts by default at runlevel 3 w/o graphics.
 
Old 03-15-2012, 03:08 AM   #29
mikezzzz
LQ Newbie
 
Registered: Feb 2011
Posts: 7

Rep: Reputation: 0
hello, kay27
glad to see familiar nick here (привет из мри9)
did you tried to change some params of X11rdp during execution?
by default there is param1=-bs param2=-ac in sesman.ini
it seems to be some kind of video glitch..and if your driver's ok, it make's sense to change some parameters

Last edited by mikezzzz; 03-15-2012 at 04:05 AM. Reason: mistake
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Xlock - Never authenticates first try kellinjar Linux - Software 3 07-08-2008 05:58 PM
any MAC users out there to help with RDP server for an iMAC? Lleb_KCir General 0 08-31-2005 04:23 PM
CVS how-to --- xrdp paul_mat Linux - Newbie 8 06-27-2005 05:09 PM
RDP installed but can't be a server? jsbmw Slackware 3 04-22-2005 04:37 PM
Secure server that allows for rdp redogre82 Linux - Software 1 09-04-2004 03:55 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 09:43 PM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration