7

My Ubuntu version is 20.04. I am using AnyDesk for remote access to my lab pc. When I am trying to connect to my remote pc (the lab one) from my personal pc, I am getting some challenges. Like,

I am getting a remote display server is not supported (e.g. Wayland) error at the time of login from personal to the lab one.

Then I disabled the Wayland based on this and now I am getting desk_rt_ipc_error.

However, once I log in from my remote PC, then I can use AnyDesk from my personal one.

I have gone through several posts, but not getting any idea to solve the issues.

I appreciate your time and support.

0Knowledge
  • 181
  • 1
  • 1
  • 5

4 Answers4

3

I was able to resolve this by going into the /etc/gdm3/custom.conf file and do this change:

[daemon]
        # Enabling automatic login
        AutomaticLoginEnable=true
        AutomaticLogin=$USERNAME

and don't forget to also put the following in the /etc/gdm3/custom.conf file:

WaylandEnable=false   
Greenonline
  • 2,182
Suehad
  • 31
2
  1. Edit file with nano /etc/gdm3/custom.conf

  2. Uncomment the following

    [daemon]
    # Enabling automatic login
    AutomaticLoginEnable=true
    AutomaticLogin=$USERNAME
    WaylandEnable=false   
    
  3. Make sure you change $USERNAME with actual username like the following

     AutomaticLogin=fouaduser
    

    Then REBOOT

  4. this will enable auto login for your ubuntu user while startup without asking for password, you can adjust timeout the idle power with 1 minute to lock ubuntu server again

  5. with this solution you can user Anydesk without remotely issues

muru
  • 207,228
1

1- Install lightdm display manager:

sudo apt -y install lightdm

or

sudo dnf install lightdm lightdm-gtk

2- Enable lightdm and disable gdm

sudo systemctl enable lightdm.service && sudo systemctl disable gdm.service

3- Reboot.

After you finished, you can switch to gdm again by:

sudo systemctl disable lightdm.service && sudo systemctl enable gdm.service
Sajjad
  • 141
0

Ok, so the answer from @Sajjad worked for me. The only problem was that I could not turn back to gdm using

sudo systemctl disable lightdm.service && sudo systemctl enable gdm.service

So after this last command and booting up again, I had to log in from the terminal. To get the UI running again I used:

systemctl start gdm

And to turn back the gdm as default:

systemctl set-default graphical.target

If gdm is "stuck", when you try to set it as default, you can try using:

systemctl status gdm.service
systemctl force-reload gdm.service

Additionally, you can try adding /np after your Anydesk remote device ID to check-in.

Pedrao
  • 1