Step 1: type below command in terminal
> echo $XDG_SESSION_TYPE
Step 2: Open this file and remove the Comment # like below & reboot
> sudo nano /etc/gdm3/custom.conf
WaylandEnable=false
>reboot
Step 1: type below command in terminal
> echo $XDG_SESSION_TYPE
Step 2: Open this file and remove the Comment # like below & reboot
> sudo nano /etc/gdm3/custom.conf
WaylandEnable=false
>reboot
Step 1 - OPEN the custom.conf
>sudo gedit /etc/gdm3/custom.conf
or
> sudo vi /etc/gdm3/custom.conf
Step 2- Uncomment the below line and change user1 to $USERNAME [current user name]
WaylandEnable=false
AutomaticLoginEnable = true
AutomaticLogin = $USERNAME
Step 3- Then restart your PC, then try to login remotely again.
Step 4- Execute the below services.
sudo service gdm3 restart
sudo service gdm restart
ENJOY