Linux and Windows Remote Desktop: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
|||
| Line 37: | Line 37: | ||
And finaly reload the udev rules: | And finaly reload the udev rules: | ||
<syntaxhighlight lang="sh"> | <syntaxhighlight lang="sh"> | ||
sudo udevadm control --reload-rules && udevadm trigger | sudo udevadm control --reload-rules && sudo udevadm trigger | ||
</syntaxhighlight> | </syntaxhighlight> | ||
=Remote Desktop from WIN to Linux= | =Remote Desktop from WIN to Linux= | ||
*https://linuxconfig.org/ubuntu-20-04-remote-desktop-access-from-windows-10 | *https://linuxconfig.org/ubuntu-20-04-remote-desktop-access-from-windows-10 | ||
-> reboot tuuut guut | -> reboot tuuut guut | ||
Latest revision as of 17:28, 19 December 2023
How to
A nice and convenient variant to use RDP from a Linux box to a windowos system is xfreerdp.
The following switches are used to enable multimonitor usage as well as microphone and sound. Monitor 0 and 1 is used in full screen mode on the linux box. Run xfreerdp from your favorite terminal:
xfreerdp /monitors:0,1 /multimon /sound /microphone /kbd:0x00000807 /u:<user name> /v:<ip address or domain name of the server>
add /usb to route an USB Device to the remote session
/usb:auto,dev:046d:c626#0b95:1790
To quit the rdp session press the right <ctrl> key and switch to then in the terminal and press <ctrl>+c.
Installation
Ubuntu 20.04 install the package 'freerdp2-x11':
sudo apt install freerdp2-x11
Add access rights to a USB device
Add/Adjust the udev rules file: /etc/udev/rules.d/100-local.rules
sudo nano /etc/udev/rules.d/100-local.rules
Add the following config for a 3d Mouse and a USB Network Adapter:
SUBSYSTEM=="usb", ATTRS{idVendor}=="046d", MODE="0666", GROUP="plugdev", TAG+="uaccess"
SUBSYSTEM=="usb", ATTRS{idVendor}=="0b95", MODE="0666", GROUP="plugdev", TAG+="uaccess"
And finaly reload the udev rules:
sudo udevadm control --reload-rules && sudo udevadm trigger
Remote Desktop from WIN to Linux
-> reboot tuuut guut