Tento iniciar o GDM pelo Systemctl ele me retorna erro de "Instalação"

Então, meu GDM tinha simplismente quebrado a algum tempo. só que eu não conseguir consertar e acabei baixando o SDDM no lugar do GDM. Porém eu queria voltar com o GDM pra meu Notebook, e quando eu digito:

gustavo@pop-os:~$ sudo systemctl enable gdm.service

Ele me retorna o seguite erro:

The unit files have no installation config (WantedBy=, RequiredBy=, Also=,
Alias= settings in the [Install] section, and DefaultInstance= for template
units). This means they are not meant to be enabled using systemctl.
Possible reasons for having this kind of units are:
• A unit may be statically enabled by being symlinked from another unit’s
.wants/ or .requires/ directory.
• A unit’s purpose may be to act as a helper for some other unit which has
a requirement dependency on it.
• A unit may be started when needed via activation (socket, path, timer,
D-Bus, udev, scripted systemctl call, …).
• In case of template units, the unit is meant to be enabled with some
instance name specified.

Não faço ideia de como resolver isso, por que além de re-instalar o GDM eu já tentei varias outras coisas alheias que vi na internet e não achei nada!
Se poderem ajudar, agradeço

Passo aquilo que me foi ensinado aos outros

Tenta rodar o comando sudo dpkg-reconfigure gdm.

Quando eu coloco:

root@pop-os:~# dpkg-reconfigure gdm

Não dá nada, mas quando eu coloco:

root@pop-os:~# dpkg-reconfigure gdm3

Ele me retorna:

gdm.service is not active, cannot reload. invoke-rc.d: initscript gdm3, action "reload" failed.

Alguma ideia?

É, eu errei o nome do pacote, é gdm3.

Dê uma olhada aqui. Ele sugere reiniciar depois de executar o comando. Já tentou fazer isso?

4 curtidas

Funcionou como uma “luva”
:smiley:

4 curtidas