Anydesk Raspberry Pi Command Line


AnyDesk now supports Perfect Forward Secrecy to strengthen its already strong security for data transfer. Remote printing improvement: AnyDesk now allows to pring local files on the remote computer. Multi-monitor suppport: Hotkeys can now be used to switch between the remote monitors. Hotkey combination Ctrl+Alt+Shift+left/right to iterate.

  • I've been struggling to install AnyDesk in a flashed Ubuntu Server 20.04 image for Raspberry PI 4. What I've done is the following: delete and clear all other previous installations: sudo apt-get purge anydesk. Sudo apt-get autoclean. Sudo apt-get autoremove. Adding armhf arquitechture (after step 1 some things must be reinstalled again).
  • Run the i2cdetect program with appropriate flags for your Raspberry Pi board revision. Set the SPI buffer size and I2C baud rate (when loading the modules) Determine your Raspberry Pi board hardware revision. See the man page for the gpio program to see what all the features are by typing. At the command prompt.

AnyDesk is a remote maintenance solution for 28 languages and 8 platforms.
Run AnyDesk portable or installed, ready within couple of seconds.
Find AnyDesk for your platform in the Download section.
See also: StartUp and Close AnyDesk for differences of the portable and installed version.
The installation can be performed via Command Line. See also: Automatic Deployment

Anydesk Raspberry Pi Command Line
  1. The mobile platforms Android and iOS are distributed via Play Store, Apple App Store as well as the Amazon Store.
  2. For Red Hat and Debian compatible Linux distributions AnyDesk offers repositories.

Customers with Professional or Power license may use a customized client, called custom-client.
Custom-clients are generated in AnyDesks web-interface namely MyAnyDesk Portal providing individual settings, permissions, and logo.

Note: AnyDesk is capable of running several instances. Users can run both default-client and custom-clients at the same time.

List of supported Operating Systems

Windows 7
Windows 8.1
Windows 10
Windows Server
2003 SP2
2008 R2
10.11 El Capitan¹
and newer
and newer
4.4 Ice Cream Sandwich
Amazon Fire OS 4
and newer
Devices with PlayStore
and newer
Ubuntu 18.04 and newer LTS releases
Debian 9 and newer
Fedora 29/30/31/32
CentOS Linux 7 and 8²
Red Hat Enterprise Linux (RHEL) 7 and newer
OpenSUSE 42/15
Raspberry Pi
Raspberry Pi 2 and newer
Only Raspbian and
Raspberry Pi OS (32bit) is supported

¹ Older Versions of AnyDesk that supports macOS 10.10 can be found here.
² Until CentOS Linux 8 end-of-life

Note: please keep in mind that on Wayland sessions, selectable in login screen, only outgoing sessions are supported. Incoming sessions are possible only within Xorg session.

Installation instructions

Windowsdownload the installation .exe file from Download page of AnyDesk web pages, execute it and optionally install AnyDesk as a service
macOSdownload the installation .dmg file from Download page of AnyDesk web pages, execute it and optionally install AnyDesk as a service
iOS and Androidaccess application store for the platform, either Play Store or App Store and install the application directly
FreeBSDdownload the .tar.gz file from Download page of AnyDesk web pages, extract the content and and execute the binary
Linuxfor Debian and Red Hat compatible Linux distributions we strongly recommend to use the AnyDesk Linux repositories described below, for other distributions the .tar.gz file with can be downloaded from Download page of AnyDesk web pages

Linux repositories and installation

Recommended way how to install AnyDesk on Debian and Red Hat compatible Linux distributions is using official AnyDesk repositories which provide last stable version:

Debian compatiblefollow howto instructions provided on the repository server
Red Hat compatiblefollow howto instructions provided on the repository server

For specific situations repositories with older AnyDesk versions (after v5) are also available:

Debian compatiblefollow howto instructions provided on the repository server
Red Hat compatiblefollow howto instructions provided on the repository server
Note: All the commands from the above howto instruction must be executed as root user.
Anydesk raspberry pi command line

The last AnyDesk for Linux supporting RHEL/CentOS 6 and older versions of Debian/Ubuntu is v5.0.0 and is available for download (including previous version) here

For other distributions AnyDesk is also provided in .tar.gz archives available for download at Download area of AnyDesk web page, however these installations are not officially supported. Please follow a README file in the archive itself to detailed information.

