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
Always better to create a folder under your home/user folder.
for ex:
mkdir /home/drvijay/html
cd /home/drvijay/
chmod -R 775 html/
chown drvijay:drvijay html/
Step 2
> sudo nano /etc/apache2/sites-available/000-default.conf
#Comment the older root path and add yours
# DocumentRoot /var/www/html
DocumentRoot /home/drvijay/html
Step 3
> gedit /etc/apache2/apache2.conf
#add your block and comment the /var/www/html block
Step - 4
systemctl restart apache2
Enjoy
http://localhost
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
Fix button in the upper left corner![]() |
| Screenshot |