Rdesktop was used before , but because it does not support NLA authentication, it cannot log on to the company's computer. To do this, now use freerdp-- which is the name of the package, and the actual executable program is xfreerdp. Remote Desktop can be implemented using the following command line:
Xfreerdp-u user_name-d domain_name-a 32-g1920x1030-x 0--fonts--sec NLA ip_address
The parameters are explained as follows:
-
-u: User name
-
-d: Domain name
-
-a: Using 32 bit color
-
-g
-
-x 0 : Use lan
-
--fonts: Open Antialias function.
-
-sec: Specify protocol to use nla< Span style= "font-family: the song Body;" >
at home by the desktop when connecting to a corporate computer, the mouse keys on both computers are not exactly the same as the keyboard settings, and some problems arise. The specific situation is:
desktops in the home (based on xmodmap)
mouse button: Use the right mouse, that is, the mouse key is not exchanged.
Keyboard: Caps Lock is exchanged with the left Ctrl key.
company computers (based on AutoHotkey)
mouse button: Use left mouse, mouse key exchange.
Keyboard: Caps Lock is exchanged with the left Ctrl key.
For the above-mentioned circumstances, if no treatment is made, the directComputer in the Homewhen connected to the company's computer operation, the mouse will become left-handed operating habits, the keyboard will be executed two timesCaps Lockwith theCtrlswitch back to the default keying, causing the actionEmacsextremely inconvenient. To resolve this issue, you can write a script that starts atXfreerdpbefore the executionXmodmapSwap onceCaps Lockwith theCtrl, set the mouse to the left hand habit; exitXfreerdpafter that, then executeXmodmapExchangeCaps Lockwith theCtrl, set the mouse to the right hand habit.
The configuration files required for the first execution of Xmodmap above are:
! Restore the default CAPS lock and left control
Remove Lock = Caps_lock
Remove Control = control_l
Keysym control_l = Caps_lock
Keysym Caps_lock = control_l
Add Lock = Caps_lock
Add Control = control_l
! Swap mouse button
pointer = 3 2 1
The configuration files required for the second execution of Xmodmap above are:
! Swap Caps_lock and control_l
Remove Lock = Caps_lock
Remove Control = control_l
Keysym control_l = Caps_lock
Keysym Caps_lock = control_l
Add Lock = Caps_lock
Add Control = control_l
! Swap mouse button
pointer = 1 2 3
Connect to the Windows desktop remotely using FREERDP