[SOLVED] Walkthrough or guide to run Slackware 13 as a rdp server
SlackwareThis Forum is for the discussion of Slackware Linux.
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.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
The solution that I use is to install Cygwin on the XP machine, do startx in Cygwin and then use ssh with X11 forwarding ( ssh -Y <linux server> ). On the server you need to have sshd running and X11 forwarding enabled ( requires a little editing of sshd_config ). This allows me to log into the server and run a GUI app with good graphics. You cannot have a full KDE session though.
You could also consider nxclient, but is a proprietary solution for the server side software. If your girlfriend is only a short term proposition, perhaps the evaluation version will suffice :-).
NX encrypts and compresses the traffic so that even over a slower than LAN link, you will still get a responsive desktop (one of the NX client's configuration elements is the type of connection you have, ranging from modem to LAN).
On a LAN, where you do not need compression of the X server's traffic to get a fluid X desktop, you can use the XDMCP protocol to connect from the Windows box to the Slackware machine. Read http://alien.slackbook.org/blog/runn...on-ms-windows/ on how to configure your Slackware box to listen for XDMCP requests.
The windows side either needs Cygwin/X or Xming. In my opinion, the Xming software is the easiest to install and it comes with a connection "wizard".
I tried the NX installation and ran nxsetup --install but I got warnings and errors:
Warning: Could not find nxdesktop in /usr/bin. RDP sessions won't work.
Warning: Could not find nxviewer in /usr/bin. VNC sessions won't work.
Warning: Invalid value "APPLICATION_LIBRARY_PRELOAD=/usr/lib64/NX/lib/libX11.so.6.2:/usr/lib64/NX/lib/libXext.so.6.4:/usr/lib64/NX/lib/libXcomp.so:/usr/lib64/NX/lib/libXcompext.so:/usr/lib64/NX/lib/libXrender.so.1.2". /usr/lib64/NX/lib/libXcomp.so could not be found. Users will not be able to run a single application in non-rootless mode.
Warning: Invalid value "COMMAND_FOOMATIC=/usr/lib64/cups/driver/foomatic-ppdfile"
Users will not be able to use foomatic.
Warning: Invalid value "COMMAND_START_GNOME=gnome-session"
Users will not be able to request a Gnome session.
Warning: Invalid value "COMMAND_START_CDE=cdwm"
Users will not be able to request a CDE session.
Warning: Invalid value "COMMAND_SMBUMOUNT=smbumount". You'll not be able to use SAMBA.
Warning: Invalid cupsd version of "/usr/sbin/cupsd". Need version 1.2.
Users will not be able to enable printing.
Error: Could not find 1.5.0 or 2..0 or 3..0 version string in nxagent. NX 1.5.0 or 2..0 or 3..0 backend is needed for this version of FreeNX.
You could also consider nxclient, but is a proprietary solution for the server side software.
I use FreeNX (http://freenx.berlios.de/) and it works very well even over my mobile internet link.
It has windows and linux clients (I use nxclient from NoMachine).
Originally Posted by Alien Bob
Try installing FreeNX (the free clone of NoMachine's NX server) on the Slackware box. Packages here: http://slackware.com/~alien/slackbui...nx/pkg64/13.0/ . After installation of the nx and freenx packages, no further configuration is required, but you are free to look at /etc/nxserver/node.conf.
Do you plan to have slackware 13 packages available or should I use the ones from 12.2? (the 12.2 ones don't have the client).
Another alternative is xrdp. It allows you to run a real RDP server in Linux with many uses. Anybody with a rdp client (mstsc in Windows, rdesktop in Linux) can connect to your xrdp server, and it can be used to connect vnc, X11vnc, Xrdp (true RDP server), or even bridge to another machine.
I like NX, too, but every machine that you want to use to connect to your server must have a NX client, whereas almost every machine has a RDP client.
... Xrdp (true RDP server), or even bridge to another machine...
meant to say X11rdp...
Originally Posted by CollieJim
I'm trying to use xrdp, but not having much luck. When I try to connect from XP Home (is Home the problem?) I get
connecting to sesman ip 127.0.0.1 port 3350
sesman connect ok
sending login info to sesman
login successful for display 10
connecting to 22.214.171.124 5910
error - problem connecting
I've tried emerging tightvnc and x11vnc to no avail.
xhost + and xhost - have no effect.
What am I missing?
I think the problem is that you were not running a vnc server. To connect to a vnc server via xrdp, you first must have the server started. xrdp does not do that for you as it does not make any assumptions about how you want that setup.
If you have the X11rdp binary installed, then xrdp will run that automatically when you try to connect to a true rdp session. X11vnc and tightvnc server, OTH, should first be run, and then you can connect to them via xrdp. To have the vnc started you can ssh into the box and run the vnc command (use a screen session if you want to close the ssh connection), or you can have your vnc server command run automatically when your box boots.
Also keep in mind that X11vnc connects to the root display (usually port 5900 for display :0), while vnc usually uses the next available display (usually port 5901 for display :1).
When I use xrdp I usually either connect to X11rdp or I first ssh into the box and run X11vnc before starting the vnc component of xrdp. Which I use depends on if I need the real (root) display or not.
Thanks. I will look for the x11rdp binary. I tried building it from the xrdp source (0.4.1) but the instructions were far from clear and did not make sense.
I did not even know there were instructions on how to build it. I built mine a couple of years ago with the help of one of the developers (Jay). He had me download some svn sources and run his script to build it. I actually had to tinker a bit with the script at the time to make it build properly. The resultant file I compiled is 19MB.
Since that time, the sources and his script have changed. See this other XRDP thread for more information.
I'd like to make a SlackBuild for the X11rdp binary. I'll post back if I come up with anything.
In the meantime, try contacting the developers for help. I'm sure they would appreciate the continued interest in their project.
I checked out the latest SVN (rev. 276), looked through the project forums and mailing list, and as far as I can tell X11rdp is not building on recent X.org versions.
I fiddled (heavily modified) with the included build script in the svn sources for a bit, but not all of the components would build correctly. Some are dependent on others. SW 12.2 was used to attempt building.
** will not build **
I did come across this page with X11rdp binaries, but they are very old. Who knows if they are useful as all. I know mine works great with Slackware 12.x, and I have not had any problems thus far with it on Slackware 13.
I'm going to contact Jay to see if he has any ideas on how to get this working. I originally built X11rdp using Slackware 12.0, so maybe that will still work. Last I checked, it did not build on Slackware 12.1 or later, but the SVN has changed a lot since then.