You are not logged in.

#1 2021-12-27 01:15:32

James80
Member
Registered: 2021-01-11
Posts: 10

Can't open gnome desktop environment after installation

Hi,

I've installed gnome and after installation, it opened directly after : (sudo systemctl start gdm.service).
But now after my reboot, I'm not able to start directly with gnome desktop, is it possible? I tried startx but it does nothing.

thanks

Offline

#2 2021-12-27 01:32:37

Slithery
Administrator
From: Norfolk, UK
Registered: 2013-12-01
Posts: 5,776

Re: Can't open gnome desktop environment after installation


No, it didn't "fix" anything. It just shifted the brokeness one space to the right. - jasonwryan
Closing -- for deletion; Banning -- for muppetry. - jasonwryan

aur - dotfiles

Offline

#3 2021-12-27 02:47:16

AFatNut21
Member
Registered: 2021-09-06
Posts: 37

Re: Can't open gnome desktop environment after installation

Can be various things actually, try this:
Set up your driver environment via: https://wiki.archlinux.org/title/Xorg <- used for setting up additional crap which can be used later on.
What you want is this: https://wiki.archlinux.org/title/Intel_ … ccelMethod
Look at the /etc/X11/xorg.conf.d/20-intel.conf section. Modify that file to 20-<your driver>.conf and adjust that your drivers. For example change out Driver "intel" to
Driver "your driver"
set up your xinitrc correctly and make sure you install xterm or whatever package you have; there's plenty of articles covering that, just search it.
And make sure you install your drivers. run pacman -Q | curl -F 'f:1=<-' ix.io and upload the URL here, so we can see what you installed.
For example i needed drivers with intel-fbdev and stuff. Can't remember it so to say. And post your /var/log/Xorg0.log to see why it isn't working

Last edited by AFatNut21 (2021-12-27 02:51:11)

Offline

#4 2021-12-27 11:06:36

Head_on_a_Stick
Member
From: The Wirral
Registered: 2014-02-20
Posts: 9,003
Website

Re: Can't open gnome desktop environment after installation

AFatNut21 wrote:

What you want is this: https://wiki.archlinux.org/title/Intel_ … ccelMethod
Look at the /etc/X11/xorg.conf.d/20-intel.conf section. Modify that file to 20-<your driver>.conf and adjust that your drivers. For example change out Driver "intel" to
Driver "your driver"

Only the Intel DDX driver offers those acceleration methods so trying that with other drivers won't work. Not that X.org configuration files will be read because:

AFatNut21 wrote:

post your /var/log/Xorg0.log to see why it isn't working

The GNOME desktop uses Wayland by default so there won't be an X.org log.

James80 wrote:

after my reboot, I'm not able to start directly with gnome desktop

Why not? What have you tried and what actually happens? Have you checked the systemd journal for errors?

James80 wrote:

I tried startx but it does nothing.

How have you configured your system for that command? Have you read the xinit or GNOME pages on the ArchWiki?

But anyway I would think Wayland would be preferred and startx won't run that version of the GNOME desktop.


Jin, Jîyan, Azadî

Offline

#5 2021-12-27 14:21:24

James80
Member
Registered: 2021-01-11
Posts: 10

Re: Can't open gnome desktop environment after installation

AFatNut21 wrote:

Can be various things actually, try this:
Set up your driver environment via: https://wiki.archlinux.org/title/Xorg <- used for setting up additional crap which can be used later on.
What you want is this: https://wiki.archlinux.org/title/Intel_ … ccelMethod
Look at the /etc/X11/xorg.conf.d/20-intel.conf section. Modify that file to 20-<your driver>.conf and adjust that your drivers. For example change out Driver "intel" to
Driver "your driver"
set up your xinitrc correctly and make sure you install xterm or whatever package you have; there's plenty of articles covering that, just search it.
And make sure you install your drivers. run pacman -Q | curl -F 'f:1=<-' ix.io and upload the URL here, so we can see what you installed.
For example i needed drivers with intel-fbdev and stuff. Can't remember it so to say. And post your /var/log/Xorg0.log to see why it isn't working

I think the problem is about that, when I try to enable gdm, look the message:


$ systemctl enable gdm.service
AUTHENTIFICATION FOR  ..................................
...........
....
AUTHENTIFICATION COMPLETE
failed to enable unit; file /etc/systemd/display-manager.service already exists and is a symlik to /usr/lib/systemd/system/lightdm.service

