The officially official Devuan Forum!

You are not logged in.

#1 2019-05-15 22:28:57

Altoid
Member
Registered: 2017-05-07
Posts: 275  

(EE) in Xorg.0.log -> systemd-logind failure

Hello:

I installed xorg (w/apt from the command line) but startx fails.

[   110.795] 
X.Org X Server 1.19.2
Release Date: 2017-03-02
[   110.795] X Protocol Version 11, Revision 0
[   110.796] Build Operating System: Linux 4.9.0-8-amd64 i686 Debian
[   110.796] Current Operating System: Linux devuan 4.9.0-9-686-pae #1 SMP Debian 4.9.168-1+deb9u2 (2019-05-13) i686
[   110.796] Kernel command line: BOOT_IMAGE=/boot/vmlinuz-4.9.0-9-686-pae root=UUID=d7ba4ecc-07b2-47a8-9f73-93cd00864862 ro ipv6.disable=1 enable_mtrr_cleanup nmi_watchdog=0
[   110.797] Build Date: 03 November 2018  03:08:43AM
[   110.797] xorg-server 2:1.19.2-1+deb9u5 (https://www.debian.org/support) 
[   110.797] Current version of pixman: 0.34.0
--- snip ---
[   110.949] (EE) systemd-logind: failed to get session: The name org.freedesktop.login1 was not provided by any .service files
--- snip ---
 Permission denied
[   111.953] (EE) 
Fatal server error:
[   111.953] (EE) AddScreen/ScreenInit failed for driver 0
[   111.953] (EE) 
[   111.953] (EE) 
Please consult the The X.Org Foundation support 
	 at http://wiki.x.org
 for help. 
[   111.953] (EE) Please also check the log file at "/home/groucho/.local/share/xorg/Xorg.0.log" for additional information.
[   111.953] (EE) 
[   111.983] (EE) Server terminated with error (1). Closing log file.

I have not installed anything else yet as I want to go step by step to check if anything fails.
Next would be xfce with --no-install-recommends to keep it lean.   

Does this happen because there is no manager or is something wrong?
Never done it like this before, shouldn't I get an x screen?

Thanks in advance.

A.

Offline

#2 2019-05-16 15:30:09

Head_on_a_Stick
Member
From: London
Registered: 2019-03-24
Posts: 335  
Website

Re: (EE) in Xorg.0.log -> systemd-logind failure

Altoid wrote:

Does this happen because there is no manager

The plain startx command should start an xterm if there is no window manager installed, do you have that on your system?

The entire content of ~/.local/share/xorg/Xorg.0.log would be useful here, I think.

If you have xterm installed the try specifying the VT:

startx -- vt1 # if run from TTY1

Which version of Devuan is this?


Fabricando fit faber

Offline

#3 2019-05-16 15:50:13

Panopticon
Member
Registered: 2018-01-27
Posts: 306  

Re: (EE) in Xorg.0.log -> systemd-logind failure

I think xserver-xorg pulls in all the video, inputs as a metapackage etc. Could be wrong though, but if you are installing xorg packages with flag --no-install-recommends that might be a hindrance.

Go xserver-xorg-video-all just to be sure.

Been awhile since i did a minimal install but last time i did im sure i needed xinit and xterm installed for startx, whether they have been added to a metapackage im not sure atm.

Last edited by Panopticon (2019-05-16 15:54:50)

Offline

#4 2019-05-16 21:53:44

fsmithred
Administrator
Registered: 2016-11-25
Posts: 1,280  

Re: (EE) in Xorg.0.log -> systemd-logind failure

See the section on "### Starting X from a console (TTY)"
https://files.devuan.org/devuan_ascii/Release_notes.txt

Offline

#5 2019-05-16 23:58:38

Altoid
Member
Registered: 2017-05-07
Posts: 275  

Re: (EE) in Xorg.0.log -> systemd-logind failure

Hello:

Head_on_a_Stick wrote:

... plain startx command should start an xterm if there is no window manager ...

Eventually, after adding some xorg related packages, it started.
But with no keyboard or mouse.

So I gave up and installed Slim which was not the end of it as I also had to install packages that seemed to be missing.
I did that by comparing with the packages I have in my workstation which also runs ASCII.

Panopticon wrote:

... think xserver-xorg pulls in all the video, inputs ...
... installing xorg packages with flag --no-install-recommends that might be a hindrance.

So it seems, but not only xorg.
eg: --no-install-recommends in xfce4 will still force orage down your throat while at the same time other basic things do not work properly.

rant

When I uninstall a package (like I did with Slim to have everything go south on me), as a matter of procedure I always do apt-get update + apt-get check before doing apt-get purge + apt-get autoremove (if indicated) and then apt-get check again.

Taking these precautions are basic to me.

That said, I believe the system (apt) when apt-get check returns no errors.
The very same way I believe it when it says that the packages in the list that will be purged when I do apt-get autoremove are really no longer needed.

I also believe it will effectively install every needed dependency/package when I install any package with the --no-install-recommends flag and leave out the recommended and suggested packages I assume I can safely do without.

Why?
Because I expect that the $%&*@ meaning and difference between dependencies and recommends / suggested have been clearly defined wherever they have to be defined.

I expect that to be so because first, I trust the developers/packagers and second, I have no way to run some sort of sanity check to see if everything is OK.

I find it rather worrying that installing a package with the --no-install-recommends flag would end up being a problem.

/rant

The result of all this is that, despite my best efforts and the infinite patience of my fellow forum members (thanks to all), it has proven rather difficult to get a minimal ASCII installation into my 1000HE.

But I have it running quite well at the moment and thanks to installing Slim my boot time has been cut by at least 50%.

Though I really did expect it to be the other way around.  =-D!

Best,

A.

Last edited by Altoid (2019-05-17 10:39:34)

Offline

#6 2019-05-16 23:59:54

Altoid
Member
Registered: 2017-05-07
Posts: 275  

Re: (EE) in Xorg.0.log -> systemd-logind failure

Hello:

fsmithred wrote:

See the section on "### Starting X from a console (TTY)"
https://files.devuan.org/devuan_ascii/Release_notes.txt

Thanks for the heads up.
I'll give it a read (again) tonight.

Best,

A.

Last edited by Altoid (2019-05-17 00:02:05)

Offline

#7 2019-05-17 11:05:33

Head_on_a_Stick
Member
From: London
Registered: 2019-03-24
Posts: 335  
Website

Re: (EE) in Xorg.0.log -> systemd-logind failure

Altoid wrote:

rant

You should learn more about package management before complaining about features that you clearly do not understand.

Pro tip: if you want a minimal system then avoid metapackages.


Fabricando fit faber

Offline

#8 2019-05-17 12:17:04

Altoid
Member
Registered: 2017-05-07
Posts: 275  

Re: (EE) in Xorg.0.log -> systemd-logind failure

Hello:

Head_on_a_Stick wrote:

... features that you clearly do not understand.

Note taken, thanks. =-)

So, am I to understand that the --no-install-recommends flag means that all required dependencies will not necessarily be met when installing a package using it?
I was under the impression that --no-install-recommends did not affect dependencies but only the addiitonal functionality by recommended packages.   

Head_on_a_Stick wrote:

... then avoid metapackages.

OK.
I'll keep that in mind.

Thanks for your input.

A.

Offline

#9 2019-05-17 14:15:32

Ogis1975
Member
Registered: 2017-04-21
Posts: 110  
Website

Re: (EE) in Xorg.0.log -> systemd-logind failure

Altoid wrote:

So, am I to understand that the --no-install-recommends flag means that all required dependencies will not necessarily be met when installing a package using it?

It means, that only the main dependencies (packages in the Depends field) are installed. Installing with --no-install-recommends  skips all recommended packages.

Offline

#10 2019-05-17 17:20:28

Panopticon
Member
Registered: 2018-01-27
Posts: 306  

Re: (EE) in Xorg.0.log -> systemd-logind failure

I think the desktop dependency is not handled all that well with devuan ,most likely a byproduct of systemd scope creep. I remember a few months ago i tried installing a minimal Lxqt desktop but devuan wanted to bring in a massive meta load of deps to complete the task.

Offline

Board footer