xrdp | xrdp : an open source RDP server

 by   neutrinolabs C Version: v0.9.22.1 License: Apache-2.0

kandi X-RAY | xrdp Summary

kandi X-RAY | xrdp Summary

xrdp is a C library typically used in User Interface applications. xrdp has no bugs, it has no vulnerabilities, it has a Permissive License and it has medium support. You can download it from GitHub.

xrdp provides a graphical login to remote machines using Microsoft Remote Desktop Protocol (RDP). xrdp accepts connections from a variety of RDP clients:. Many of these work on some or all of Windows, Mac OS, iOS, and/or Android. RDP transport is encrypted using TLS by default.
Support
    Quality
      Security
        License
          Reuse

            kandi-support Support

              xrdp has a medium active ecosystem.
              It has 4630 star(s) with 2636 fork(s). There are 177 watchers for this library.
              OutlinedDot
              It had no major release in the last 12 months.
              There are 275 open issues and 1308 have been closed. On average issues are closed in 788 days. There are 28 open pull requests and 0 closed requests.
              It has a neutral sentiment in the developer community.
              The latest version of xrdp is v0.9.22.1

            kandi-Quality Quality

              xrdp has 0 bugs and 0 code smells.

            kandi-Security Security

              xrdp has no vulnerabilities reported, and its dependent libraries have no vulnerabilities reported.
              xrdp code analysis shows 0 unresolved vulnerabilities.
              There are 0 security hotspots that need review.

            kandi-License License

              xrdp is licensed under the Apache-2.0 License. This license is Permissive.
              Permissive licenses have the least restrictions, and you can use them in most projects.

            kandi-Reuse Reuse

              xrdp releases are available to install and integrate.
              Installation instructions, examples and code snippets are available.

            Top functions reviewed by kandi - BETA

            kandi's functional review helps you automatically verify the functionalities of the libraries and avoid rework.
            Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of xrdp
            Get all kandi verified functions for this library.

            xrdp Key Features

            No Key Features are available at this moment for xrdp.

            xrdp Examples and Code Snippets

            No Code Snippets are available at this moment for xrdp.

            Community Discussions

            QUESTION

            Bash to Grep and Exclude At the Same Time Using Regex
            Asked 2022-Mar-17 at 08:21

            I want to grep a string from command output but remove a substring at the same time. For instance

            String = Active: active (running) since Sat 2022-03-12 20:02:20 PKT; 1h 31min ago

            What I want = active (running) since 20:02:20 PKT

            Removed

            1. Active:
            2. Sat 2022-03-12
            3. ; 1h 31min ago

            To do that I have been using regular expression initially

            sudo service sshd status |grep -Po '(?<=Active: )(.*) since (.*);'

            active (running) since Mon 2022-03-14 01:06:43 PKT;

            Can you tell how can i ignore date as well as last semi-colon ; while keeping the time only and have output exactly like:

            active (running) since 01:06:43 PKT

            Thanks

            Full output of command:

            ...

            ANSWER

            Answered 2022-Mar-17 at 08:21

            QUESTION

            tkinter misbehave with sudo when remote desktop on Ubuntu 21.10 xrdp
            Asked 2022-Feb-05 at 13:23

            SETUP

            I have a python3 application that creates a gui using tkinter. It runs on a Raspberry Pi 4 running Ubuntu 21.10. I'm connected using a remote desktop with the xrdp client. I successfully connect to the Ubuntu desktop, but I can't see desktop icons.

            Link to the application

            PROBLEM

            When I launch the application with root privileges, tkinter gets confused on the display and fails to create the GUI.

            ...

            ANSWER

            Answered 2022-Feb-05 at 13:18

            This is an X Windows security issue preventing the sudo user accessing the display created by the logged on user. If you're not worried about security on your local network then running the command 'xhost +' will disable all security on the X Windows Display and allow the sudo user to access the display.

            Source https://stackoverflow.com/questions/70997816

            QUESTION

            Raspberry Pi / Remote Desktop, "connection problem, giving up"
            Asked 2022-Jan-06 at 11:08

            I have three new Raspberry Pis running this OS:

            ...

            ANSWER

            Answered 2021-Nov-29 at 08:46

            I got my Pi 4 today and ran into exactly your problem. Took me 1 hour to figure out how to fix, hope it can help:

            • Remove and purge all VNC server and then install/reinstall XRDP
            • sudo raspi-config
            • Go to (1) System Options -> S5 Boot/Auto Login -> select "B3 Desktop GUI - requiring user to login". It should works with this option. Otherwise you can give a try with the automatically logging in as pi user option.
            • Reboot and have fun !

            Source https://stackoverflow.com/questions/70146297

            QUESTION

            Run external applications using Python and call their methods inside
            Asked 2021-Oct-18 at 19:41

            Wish You all beautiful sunny day! :D,

            I have a question for You guys. I have following python "script":

            ...

            ANSWER

            Answered 2021-Oct-18 at 19:41

            While the question/answers linked in the comments is a good read (sudoers in particular), there's a better method for WSL. Instead of using ubuntu.exe, use the newer wsl.exe replacement. The wsl command offers more control over the startup, including being able to change the user:

            Source https://stackoverflow.com/questions/69607990

            QUESTION

            error when setting up remote docker server
            Asked 2020-Nov-05 at 14:28

            On my Pi I followed this tutorial to install docker on raspbian. Few side notes here:

            1. I did NOT setup a swarm, I stopped at docker info and (as in other guides) I succesfully ran the hello world container.
            2. idk if it matters, but this guide (unlike others) had me edit /etc/apt/sources.list and add line: deb https://download.docker.com/linux/raspbian/ stretch stable

            On my develop machine (win 10) I used this tutorial to add docker configs and ymls to my mern stack app. However at multiple points in this tutorial they wanted me to run docker commands, so I ended up having to install Docker Desktop.

            But I don't want to use local containers, I want to use the remote one on my Pi. So I used this tutorial to try and setup my remote docker.

            However Im getting an error:

            C:\Users\oweng>docker-machine create --driver generic --generic-ip-address=192.168.1.2 --generic-ssh-key "%HOMEPATH%/.ssh/id_rsa" --generic-ssh-user=pi remote-docker-host Running pre-create checks... Creating machine... (remote-docker-host) Importing SSH key... Waiting for machine to be running, this may take a few minutes... Detecting operating system of created instance... Waiting for SSH to be available... Enter passphrase for key 'C:\Users\oweng.docker\machine\machines\remote-docker-host\id_rsa': Enter passphrase for key 'C:\Users\oweng.docker\machine\machines\remote-docker-host\id_rsa': Detecting the provisioner... Enter passphrase for key 'C:\Users\oweng.docker\machine\machines\remote-docker-host\id_rsa': Error creating machine: Error detecting OS: OS type not recognized

            I have googled the error a bit but havnt found a solution.

            furthermore when checking listening ports on my Pi (docker server) I dont see it running

            pi@raspberrypi:~ $ sudo lsof -i -P -n | grep LISTEN xrdp-sesm 390 root 7u IPv6 14566 0t0 TCP [::1]:3350 (LISTEN) sshd
            404 root 3u IPv4 17224 0t0 TCP *:22 (LISTEN) sshd
            404 root 4u IPv6 17226 0t0 TCP *:22 (LISTEN) xrdp
            406 xrdp 11u IPv6 17302 0t0 TCP *:3389 (LISTEN)

            So I feel like maybe the server is not running? But it seems to be.

            pi@raspberrypi:~ $ systemctl status docker ● docker.service - Docker Application Container Engine Loaded: loaded (/lib/systemd/system/docker.service; enabled; vendor preset: enabled) Active: active (running) since Tue 2020-11-03 07:18:21 PST; 3h 35min ago Docs: https://docs.docker.com Main PID: 496 (dockerd) Tasks: 13 CGroup: /system.slice/docker.service └─496 /usr/bin/dockerd -H fd:// --containerd=/run/containerd/containerd.sock

            Nov 03 07:18:14 raspberrypi dockerd[496]: time="2020-11-03T07:18:14.064113743-08:00" level=warning msg="Your kernel does not support cgroup blkio throttle.w Nov 03 07:18:14 raspberrypi dockerd[496]: time="2020-11-03T07:18:14.064249212-08:00" level=warning msg="Your kernel does not support cgroup blkio throttle.r Nov 03 07:18:14 raspberrypi dockerd[496]: time="2020-11-03T07:18:14.064373483-08:00" level=warning msg="Your kernel does not support cgroup blkio throttle.w Nov 03 07:18:14 raspberrypi dockerd[496]: time="2020-11-03T07:18:14.066367493-08:00" level=info msg="Loading containers: start." Nov 03 07:18:17 raspberrypi dockerd[496]: time="2020-11-03T07:18:17.612685200-08:00" level=info msg="Default bridge (docker0) is assigned with an IP address Nov 03 07:18:18 raspberrypi dockerd[496]: time="2020-11-03T07:18:18.710629367-08:00" level=info msg="Loading containers: done." Nov 03 07:18:20 raspberrypi dockerd[496]: time="2020-11-03T07:18:20.815943637-08:00" level=info msg="Docker daemon" commit=4484c46 graphdriver(s)=overlay2 v Nov 03 07:18:20 raspberrypi dockerd[496]: time="2020-11-03T07:18:20.822947178-08:00" level=info msg="Daemon has completed initialization" Nov 03 07:18:21 raspberrypi systemd1: Started Docker Application Container Engine. Nov 03 07:18:21 raspberrypi dockerd[496]: time="2020-11-03T07:18:21.273201136-08:00" level=info msg="API listen on /var/run/docker.sock"

            Update 1

            following this SO post i was able to get the server running it seems. Editing docker.service file. I now get a different error when trying to create

            C:\Users\oweng>docker-machine create --driver generic --generic-ip-address=192.168.1.2:2137 --generic-ssh-key "%HOMEPATH%/.ssh/id_rsa" --generic-ssh-user=pi remote-docker-host Running pre-create checks... Creating machine... (remote-docker-host) Importing SSH key... Waiting for machine to be running, this may take a few minutes... Error creating machine: Error waiting for machine to be running: Maximum number of retries (60) exceeded

            Update 2 BMitch's comment lead me to these two tutorial which seem to be exactly what im trying todo https://code.visualstudio.com/docs/containers/ssh https://code.visualstudio.com/docs/containers/choosing-dev-environment#_remote-machine

            ...

            ANSWER

            Answered 2020-Nov-04 at 22:21

            I wouldn't use docker-machine for that. Support for the tool seems to be going away, and there are much easier methods.

            The easiest is to set DOCKER_HOST on your machine to be the ssh setting of the remote node:

            Source https://stackoverflow.com/questions/64665688

            QUESTION

            slurmd.service is Failed & there is no PID file /var/run/slurmd.pid
            Asked 2020-Oct-08 at 11:10

            I am trying to start slurmd.service using below commands but it is not successful permanently. I will be grateful if you could help me to resolve this issue!

            ...

            ANSWER

            Answered 2020-Oct-06 at 11:16

            The log files states that it cannot bind to the standard slurmd port 6818, because there is something else using this address already.

            Do you have another slurmd running on this node? Or something else listening there? Try netstat -tulpen | grep 6818 to see what is using the address.

            Source https://stackoverflow.com/questions/64156511

            QUESTION

            Apache Guacamole XRDP desktop shows sometimes blurry
            Asked 2020-Sep-18 at 09:55

            I'm using Apache Guacamole 1.2.0 and XRDP 0.9.12 on Ubuntu 20.04.

            When looking at the remote desktop the fonts are shown sometimes reasonably sharp (alas still less than when opening an RDP connection directly), but often become blurry/blocky, as shown in the following screenshot.

            It's possible to "provoke" this by letting the browser window loosing the input focus. But it also happens while working on the remote desktop. By triggerings repaints (e.g. by going with the mouse over the text) the fonts become sharp again at the repainted screen regions while staying blurry at the other screen regions.

            The RDP connection settings in Guacamole are configured like this:

            I played a bit with the font smoothing and caching options, but could not improve the situation. Is there any way to keep the fonts from "going blurry"?

            Best regards,

            Bernd

            ...

            ANSWER

            Answered 2020-Sep-18 at 09:55

            I reinstalled with compiled versions xrdp 0.9.14 and xorgxrdp 0.2.14 - I had to do this anyway, because file sharing does not work between Guacamole and xrdp 0.9.12.

            As a "side effect", the blocky/blurry appearance is gone now, too. Either it has been fixed with the newer version or my old installation was somehow faulty.

            Source https://stackoverflow.com/questions/63902378

            QUESTION

            How to auto run commands when log on to Windows Subsystem for Linux
            Asked 2020-Sep-02 at 07:14

            I have a Ubuntu 20.04 running within WSL 2 on a Windows 10 computer.

            Every time I login to Ubuntu, I had to manually execute these four line by pasting it one by one in the Windows 10 Terminal.

            ...

            ANSWER

            Answered 2020-Sep-02 at 07:14

            You can use .bashrc file to execute commands whenever you open the terminal. It should be located at $HOME directory.

            Source https://stackoverflow.com/questions/63687253

            QUESTION

            Docker network host commands for remote access
            Asked 2020-Jun-30 at 22:03

            I'm trying to build a linux docker container with xrdp service installed so that I can remotely access the RDP service over not only the localhost interface but also the host network eth0 ip interface. I'm failing at understanding what I'm missing here with docker networking and properly launching the container. Docker running on Ubuntu Linux 20.04. As a test, when I run this docker command:

            docker run --rm -d --network host --name my_nginx nginx

            I observer that nginx is listening on port 80 and exposed on the localhost interface and I can access it with a browser. Verifying with:

            sudo netstat -tulpn | grep 80

            Now here is the linux container I'm trying to build and launch. I use a Dockerfile to launch an xrdp service.

            ...

            ANSWER

            Answered 2020-Jun-30 at 22:03

            Here was the resolution in Dockerfile: CMD /usr/sbin/xrdp-sesman;/usr/sbin/xrdp -n

            Then launched the image with -p: docker run -d --name kali-image -p 3389:3389 kali

            Verify port is listening: docker port kali-image

            Thanks to David Maze above.

            Source https://stackoverflow.com/questions/62638248

            QUESTION

            port 3389 won't open up on azure vm
            Asked 2020-May-05 at 10:10

            when i try to do rdp, it doesn't work.

            ...

            ANSWER

            Answered 2020-May-02 at 20:16

            I assume that you created a Windows/Linux VM from Market Place image, so by default 3389 is allowed inside Windows Firewall, for Linux this port 3389 might be your service running on this port. When you create a NSG rule form traffic outside, you must use private IP of your VM.

            You need to make sure that your NSG is associated either to your NIC or SUBNET of VM, so I suggest you to test it using Network Watcher, use the same Remote IP address 200.200.200.200 and port 45654, it is up to you, it must has a public IP and a port from the source. For local IP address and port you put information about your VM (private IP). In my case it is not allowed port 3389.

            Another test you can do, in case that you have another VM in the same SUBNET of this one, try to telnet PRIVATE_IP 3389.

            Source https://stackoverflow.com/questions/61565103

            Community Discussions, Code Snippets contain sources that include Stack Exchange Network

            Vulnerabilities

            No vulnerabilities reported

            Install xrdp

            Most Linux distributions should distribute the latest release of xrdp in their repository. You would need xrdp and xorgxrdp packages for the best experience. It is recommended that xrdp depends on xorgxrdp, so it should be sufficient to install xrdp. If xorgxrdp is not provided, use Xvnc server. xrdp listens on 3389/tcp. Make sure your firewall accepts connection to 3389/tcp from where you want to access.

            Support

            xrdp primarily targets GNU/Linux operating system. x86 (including x86-64) and ARM processors are most mature architecture to run xrdp on. See also Platform Support Tier. Some components such as xorgxrdp and RemoteFX codec have special optimization for x86 using SIMD instructions. So running xrdp on x86 processors will get fully accelerated experience.
            Find more information at:

            Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items

            Find more libraries

            Stay Updated

            Subscribe to our newsletter for trending solutions and developer bootcamps

            Agree to Sign up and Terms & Conditions

            Share this Page

            share link

            Explore Related Topics

            Consider Popular C Libraries

            linux

            by torvalds

            scrcpy

            by Genymobile

            netdata

            by netdata

            redis

            by redis

            git

            by git

            Try Top Libraries by neutrinolabs

            xorgxrdp

            by neutrinolabsC

            pulseaudio-module-xrdp

            by neutrinolabsC

            NeutrinoRDP

            by neutrinolabsC

            librfxcodec

            by neutrinolabsC

            libpainter

            by neutrinolabsC