xrdp authenticates but does not load X server (RDP)
Linux - ServerThis forum is for the discussion of Linux Software used in a server related context.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
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
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.
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
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.
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...
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...
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 :-)
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
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:
"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
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
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: xrdp_noise.gif
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.
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
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.