Needed dependencies on Linux: libc6 (>= 2.7), libgcc1 (>= 1:4.1.1), libglib2.0-0 (>= 2.16.0), libgtk2.0-0 (>= 2.20.1), libstdc++6 (>= 4.1.1), libx11-6, libxcb-shm0, libxcb1, libpango1.0-0, libcairo2, libxrandr2 (>= 1.3), libx11-xcb1, libxtst6, libxfixes3, libxdamage1 and libgtkglext1.

  • 1Special Settings
  • 2Settings in AnyDesk Client
  • 3Other Individual Settings

To Customize AnyDesk, there are many configuration options available. You can either override a setting (meaning there is no way to change it back within AnyDesk) or change the default setting which AnyDesk uses. For security-related features, always use override.

Note: To create older versions of AnyDesk use: _module=anydesk-VERSION.

For example: _module=anydesk-4.3.0

Special Settings

FeatureKey-value pair
Disable the entire Settingsad.ui.cfg_enabled=false
Disable User Interface settingsad.ui.cfg_enable_interface=false
Disable Security settingsad.ui.cfg_enable_security=false
Disable Privacy settingsad.ui.cfg_enable_privacy=false
Disable Display settingsad.ui.cfg_enable_video=false
Disable Audio settingsad.ui.cfg_enable_audio=false
Disable Connection settingsad.ui.cfg_enable_connection=false
Disable File Transfer settingsad.ui.cfg_enable_filetransfer=false
Disable Recording settingsad.ui.cfg_enable_recording=false
Disable VPN settingsad.ui.cfg_enable_vpn=false
Disable Wake-on-LAN settingsad.ui.cfg_enable_wol=false
Automatically register Aliasad.features.register_alias=true
Auto register Alias to namespacead.anynet.register.add_to_namespace=true
(For MSI files, please don't select 'Automatically register alias' with it)
Request elevation on startup (UAC)ad.features.auto_uac=true
Allow installationad.features.install=true
Disable Two-Factor-Authentication ad.features.two_factor_auth=false
Disable VPNad.features.vpn=false
Disable Wake-on-LANad.features.wol=false
Stop users from removing or overwriting the licensead.license.permissions=0

Address Book features

Disable Address Bookad.features.address_book=false
Choose the view type of Address Bookad.abook.view_type=0,1 (0:thumbnail; 1:list)
Add tags to the Address Book entriesad.anynet.register.roster_tags=<text>

Settings in AnyDesk Client

User Interface Settings

default language (see below)ad.ui.lang=en
Disable auto-select
Disable invitation E-Mail optionad.ui.show_invite=false
Show AnyDesk ID instead of Aliasad.ui.alias_or_id=true
Hide local task bar if AnyDesk window is maximizedad.ui.maximize_type=true
Disable comment on session closead.ui.comment_session=false
AnyDesk starts in the advanced viewad.roster.adv_view=true

Security Settings

Disable interactive
Disable unattended accessad.features.unattended=false
Forbid others to save login information for this
Override standard
Forbid remote users to (for unattended access/if they connect with password):
Hear my computer's sound
Control my computer's keyboard and
Access my computer's
Access my computer's clipboard to transfer
Lock my computer's keyboard and
Restart my
Use the file
Lock Desktop on session
Request system
Print out my documents on their
Draw on computer's
Create TCP
Enabled privacy
Show a coloured mouse pointer when physical input is
Access Control List:
Enable Access Control
Forbid remote users to (for interactive access):
Hear my computer's sound
Control my computer's keyboard and
Access my computer's
Access my computer's clipboard to transfer
Lock my computer's keyboard and
Restart my
Use the file
Request system
Print out my documents on their
Draw on computer's
Create TCP
Enabled privacy
Show a coloured mouse pointer when physical input is
Do not search local network for other AnyDesk clientsad.discovery.default_behavior=0
Exclude this device from discoveryad.discovery.hidden=true
IP address for multicast communicationad.discovery.multicast_ip=
Port number for multicast communicationad.discovery.multicast_port=50001
Number of UDP ports to use (starting from the port specified with ad.discovery.multicast_port)ad.discovery.port_range=3
Set Auto-Disconnect-Timeout in seconds (minimum 60 seconds)

Privacy Settings

Set the,2 (1:Account username,default; 2:Custom)
Set user,1 (0:Hide; 1:Account Image)
Desk Preview,1,3 (3:Deactivated; 1:Account's desktop wallpaper,default; 0:Screenshot)
Screenshot Pathad.privacy.scrshot.path_cfg=1,2 (1:Automatically, default; 2:Custom)
Set the custom screenshot pathad.privacy.scrshot.path=<path>
Chat Log,1,2 (0:Disabled; 1:Default path,default; 2:Custom path)
Set custom log<path>

Display settings

Select Display Quality optionsad.image.quality_preset=0,1,2(0:Best Quality, 1:Balanced, 2:Optimize reaction time)
Show remote cursorad.image.show_remote_cursor=true
Show move/size helperad.image.move_size_hlp=true
Disable hotkeys transmissionad.image.suppress_keys=false
Choose view modead.image.viewmode=0,1,2 (0:Original, 1:Shrink, 2:Stretch)
Start new sessions in fullscreen modead.image.insta_fullscreen=true
Use edge scrolling in original view modead.image.edge_scroll=true
Choose render modead.image.rendermode=0,1,2,3 (0:Disable, 1:DirectDraw, 2:Direct3D, or 3:OpenGL)
Do not save settings between program startsad.session.remember_settings=false

Audio Settings

Audio Transmission,1,2,3 (0:Disable; 1:Standard,default; 2:Transmit audio output; 3:Specify)
Audio Output,1,3 (0:Disable; 1:Standard,default; 3: Specify)
Exclusive audio

Connection Settings

Disable direct
Set the listening portad.anynet.listen_port=<port number> (0 is default)

Anydesk Raspberry Pi Command Line Commands

Recording Settings

Start session recording when a session starts (For non-Windows clients and Windows clients older than AnyDesk 6.1.0)ad.recording.auto_start=true
Start session recording when an incoming session starts while in logged out (AnyDesk for Windows 6.1.0 and newer only)ad.recording.auto_start.incoming.admin=1
Start session recording when an incoming session starts while logged in (AnyDesk for Windows 6.1.0 and newer only)ad.recording.auto_start.incoming=1
Start session recording when an outgoing session starts (AnyDesk for Windows 6.1.0 and newer only)ad.recording.auto_start.outgoing=1
Forbid connecting client from starting a session
Set custom recording pathad.recording.path_cfg=2

Other Individual Settings

Anydesk raspberry pi command linear

Anydesk Raspberry Pi Command Line Download

Position and size of the window

Start AnyDesk with maximized windowad.ui.main_win.max=true
Set horizontal position of left window border on screenad.ui.main_win.x=<pixels>
Set vertical position of top window border on screenad.ui.main_win.y=<pixels>
Set window width in pixels (min:900)ad.ui.main_win.width=<pixels>
Set window height in pixels (min:720)ad.ui.main_win.height=<pixels>

Disclaimer settings

Edit title of the disclaimerad.ui.disclaimer.title=<text>
Edit text of the disclaimerad.ui.disclaimer.text=<text>
Edit accept button of the disclaimerad.ui.disclaimer.accept=<text>
Edit cancel button of the disclaimerad.ui.disclaimer.cancel=<text>
Set color for the disclaimer title & textad.ui.disclaimer.text.color=<HTML color code>
Set color for the disclaimer<HTML color code>

Uninstall Anydesk Command Prompt

Layout settings

Change name for 'This Desk'ad.ui.id_group.title=<text>
Replace the information under “This Desk”ad.ui.id_group.text=<text>
Change name for “Remote Desk”ad.ui.connect_group.title=<text>
Replace the information under “Remote Desk”ad.ui.connect_group.text=<text>

Language Codes

AnyDesk supports the following languages: (ISO-Codes)

Englishen Spanishes Dutchnl Romanianro
Ukrainianuk Czechcs Frenchfr Norwegianno
Slovaksk Japaneseja Danishda Croatianhr
Polishpl Finnishfi Simplified Chinesezh Germande
Italianit Portuguese (Brazil)pt-br Swedishsv Traditional Chinesezh-cl
Estonianet Hungarianhu Portuguesept Turkishtr
Koreanko GreekelRussianruBulgarianbg