Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
blocks:anydesk [2020-08-25 06:42]
fredrik [Getting Anydesk]
blocks:anydesk [2024-03-25 10:22] (current)
mattias [Enabling Unattended Access]
Line 1: Line 1:
 ====== Using Anydesk ====== ====== Using Anydesk ======
  
-[[https://anydesk.com/en|AnyDesk]] is a handy remote access program, similar to VNC and TeamViewer. It comes pre-installed on our Linux image version 200701 and later. It can be used to remotely manage a Blocks server in various ways:+[[https://anydesk.com/en|Anydesk]] is a handy remote access program, similar to VNC and TeamViewer. It comes pre-installed on our Linux image version 200701 and later. It can be used to remotely manage a Blocks server in various ways:
  
   * Accessing the desktop of the server, seeing what the local user sees.   * Accessing the desktop of the server, seeing what the local user sees.
Line 11: Line 11:
  
 Download Anydesk software from the Downloads page under https://anydesk.com/en. If you're installing on Linux, you'll get a DEB file which you then install as follows: Download Anydesk software from the Downloads page under https://anydesk.com/en. If you're installing on Linux, you'll get a DEB file which you then install as follows:
 +
 +:!: NOTE: If you want to use Anydesk on your Block server and you have installed our Linux image, version 200701 (or later), you can skip this section as Anydesk is already pre-installed.
  
   - Log in to the Linux computer. If this is a Blocks server, log in as the //pixi-admin// user.   - Log in to the Linux computer. If this is a Blocks server, log in as the //pixi-admin// user.
-  -   - Copy the anydesk DEB file to the server using a USB stick (or download it directly to the server).+  - Copy the anydesk DEB file to the server using a USB stick (or download it directly to the server).
   - Open a terminal window and type the following commands, replacing <path-to-deb-file> with the full path to the DEB file, entering pixi-admin's password when requested.   - Open a terminal window and type the following commands, replacing <path-to-deb-file> with the full path to the DEB file, entering pixi-admin's password when requested.
  
Line 35: Line 37:
   - Click the red //AnyDesk// icon to start the program.   - Click the red //AnyDesk// icon to start the program.
  
-:!: HINT: To speed up subsequent usage, right-click the AnyDesk icon that now appears in the dock and select "Add to Favorites", making it stick in the dock.+:!: HINT: To speed up subsequent usage, right-click the AnyDesk icon that now appears in the dock and select "Add to Favorites", making it stick in the dock. If you installed our Linux image, version 200701 (or later), the AnyDesk icon is already present in the dock.
  
 {{ :blocks:anydesk:desk_id.png?nolink |}} {{ :blocks:anydesk:desk_id.png?nolink |}}
Line 61: Line 63:
 ==== Enabling Unattended Access ==== ==== Enabling Unattended Access ====
  
-The method above assumes there's a person available on site for starting AnyDesk and accepting the access request. It is also possible to set up AnyDesk for unattended access. +The method outlined above assumes there's a person on site starting Anydesk and accepting the access request. As an alternative, it is possible to set up Anydesk for unattended access, allowing it to be accessed remotely without any manual, on site action required. Follow these steps to do so.
  
-Follow these steps to enable unattended access. +  * Open the terminal.  
- +  Change user to pixi-admin
-Open the terminal.  +
- +
-Change user to pixi-admin+
 <code> <code>
 su pixi-admin su pixi-admin
 </code> </code>
-Enter your pixi-admin password. +  * Enter your pixi-admin password. 
- +  Enable the AnyDesk service at boot (where the //--now// option also start the service immidiately).
-Enable the AnyDesk service at boot.  (--now will also start the service immidiatly)+
 <code> <code>
 sudo systemctl enable --now anydesk.service  sudo systemctl enable --now anydesk.service 
 </code> </code>
  
-Open AnydDesk on the server by clicking the AnyDesk icon and copen the Settings menu (a hamburger menu in the top left corner) +  * Open AnydDesk on the server by clicking the AnyDesk icon
- +  * Open Anydesk'Settings menu (a "hamburger menuin the top left corner). 
-Select the Security settings +  Select the Security settings. 
- +  Click Unlock Security settings. 
-Click Unlock Security settings +  Type in the admin password. 
- +  Check the Enable unattended access. 
-Type in the admin password +  Set a password for unattended access. 
- +  * Under interactive access, change to "Never show incoming session requests" If this is not done the incoming request still must be confirmed by on premise by a uses. (Seem to be a bug but with version 6.3.1 on Linux this seem to be the case.
-Check the Enable unattended access. +
- +
-Set a password for unattended access. +
- +
- +
-Read more about this option here:+
  
-https://support.anydesk.com/Unattended_Access+Read more about this option [[https://support.anydesk.com/Unattended_Access|here]].
  
 :!: **CAUTION:** Enabling unattended access is less secure, since no manual intervention is required on the server side. :!: **CAUTION:** Enabling unattended access is less secure, since no manual intervention is required on the server side.
  
-:!: Anydesk will not work properly without a monitor connected to the computer. (There are dummy hardware dongles available and it is a also possible to use software solutions to emulate a connected monitor)+Finally, Anydesk will not work properly unless a monitor (or something seen as a monitor) is connected to the computer.
 ===== Using TCP Tunnels ===== ===== Using TCP Tunnels =====