Connect to the Windows desktop remotely using FREERDP

Source: Internet
Author: User
Tags freerdp

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:

    1. -u: User name

    2. -d: Domain name

    3. -a: Using 32 bit color

    4. -g

    5. -x 0 : Use lan

    6. --fonts: Open Antialias function.

    7. -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:

  1. desktops in the home (based on xmodmap)

    1. mouse button: Use the right mouse, that is, the mouse key is not exchanged.

    2. Keyboard: Caps Lock is exchanged with the left Ctrl key.

  2. company computers (based on AutoHotkey)

    1. mouse button: Use left mouse, mouse key exchange.

    2. 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

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.