Sponsored Links

X11RDP-o-Matic Version 3.02 Now Released

xrdp24

 

This has an update to RDPsesconfig.sh. It should now take into account non-local user accounts, such as Active Directory, LDAP accounts, etc. as well as whoever’s in /etc/passwd locally.

Thanks to @sillie on github for the change. I learned something new today ;)

As usual just grab from the github repository, instructions at the original v3.0 post at http://scarygliders.net/2013/07/25/x11rdp-o-matic-version-3-now-released/

 

Please let me know how you got on.

VN:F [1.9.22_1171]
Rate This Article
Rating: 9.8/10 (12 votes cast)
X11RDP-o-Matic Version 3.02 Now Released, 9.8 out of 10 based on 12 ratings
Share the knowledge :
Facebook Twitter Pinterest Linkedin Digg Delicious Reddit Stumbleupon Posterous Email Snailmail

46 comments to X11RDP-o-Matic Version 3.02 Now Released

  • zino

    X11RDP-o-Matic Version 3.02 installed and running on Kubuntu 13.10. Thank you for Scarygliders Utilities.

    I have 2 questions.

    1. I am using msdtc, is there some way to save login credentials and skip login screen? (I have tried changing xrdp.ini to use autorun=xrdp1 username=me password=secret but ends with wbcLogonUser failed no such user.)

    2. Are there settings to keep the session alive or reconnect as necessary? (This might be a client setting. I find the session disconnects when the client computer sleeps. In VNC the client simply reconnects after wake. If rdp client will reconnect or provide auto logon would be wonderful.)

    VA:F [1.9.22_1171]
    Rating: +1 (from 1 vote)
  • d00m

    zino, please check – is clipboard working in your environment between windows and kubuntu ?
    I suppose that you also are connecting from windows to your kubuntu ?

    VA:F [1.9.22_1171]
    Rating: 0 (from 0 votes)
  • Heltoupee

    Happy to report that this is working on Ubuntu 13.10. No errors during running, or during RDPsesconfig.sh. I’m using XFCE, as I read about 13.10 having broken packages for some of the necessary non-unity Gnome stuff. Everything works great except that the session doesn’t completely die when you log out. All that’s left is the desktop background. You have to manually kill X11rdp to get it to completely disconnect. Has anyone see this? Any workarounds? Will I fare better with LXDE?

    VA:F [1.9.22_1171]
    Rating: 0 (from 0 votes)
  • Works great for me on Linux Mint 15 Olivia (Ubuntu clone) with the LXDE desktop, inside a virtual machine (KVM). All 64 bit.

    I used your script after the default packages gave me trouble.

    Please SET THE DEFAULT ENCRYPTION LEVEL TO HIGH. The current default is “low”. I know, it’s the Xrdp upstream default. Still your script should default to “high” IMHO.

    Also I still have a few problems:

    – Screen (auto)resize does not work due to some xrandr error or whatever. Might also be a Debian derived bug.
    – A bit stupid is the 2x password input requirement when logging in into a sleeping session: sesman-X11rdp AND screen lock (XScreenSaver 5.15).

    These problems, however, are more related to xrdp upstream than to your script, which worked flawless.

    Also, the Xrdp PulseAudio sink works great! I followed this guide and now I’m listening to music from my Windows 7 RDP client :-)

    Maybe your script can incorporate the PA sink some day.

    Thanks. I’m really happy with my virtual desktop using xrdp. On the local network, even viewing (and listening) YouTube clips using Firefox with the Adobe flash plugin works.

    VA:F [1.9.22_1171]
    Rating: +1 (from 1 vote)
    • Your comment got put into the spam area, I’ve moved it out – glad o-matic worked for you btw ;)

      Yes xrdp/x11rdp upstream still has lots of niggles to iron out – they’re working on it :)

      VN:F [1.9.22_1171]
      Rating: +1 (from 1 vote)
  • Addition: after some time not using it, audio stops working.

    VA:F [1.9.22_1171]
    Rating: 0 (from 0 votes)
  • d00m

    guys, what about clipboard ?
    I’ve installed X11RDP-o-Matic Version 3.01 on Xubuntu 13.10 and succesfully connected via mstsc from win7 via sesman-X11rdp, but clipboard between xubuntu and win7 doesn’t work.
    I can’t copy any text from terminal to windows and vice versa.
    Please advice.

    VA:F [1.9.22_1171]
    Rating: 0 (from 0 votes)
  • Stan Brown

    Hello Kevin.

    First, let me say, “Hats off to you” for even writing any software at all. I’m a lazy bugger that’s never done anything like that. Also, glad you’re out of that Japanese place. Hope everyone’s fine.

    Now, I came across your site from a post of Reddit, so forgive me. I don’t see anywhere on your site that actually describes what your software does. I expect it has something to do with the RDP protocol, but I can’t find where you describe how it is an improvement over rdesktop (which I currently use).

    Also, since I am new to your software, perhaps you can direct me to the link on your site where you demonstrate the process of using your software. I am excited to try out any improvement over rdesktop which, while it works good enough, does not have the enhancements I find in Microsoft’s Remote Desktop Connection.

    Silly me, I can’t find the URL to your man page either. I’m sure I’m foolishly over-looking the permanent links you would have made on your home page to your documentation. I’m getting on in years and these things often escape me, sadly.

    I did find the little menu bar at the top but it only shows Home, About, RDP FAQ, X11RDP-o-matic Downloads page. Perhaps, it’s my browser that’s to blame but I just can’t seem to find any relevant documentation about the software that you’ve obviously spent so much time to develop. It’s a shame that I won’t be able to use it.

    Best regards,

    Stan

    VA:F [1.9.22_1171]
    Rating: 0 (from 0 votes)
  • DaAwesomeP

    When installing this, I noticed how much was being built and downloaded. What is the estimated size after installing?

    VA:F [1.9.22_1171]
    Rating: +1 (from 1 vote)
    • Yep! :) You’re basically building almost an entire Xorg tree, as that’s currently how the X11rdp binary works.

      /opt/X11rdp on my system comes out at a “healthy” 355MB

      Regards

      VN:F [1.9.22_1171]
      Rating: 0 (from 0 votes)
    • Oh one more thing – you didn’t install X11rdp-o-Matic – you ran it – see the FAQ page ;)

      Regards

      VN:F [1.9.22_1171]
      Rating: 0 (from 0 votes)
  • Sven

    I ran it on Lubuntu 13.04. I had xrdp set up before but I wanted to connect to the console session. Before it required that I tried to login twice – first time always failed. Now I can’t connect at all.
    When the xrdp window opens prompting to select how I authenticate – every selection fails in its own way. I’ll like to give a more detailed feedback but don’t know how.

    Btw the script is very slick. It ran about 5 hours on my dualcore atom with downloads taking the first hour.

    Cheers.

    VA:F [1.9.22_1171]
    Rating: -1 (from 1 vote)
    • Sven, hi…

      When you ran o-matic, did you apt-get remove --purge xrdp beforehand? It could be the old configuration is interfering with the
      freshly installed stuff – that’s one major cause.

      Also, do you know for sure o-matic ran without a hitch?

      If you go into a terminal and type “dpkg -L xrdp” and copy the output to Pastebin, then do the same for “dpkg -L x11rdp“,
      then we can at least see if the packages were created.

      Also, if you could do a “apt-cache show xrdp” and “apt-cache show x11rdp” – that latter one should say something like:

      $ apt-cache show x11rdp
      Package: x11rdp
      Status: install ok installed
      Priority: optional
      Section: unknown
      Maintainer: Angulo Solido Architecture: amd64
      Version: 0.7.0-1
      Description: X11rdp backend for the xrdp remote access server
      Description-md5: e1a3a561be46cb9b3f6044368c6f69d0

      Best regards,

      Kevin.

      VN:F [1.9.22_1171]
      Rating: 0 (from 0 votes)
      • Sven

        Uhoh. I didn’t purge xrdp beforehand.
        dpkg -L xrdp:
        http://pastebin.com/UDNmJniA
        dpkg -L x11rdp – output is 13013 lines and it crashes my browser when I paste it :D

        apt-cache is here:
        http://pastebin.com/w2MkUc6v

        How does it look like, doc? Will I ever xrdp? :)

        VA:F [1.9.22_1171]
        Rating: 0 (from 0 votes)
        • Okay try the following…

          I’m assuming you still have the XRDP-o-Matic directory on your system.

          1) sudo /etc/init.d/xrdp stop

          2) sudo apt-get remove --purge xrdp

          3) sudo apt-get remove --purge x11rdp

          4) cd /X11RDP-o-Matic/packages

          5) sudo dpkg -i xrdp/xrdp_0.7.0-1_.deb (where is whatever the arch is.

          6) sudo dpkg -i Xorg/x11rdp_0.7.0-1_.deb (same as above)

          7) sudo service xrdp start

          See how you get on with that. If that doesn’t work, purge both packages again and run o-matic again – and do something interesting for 5 hours ;)

          Do let me know how you got on.

          Regards.

          VN:F [1.9.22_1171]
          Rating: 0 (from 0 votes)
          • Sven

            Followed your advice. Purged and reinstalled the packages.

            I can now start a new session with sesman-x11rdp. ᶺ_ᶺ Hooray!

            Am I correct to assume that the only way to pick up the console session is by installing vnc?

            Many thanks Kevin!

            VA:F [1.9.22_1171]
            Rating: 0 (from 0 votes)
            • Phew! It worked – whaddya know ;)

              Yes, the “console” session uses the Xvnc back-end – I think all you need is the Xvnc package for that.

              Regards!

              VN:F [1.9.22_1171]
              Rating: 0 (from 0 votes)
              • Sven

                Looks like I already had vino installed but it wasn’t running. All is well now! Kevin, thank you!

                VA:F [1.9.22_1171]
                Rating: 0 (from 0 votes)
  • Tony

    Kevin, thanks for this script. Install went perfect on Kali Linux.

    VA:F [1.9.22_1171]
    Rating: 0 (from 0 votes)
  • furiannn

    Hi Kevin, thanks for the new version of o-matic :)

    I am having an issue with Mint 16. This did not happen with my previous install of mint 13 but then I was using an older version of o-matic so Im not sure what the culprit is.

    My problem is this, I cannot control the desktop remotely as I would if I were sat in front of it. Things that require elevated privileges like changing the networking options, or even hibernating from desktop. I can sudo the command but Im not a linux wiz yet, so I need some access to the desktop!

    I have gone through the polkit files one by one and altered the inactive parts to mimic the active connections. Still no go. I have even edited some to say “yes” instead of allow_auth etc, but with no apparent affect on how the desktop gives me access.

    Ive tried searching for xrdp and permission problems and come up with things about an Xauthority file but that hasnt worked either.

    Any help greatly appreciated.

    VA:F [1.9.22_1171]
    Rating: 0 (from 0 votes)
  • Graham

    Hi,

    Thanks for getting this all working. I ran it with no issues on my Debian box, but have just built a new Lubuntu 13.10 box and hit a few issues. One is that the .xsession file needed to be set up like this to work:

    lxsession -s Lubuntu -e LXDE

    startlubuntu (which the setup script uses by default) no longer exists – this seems to be the only way I could find that works.

    Everything works fine now except that every time I log in, it creates a new LXDE session, and doesn’t re-use the same session (which is what i want). These sessions are sitting around like zombies on my box.

    I’m using identical saved resolution etc settings each time (I’ve already read through the comments!).

    Any hints?

    VA:F [1.9.22_1171]
    Rating: 0 (from 0 votes)
    • Yep, there seems to be an increasing amount of people saying this – o-matic’s merely a build tool for X11rdp/xrdp, so, the problem appears to be something caused by upstream. When I get the time I’ll ask about it.

      VN:F [1.9.22_1171]
      Rating: 0 (from 0 votes)
  • Boris D.

    Hello. I could successefully build xrdp and X11vnc on Lubuntu 13.10 and i can connect from windows to the linux machine. But it does not use existing session. Every time i connect the new session is created.

    If i manually restart xrdp with “sudo service xrdp restart” it starts to work, but if i reboot the system it happens again. Any suggestions?

    VA:F [1.9.22_1171]
    Rating: 0 (from 0 votes)
    • Yep, there seems to be an increasing amount of people saying this – o-matic’s merely a build tool for X11rdp/xrdp, so, the problem appears to be something caused by upstream. When I get the time I’ll ask about it.

      VN:F [1.9.22_1171]
      Rating: 0 (from 0 votes)
      • Boris D.

        Thanks for the fast reply. Is there some version of xrdp that is known to work?

        VA:F [1.9.22_1171]
        Rating: 0 (from 0 votes)
        • You could try the --bleeding-edge option from o-matic – that switches to the Neutrinolabs xrdp repository.

          In the very near future, I’m going to be changing o-matic to use the Neutrinolabs github repository – as Jay Sorg – the main xrdp/X11rdp developer – is going to use that as his main repository.

          I will be either removing the --bleeding-edge switch or changing it so that by default o-matic uses the master neutrinolabs/xrdp repo, and –bleeding-edge will point to a development branch off that.

          So for now, the --bleeding-edge option will download from the neutrinolabs/xrdp master repository.

          VN:F [1.9.22_1171]
          Rating: 0 (from 0 votes)
          • Boris D.

            I’m afraid the version built with “–bleeding-edge” does not work for me at all :(

            VA:F [1.9.22_1171]
            Rating: 0 (from 0 votes)
          • Boris D.

            I just did a clean reinstall of LUbuntu 13.10 x64 and ran o-matic with –bleeding-edge. Everything works now. Thank you for the awesame work :)

            VA:F [1.9.22_1171]
            Rating: +1 (from 1 vote)
  • Shane

    Hello, I just did a fresh install X11rdp-o-Matic on Ubuntu 13.10 x64 successfully. Then I ran the RDPsesconfig and selected xcfe for desktop.

    I can RDP to the Ubuntu from my Windows PC fine and see the xcfe desktop. However, when I try to go to Terminal emulator, I just get blank screen. I can go to System -> xterm fine and access command line, but Terminal emulator is all blank screen.

    Have I done something wrong?

    VA:F [1.9.22_1171]
    Rating: 0 (from 0 votes)
  • Shane

    Please ignore. I had to changed the background and text color, and now it works.
    Great software!

    VA:F [1.9.22_1171]
    Rating: +1 (from 1 vote)
  • Anil

    I am unable to get this working on the Ubuntu 13.10 x64. The scripts seem to work fine, but when I login, I see a black screen, with a black mouse. I’m logging in from Win8.1. I’ve tried both classic mstsc and the new modern app. I’ve tried all the desktops (gnome, kde etc), and I get the same result on all of them. Is there something I can try?

    VA:F [1.9.22_1171]
    Rating: 0 (from 0 votes)
    • Try connecting with a lower colour resolution – from 32 to 24, or 24 to 16?

      When I get the time I’ll test this out as well – I may have to put something in the FAQ for this.

      Regards

      VN:F [1.9.22_1171]
      Rating: 0 (from 0 votes)
  • Anil

    Changing the color resolution from mstsc didn’t help :( I also found out that if I don’t enter my credentials in mstsc, I do see the following box on RDP:
    Login to xrdp
    Module sesman-X11rdp
    username
    password

    When I enter my credentials, there’s a connection window that pops up, says stuff, the last of which says
    started connecting
    connecting
    connecting OK

    Then the box disappears and I’m left with the black screen.

    If I choose something other than susman-xrdp, I can get a grey screen with an X for a cursor, but same result of not having a functional remote.

    VA:F [1.9.22_1171]
    Rating: 0 (from 0 votes)
  • bobhy

    Worked for me: Linux Mint 16 (mate) x64, with mate as desktop environment in X11RDP sessions.

    Now I can use standard Windows (8.1) MSDTC to connect. The off-the-shelf Xrdp didn’t work for me even with gnome-fallback-session. I wonder whether the refreshed config provided by -o-matic would have been sufficient, or whether there are code fixes needed as well?

    One display botch is consistently reproducible: small black squares surrounding the checkbox and OK button on the Linux Mint welcome screen shown on each login.

    The version of X , running as VM on Windows 8.1

    VA:F [1.9.22_1171]
    Rating: 0 (from 0 votes)
    • bobhy, thanks for the feedback.

      The off-the-shelf Xrdp didn’t work for me even with gnome-fallback-session. I wonder whether the refreshed config provided by -o-matic would have been sufficient, or whether there are code fixes needed as well?

      The distro-supplied xrdp version was probably 0.6 . By using o-matic you got the xrdp “0.7”. And by “0.7”, I mean “the authors call it 0.7 but keep putting updated code into the master repo and still calling it 0.7” ;)

      VN:F [1.9.22_1171]
      Rating: 0 (from 0 votes)
  • Manny Nelson

    I’m having the same issue as Anil – seeing a black screen. Does anyone know if this was resolved and if so, how it was resolved? Thanks!

    VA:F [1.9.22_1171]
    Rating: 0 (from 0 votes)
  • DickB

    Hi, your script works fine for me on Debian testing (jessie)/XFCE – many thanks. However, I would like to be able to remotely log in to an existing session started on the local machine. I found a few links on how to do this (using vino) but no luck getting it to work. Vino seems to need a lot of Gnome stuff which I don’t have. Have you got any suggestions? Cheers!

    VA:F [1.9.22_1171]
    Rating: 0 (from 0 votes)
    • Hi,

      You should read the FAQ page, and also it’s better to ask questions in the latest X11RDP-o-Matic blog post – this post is rather old now as o-matic is now at v3.10 (and soon v3.11).

      Regards

      VN:F [1.9.22_1171]
      Rating: 0 (from 0 votes)
  • Ramon

    Ubuntu 15.04 with LXDE doesn’t compile.

    Libtools error. :-(

    VA:F [1.9.22_1171]
    Rating: 0 (from 0 votes)
  • Sven S.

    Tried on Ubuntu 14.04:

    makedepend-1.0.3 (10 of 102) fails with

    checking for X… configure: error: Package requirements (xproto) were not met:

    No package ‘xproto’ found

    Any Idea?
    Thanks
    Sven

    VA:F [1.9.22_1171]
    Rating: 0 (from 0 votes)

Leave a Reply

You can use these HTML tags

<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>