Linux and Windows Remote Desktop: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
|||
| (10 intermediate revisions by 2 users not shown) | |||
| Line 1: | Line 1: | ||
=How to= | |||
A nice and convenient variant to use RDP from a Linux box to a windowos system is xfreerdp. | 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. | 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: | ||
<syntaxhighlight lang="sh"> | |||
xfreerdp /monitors:0,1 /multimon /sound /microphone /kbd:0x00000807 /u:<user name> /v:<ip address or domain name of the server> | |||
</syntaxhighlight> | |||
add /usb to route an USB Device to the remote session | |||
<syntaxhighlight lang="sh"> | |||
/usb:auto,dev:046d:c626#0b95:1790 | |||
</syntaxhighlight> | |||
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': | |||
<syntaxhighlight lang="sh"> | |||
sudo apt install freerdp2-x11 | |||
</syntaxhighlight> | |||
=Add access rights to a USB device= | |||
Add/Adjust the udev rules file: /etc/udev/rules.d/100-local.rules | |||
<syntaxhighlight lang="sh"> | |||
sudo nano /etc/udev/rules.d/100-local.rules | |||
</syntaxhighlight> | |||
<syntaxhighlight lang=" | Add the following config for a 3d Mouse and a USB Network Adapter: | ||
<syntaxhighlight lang="sh"> | |||
SUBSYSTEM=="usb", ATTRS{idVendor}=="046d", MODE="0666", GROUP="plugdev", TAG+="uaccess" | |||
SUBSYSTEM=="usb", ATTRS{idVendor}=="0b95", MODE="0666", GROUP="plugdev", TAG+="uaccess" | |||
</syntaxhighlight> | </syntaxhighlight> | ||
And finaly reload the udev rules: | |||
<syntaxhighlight lang="sh"> | |||
sudo udevadm control --reload-rules && sudo udevadm trigger | |||
</syntaxhighlight> | |||
=Remote Desktop from WIN to Linux= | |||
*https://linuxconfig.org/ubuntu-20-04-remote-desktop-access-from-windows-10 | |||
-> 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