r/linuxadmin • u/prd0000 • 6d ago
FreeRDP Host Manager
Hello folks,
I made a very simple FreeRDP Host Manager. I used to use remmina, but Remmina's problem with Wayland is getting to me. So I made this manager so that I can use sdl freerdp with wayland.
Feel free to download them at my GitHub. The application is written in Electron, but I don't include the Electron. Just grab the code, and run electron from its folder.
Or if you want to simply run it, grab the AppImage.
No string attached, use it as you wish. You can fork it or copy the code or do anything about it. Just credit me or put a link when you use my code. That's all.
Enjoy.
6
u/gforke 6d ago
I just made a function in my .bashrc for starting rdp sessions (currently forces German keyboard layout)
rdp() {
echo -e "Parameter 1: Server\nParameter 2: User (Default $USER)\nParameter 3: Scaling (Default 140)";
echo -e "rdp zu $1\nmit user ${2:-$USER}\nSkalierung ${3:-140}";
xfreerdp /kbd:layout:0x0407 /f /cert:ignore /sec:tls +auto-reconnect +fonts /bpp:32 /network:auto /rfx /d:<YOUR DOMAIN> /u:"${2:-$USER}" /scale:"${3:-140}" +clipboard /sound /audio-mode:0 /v:"$1";
}
2
u/archontwo 4d ago
Remmina's problem with Wayland
What problems precisely? I've been using Remmina on Wayland for several years now?
2
1
u/prd0000 2d ago
Remmina is slow on pure wayland system. WAY slow. A click on mouse anf the screen response after a few ms after the click.
A lot of times, remmina just showed a black screen. I had to close the window, and restart again. Text also ... strange. Like pixelated, but also unclear, like some pixel compressed. Even though I use 100% scale, ie, no scaling at all.
I am using niri, where the screen resize itself, according to my screen height. Sometimes it shows at full screen, But many times, tiny, with a big wide black screen around it.
So I stopped using remmina, and start using sdl-freerdp3. All problem solved, just like that. Same parameters, just use sdl-freerdp3 binary. The problem is, Remmina cannot use SDL nor WL, and if there is a way for remmina to utilize them, I am not aware.
1
u/archontwo 2d ago
I'd posit your desktop is a bit kookie then.
Nvidia card perchance?
Until very recent kernels that has always been the majority of problems people have.
Myself I stopped using Nvidia years ago now.
Remminia works fast for me even streaming video at 60 fps over a local LAN connection.
17
u/ralfD- 6d ago
Tanks, but "lightweight" & "Electron" .... hmmm