this post was submitted on 11 Jan 2025
1 points (100.0% liked)

Arduino and other electronics projects info

149 readers
1 users here now

founded 2 years ago
MODERATORS
 

Note: FreeRDP shares the active desktop.


For ubuntu, please explain how to install FreeRDP and how to run the server part

ChatGPT said:

To install FreeRDP and run the server part on Ubuntu, follow these steps:

Installing FreeRDP

  1. Update your package list:

bash

sudo apt update

  1. Install FreeRDP: FreeRDP includes both the client (xfreerdp) and the server (freerdp-shadow-cli).

bash

sudo apt install freerdp2-x11 freerdp2-shadow-x11

Running the FreeRDP Server (freerdp-shadow-cli)

The FreeRDP server component allows you to share your desktop over RDP using freerdp-shadow-cli.

  1. Start the FreeRDP Shadow Server: Run the following command to start the server, which will share your current session:

bash

freerdp-shadow-cli

By default, freerdp-shadow-cli will start sharing your current desktop session and listen on the default RDP port (3389).

  1. Options and Flags: You can customize the server with various options. Some useful flags include:
  • +auth: Require authentication.
  • /port:<port_number>: Specify a custom port.
  • +clipboard: Enable clipboard sharing.
  • +sound: Enable sound redirection.

Example with options:

bash

freerdp-shadow-cli +auth /port:3390 +clipboard +sound

  1. Accessing the RDP Server: Use an RDP client (such as xfreerdp, Microsoft's Remote Desktop Client, or any other RDP client) to connect to the server. For example, from another system, you can connect using:

bash

xfreerdp /v:<server_ip_or_hostname> /u:<username>

Stopping the Server

To stop the FreeRDP server, simply interrupt the process by pressing Ctrl+C in the terminal where it's running.

This setup allows for quick sharing of your desktop session over RDP using FreeRDP.

you are viewing a single comment's thread
view the rest of the comments
[–] rtwin@lemmy.staphup.nl 1 points 6 months ago* (last edited 6 months ago)

Update! Use FreeRDP version 3!

i had a problem with version 2, where when i connect from Windows 11 RDP client, i get about 1 second of updating video, and then it stops. mouse movements do get through and the mouse-pointer shape does update.

Install

$ sudo apt install freerdp3-x11 freerdp3-shadow-x11

Run the server part

$ freerdp-shadow-cli3

links: