FreeRDP
lastmod 2024-07-10created 2024-05-309 edits
FreeRDP is a free implementation of the Remote Desktop Protocol (RDP), released under the Apache license. Enjoy the freedom of using your software wherever you want, the way you want it, in a world where interoperability can finally liberate your computing experience.
Install
Ubuntu/Debian:
Fedora:
Arch:
RemoteApp
To run a RemoteApp with FreeRDP, use the following command:
Here, your-server-address is the address of the Windows server, and username and password are the user name and password needed for authentication. AppAlias is the alias of the application you want to run.
Example
If you want to run Notepad (notepad), enter the command as follows:
Someone reportedly ran KakaoTalk like this:
*.rdp file
You can also save RemoteApp settings in an .rdp file and run it. An .rdp file is a plain text file that can contain various configuration options.
screen mode id:i:2
use multimon:i:0
desktopwidth:i:800
desktopheight:i:600
session bpp:i:24
winposstr:s:0,1,10,10,800,600
compression:i:1
keyboardhook:i:2
audiocapturemode:i:0
videoplaybackmode:i:1
connection type:i:2
networkautodetect:i:1
bandwidthautodetect:i:1
displayconnectionbar:i:1
disable wallpaper:i:0
allow font smoothing:i:0
allow desktop composition:i:0
disable full window drag:i:1
disable menu anims:i:1
disable themes:i:0
disable cursor setting:i:0
bitmapcachepersistenable:i:1
full address:s:your-server-address
audiomode:i:0
redirectprinters:i:1
redirectcomports:i:0
redirectsmartcards:i:1
redirectclipboard:i:1
redirectposdevices:i:0
autoreconnection enabled:i:1
authentication level:i:2
prompt for credentials:i:0
negotiate security layer:i:1
remoteapplicationmode:i:1
remoteapplicationname:s:Notepad
remoteapplicationprogram:s:||notepad
remoteapplicationcmdline:s:
username:s:your-username
password:s:your-password
Run:
Troubleshooting
RAIL_EXEC_E_NOT_IN_ALLOWLIST
- Error RAIL_EXEC_E_NOT_IN_ALLOWLIST When use /app · Issue #998 · FreeRDP/FreeRDP
- Using RemoteApp on Linux - Seamlessly running programs on a remote Windows server
- appguppy: How to setup FreeRDP from Linux (Ubuntu) to Windows 7
xfreerdp -u forcecore --app --plugin rail --data "\Program Files (x86)\Kakao\KakaoTalk\KakaoTalk.exe" -- SERVER:PORT
If you get a RAIL_EXEC_E_NOT_IN_ALLOWLIST error when connecting, you need to add the program to the RemoteApp access list on the host server (Windows).
Alternatively, edit the registry so that all programs can be accessed:
If the key (folder) does not exist, add it, and add the following value at that location.
- Type: DWORD32
- Key: fAllowUnlistedRemotePrograms
- Value: 1
Then connect.
See also
Favorite site
- FreeRDP web site
- Github - FreeRDP/FreeRDP
- Ubuntu Manpage: xfreerdp - FreeRDP X11 client
- MoorDev's Ubuntu struggle log :: Connecting to Windows via remote desktop with FreeRDP