How is the "Execute a Command" feature of Remmina used correctly?
1
vote
0
answers
1868
views
I am using Remmina on Pop!_OS 21.10 to remotely connect to a Windows 10 machine via RDP. This is working well, however, I am having some difficulty understanding how exactly the "Execute a Command" feature found in Connection Profile > Behavior works.
I couldn't find anything related to this in the user guide or much discussion around this anywhere. I would like to execute a command after connecting, but the command does not execute. The command I would like to run will remove the GNOME titlebar:

xprop -name "Windows 10 RDP" -format _MOTIF_WM_HINTS 32c -set _MOTIF_WM_HINTS 2
. This works as expected when executed directly in the terminal, but not when set identically in the "After connecting" field shown above.
My troubleshooting steps thus far:
- Wrap the command in a script, and call the script from the Remmina config. Command still did not execute.
- Remmina was originally installed as Flatpak, and I thought maybe there was an issue executing a command outside of its sandbox. Uninstalling and re-installed from .deb package did not resolve the issue.
- Test "Before Connecting" command; this also did not execute.
- Create new connection profiles from scratch.
- Test with connection to different machines (Windows & Linux)
Asked by mfcallahan
(41 rep)
Mar 4, 2022, 04:17 AM