Newbie to XRDP
Hi guys,
before you flame me for not searching I have and unless my beer goggles have let me down I haven't found anything, anyhow here we go .... I have just installed Slackware 12.2 on my works PC and now I want to use a M$ RDP client to connect to it, I have downloaded XRDP from slackbuilds, built it and installed it from the /tmp directory but that is where I am stuck. What do I do next? I have installed X11VNC Server to no avail. Can someone help this fool? Cheers |
This is just a shot in the dark, but after you installed XRDP did you make sure that the service itself has been started? Check to see if the process is running by issuing a ps auxw command. If not, I would imagine there has to be some kind of XRDP.rc or something related to that in /etc/rc.d/. If there is, try starting said service by issuing the command:
Code:
/etc/rc.d/XRDP.rc start Also, check the documentation for that service, it will at least give you clearer information than I could ever do, unless there is someone else here (hopefully), that can. :study: |
God I feel a complete idiot, doh, I should have checked that, well the service is now up and running.
Time to play some more. Thanks for your help and sorry for being a plank |
No worries, happens to us all from time to time. :p
Also make sure to change the mode to +x on your .rc file if you want the service to start during bootup. Code:
chmod +x XRDP(whatever it is).rc |
Since xrdp isn't stock Slackware software, /etc/rc.d/rc.xrdp won't be started by default unless you call it from one of the init scripts (rc.local would be appropriate).
You can make connecting to xrdp easier by modifying /etc/xrdp/xrdp.ini For instance, for x11vnc, you might want something like this to be first Code:
[xrdp1] If I don't need a real screen, I sometimes prefer a true rdp server and use my x11rdp binary. Code:
[xrdp1] Whatever order you have the [xrdp?] sections is what order the xrdp menu will show. The first is the default. I am the xrdp SlackBuild maintainer. Please let me know if you have any further questions about the SlackBuild or how to use xrdp. I am pleased to see that others are finding it useful :) |
Hi Shadowsnipes,
I have [xrdp1] as my first entry in xrdp.ini and I can get the login screen up now and it tries to connect but fails with 'another Xserver is already active on display 10', which as a newbie is confusing me, but I will work on it, unless anyone can my my life easier. Basically what I am after to be able to connect to my office desktop anywhere with the organisation using Rdp, basically a VNC but via rdp. I might just drop into VNC mode, but dam I like a challenge. |
Opps I forgot to say thanks for all your help so far guys, sorry for being a pain
|
Quote:
Starting an x11vnc session is easy as running the following in a terminal while logged in. Code:
x11vnc -forever -usepw -display :0 You might also want to show us your full xrdp.ini. Also check /var/log/sesman.log for any interesting info. |
Quote:
Hi Shadowsnipes - I got xrdp and tightvnc up and running on a KVM instance of Slackware yesterday. Performance is excellent. One question I have - I added two sections to /etc/xrdp/xrdp.ini but only the original sections show up in the xrdp menu when I connect with rdesktop. What I am trying to do is emulate a real terminal server where I could have multiple users logging in, first by SSH to start the tightvnc server (display :1, :2, :3, :4, etc.) and then with rdesktop, incrementing the port for each user - 5901, 5902, etc. Am I missing something? Shouldn't I be able to add a section for each user, with the incremented port number pre-loaded for him? |
Quote:
Code:
$> cat /etc/xrdp/xrdp.ini |
best discussion yet on XRDP
I am also a noob (no beer goggles today). I have spent hours setting up xrpd for a remote session from a windows vista 64bit to an Ubuntu lucid studio box. I am also connecting from an XP box. Everything works (well, the command su user -c "cd ~user && vncserver -geometry 1024x768 :1" doesn't run automatically from the rc.loca file, but, I'll figure that out eventually).
What does not work are the menus in the remote session (either from the vista or XP). When I click on any menu item, the little watch icon comes on, but, then the program never runs. Also, I have rc0.d through rc6.d and an rcS.d in my /etc folder. Any help would be greatly appreciated. Thanks for all your posts! |
Quote:
Your installation is certainly going to be different than the ones for Slackware, because the build script I wrote for it modifies where files are placed, etc. xrdp's init script for you should be in the /etc/rc?.d folders. The numbers correspond to the runlevels where the script is activated. Please cat that xrdp init file. What menu item are you referring to? Which program is it trying to run? Did you test that the program works outside of xrdp first? For instance, if you are running a vnc server did you try to connect to localhost from a terminal? It might be helpful is you describe you xrdp installation. ls -l /usr/lib/xrdp (or whatever is main directory) cat sesman.ini, xrdp.ini (should be under /etc/xrdp) sesman.ini also tells you where your LogFile is. Check the log file for errors. |
All times are GMT -5. The time now is 07:00 PM. |