So I disabled lightdm.service and after that I enabled gdm.service, that time I succeeded. After reboot, still no logging page with gnome but I've could open it with

 systemctl start gdm.service 

but I don't want to do that each time..??
thanks

Last edited by James80 (2021-12-27 15:35:27)

Offline

#6 2021-12-27 14:29:13

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 77,374

Re: Can't open gnome desktop environment after installation

https://wiki.archlinux.org/title/Kernel … _KMS_start and make sure to default to the graphical.target, https://wiki.archlinux.org/title/System … _boot_into

Otherwise please post a complete system journal.

Offline

#7 2021-12-27 14:35:21

Slithery
Administrator
From: Norfolk, UK
Registered: 2013-12-01
Posts: 5,776

Re: Can't open gnome desktop environment after installation

Has the OP actually enabled the gdm service yet?
That's what I was getting at with the link in my first reply.


No, it didn't "fix" anything. It just shifted the brokeness one space to the right. - jasonwryan
Closing -- for deletion; Banning -- for muppetry. - jasonwryan

aur - dotfiles

Offline

#8 2021-12-27 14:36:22

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 77,374

Re: Can't open gnome desktop environment after installation

James80 wrote:

So I disable lightdm.service and after that I enable gdm.service, that time I succeeded. After reboot, still no logging page with gnome but I've could open it with

Offline

#9 2021-12-27 23:00:43

AFatNut21
Member
Registered: 2021-09-06
Posts: 37

Re: Can't open gnome desktop environment after installation

Head_on_a_Stick wrote:
AFatNut21 wrote:

What you want is this: https://wiki.archlinux.org/title/Intel_ … ccelMethod
Look at the /etc/X11/xorg.conf.d/20-intel.conf section. Modify that file to 20-<your driver>.conf and adjust that your drivers. For example change out Driver "intel" to
Driver "your driver"

Only the Intel DDX driver offers those acceleration methods so trying that with other drivers won't work. Not that X.org configuration files will be read because:

AFatNut21 wrote:

post your /var/log/Xorg0.log to see why it isn't working

The GNOME desktop uses Wayland by default so there won't be an X.org log.

James80 wrote:

after my reboot, I'm not able to start directly with gnome desktop

Why not? What have you tried and what actually happens? Have you checked the systemd journal for errors?

James80 wrote:

I tried startx but it does nothing.

How have you configured your system for that command? Have you read the xinit or GNOME pages on the ArchWiki?

But anyway I would think Wayland would be preferred and startx won't run that version of the GNOME desktop.

Thank you for clarifying that. Without any kind of errors to work with from your machine, it is hard to tell what's going on. run "journalctl -xb | curl -F 'f:1=<-' ix.io" so we can see what is going on with your machine. There might be a way to filter out the errors? Post the URL here btw. But let's keep playing the guessing game until what I said is uploaded here. Do pacman -Q | curl -F 'f:1=<-' ix.io so we can also see what packages you have installed. This can help us figure out what drivers you have installed on the broken machine. For example, I had a bunch of drivers that were not needed on my distro, and I am currently troubleshooting it right now. 

As for what I said before, there must be an article to tweak Wayland somehow I think? If what they said is true which I don't know, you don't need any kind of structure. You could try to edit your ~/.xinitrc file to have xscreensaver &
exec gdm-session
use nano -w or vim or whatever editor you like

In all honesty that could solve your issue. But to make sure what's really going on we would like to see your journalctl -xb or journalctl -p 3

Use vim or nano -w to edit it. If you do not have such a file you can copy it from another directory towards ~/

Last edited by AFatNut21 (2021-12-27 23:14:16)

Offline

#10 2021-12-27 23:08:34

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 77,374

Re: Can't open gnome desktop environment after installation

AFatNut21 wrote:

run "journalctl -xb | curl -F 'f:1=<-' ix.io"

Please don't and run

sudo journalctl -b | curl -F 'f:1=<-' ix.io

1. unless you in an administrative group or root, you won't get the system journal
2. "-x" is spam (pointless and redundant "explanations" of the line before) Never use it when posting journalctl output
3. it amounts to

seth in post #6 wrote:

Otherwise please post a complete system journal.

Offline

Board footer

Powered by FluxBB