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
- 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.
- Go to settings -> Details -> Users. Click on the user for which auto-login should be done and enable auto-login for that user.
- 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
- Enable anydesk unattended remote access via
- Start anydesk and go to settings -> security
- Unlock security settings by giving root password
- In Interactive access - "Always show incoming session requests"
- Allow other computers to save login information for this computer
- Enable unattended access and set a secure unattended access password
- 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