[TUTORIAL] How to install GNOME on PVE

arnay

New Member
Sep 2, 2024
8
0
1
wyra.net
Markdown (GitHub flavored):
# How to install GNOME on PVE.


First, run this command:

```bash

apt install gnome -y

```

If you want a minimal installation of GNOME, run

```bash

apt install gnome-shell -y

```


## After install


GDM Doesn't allow you to login with `root`. I recommend to create a specific user for GDM.


### 1. Non-root user

```bash

adduser {whatever}

```


Change the placeholder to the username of the user you want to create.

To add the user to `sudo`, run

```bash

usermod -aG sudo {whatever}

```

Replacing the placeholder with the user you just created.


### 2. Disable GDM's restriction

Edit the file at `/etc/pam.d/gdm-password`


and find

```

auth required pam_succeed_if.so user != root quiet_success

```


And add a hashtag(#) like so:

```

#auth required pam_succeed_if.so user != root quiet_success

```

## After:


Reboot(`reboot now`) to apply changes
 
Last edited: