CentOS 8.x OS auto-login with anydesk auto-startup for seamless remote

From Notes_Wiki

Home > CentOS > CentOS 8.x > CentOS 8.x remote access > CentOS 8.x anydesk > CentOS 8.x OS auto-login with anydesk auto-startup for seamless remote

If you want system to automatically get enabled for anydesk remote on boot then use following steps to enable OS auto-login and auto-startup of anydesk

  1. Login into user for which auto-login should be done. While doing login make sure through settings 'Classic X11 via Xorg' option is selected for display. Anydesk remote to wayland may not work.
    Better option is to use CentOS 8.x gnome change default gdm from wayland to X11 and change default gdm to X11 for the machine.
  2. Go to settings -> Details -> Users. Click on the user for which auto-login should be done and enable auto-login for that user.
  3. Create file "~/.config/autostart/anydesk.desktop" with following contents:
    [Desktop Entry]
    Name=anydesk
    GenericName=Remote access
    Exec=/usr/bin/anydesk
    Terminal=false
    Icon=anydesk
    Categories=Network
    Type=Application
    StartupNotify=false
    X-GNOME-Autostart-enabled=true
    X-GNOME-Autostart-Delay=10
  4. Enable anydesk unattended remote access via
    1. Start anydesk and go to settings -> security
    2. Unlock security settings by giving root password
    3. In Interactive access - "Always show incoming session requests"
    4. Allow other computers to save login information for this computer
    5. Enable unattended access and set a secure unattended access password
  5. Reboot and test. Note that keyring may not get automatically unlocked during auto-login. That is not a problem. Once you connect to anydesk you can give keyring password and unlock the keyring remotely.


Home > CentOS > CentOS 8.x > CentOS 8.x remote access > CentOS 8.x anydesk > CentOS 8.x OS auto-login with anydesk auto-startup for seamless remote