AnyDesk

From Gentoo Wiki
Jump to:navigation Jump to:search
This article is a stub. Please help out by expanding it - how to get started.
Resources

AnyDesk is a proprietary (closed source), software for remote access and support over the Internet similar to TeamViewer.

Installation

USE flags

USE flags for net-misc/anydesk Feature rich multi-platform remote desktop application

Emerge

Accept AnyDesk TOS license.

FILE /etc/portage/package.license
net-misc/anydesk AnyDesk-TOS
root #emerge --ask net-misc/anydesk

Service

AnyDesk service can be run manually with

user $anydesk --service

AnyDesk service can also be turned on so that it runs every time the system boots.

OpenRC

Start AnyDesk during system start:

root #rc-update add anydesk default

Start the AnyDesk daemon now:

root #rc-service anydesk start

systemd

Start AnyDesk during system start:

root #systemctl enable anydesk

Start the AnyDesk daemon now:

root #systemctl start anydesk

Troubleshooting

If PulseAudio is not used, AnyDesk may not be able to receive connection. In case it is undesirable to install PulseAudio, AnyDesk can be run with PULSE_SERVER=0 environment variable:

user $PULSE_SERVER=0 anydesk --service

systemd users can add this into the AnyDesk service

root #systemctl edit anydesk
FILE /etc/systemd/system/anydesk.service.d/override.conf
### Editing /etc/systemd/system/anydesk.service.d/override.conf
### Anything between here and the comment below will become the contents of the drop-in file

[Service]
Type=simple
Environment=PULSE_SERVER=0

### Edits below this comment will be discarded


### /usr/lib/systemd/system/anydesk.service
# [Unit]
# Description=AnyDesk
# Requires=network.target
# After=systemd-user-sessions.service
# 
# [Service]
# Type=simple
# ExecStart=/opt/bin/anydesk --service
# PIDFile=/run/anydesk.pid
# KillMode=mixed
# TimeoutStopSec=30
# User=root
# LimitNOFILE=100000
# 
# [Install]
# WantedBy=multi-user.target

openrc users can export this from the conf.d/anydesk file:

FILE /etc/conf.d/anydesk
export PULSE_SERVER=0

See also

  • TigerVNC — a client/server software package allowing remote network access to graphical desktops.
  • TeamViewer — a proprietary (closed source), all-in-one solution for remote access and support over the Internet.