The officially official Devuan Forum!

You are not logged in.

#1 2022-03-01 06:59:14

PengouinPdt
Member
From: France
Registered: 2020-04-20
Posts: 62  
Website

[ceres] X session hang [SOLVED]

Hi,

I use Devuan Ceres. yesterday I upgraded my station by using the "full-upgrade" option to apt.
The process ran correctly, informed me than a new kernel (5.16) installed, and all needed services restarted.
Some packages are marked to uninstall...

My DE is XFCE, The service manager is OpenRC.

I rebooted on the new kernel. But, the X session cant start. Slim is show, but no keyboard input is working, as if it were physically disconnected.
I dont know how resolve this problem.

1/ the recovery mode run!

2/ keyboard and mouse run correctly on the terminal, but when the X start, those are not functionals.

I attempted to "reinstall" xserver-common, and "xserver-xorg-legacy" packages, but this not resolve.
If I start the X session by call "startd", Xfce session display but keyboard and mouse seems to deactivate. no response.

to make sure it's not a problem with the new kernel, I reboot under the old kernel (5.15.x): same problem; unable to connect because keyboard not responds.

I suspect a problem with dbus, because when I reinstalled "xserver-common" package, I've this message:

Reloading system message bus config... Failed to open connection to "system" message bus: Failed to connect to socket /run/dbus/system_bus_socket: No such file or directory
invoke-rc.d: initscript dbus, action "force-reload" failed.
Failed to open connection to "system" message bus: Failed to connect to socket /run/dbus/system_bus_socket: No such file or directory

How restore X session functional?

Last edited by PengouinPdt (2022-03-02 15:28:02)

Offline

#2 2022-03-01 12:42:36

hevidevi
Member
Registered: 2021-09-17
Posts: 230  

Re: [ceres] X session hang [SOLVED]

Not sure how slim works but have you got elogind installed and running?

If you have xserver-xorg-legacy installed and using startx then edit /etc/X11/Xwrapper.config
with...

# echo 'needs_root_rights=yes' >> /etc/X11/Xwrapper.config

Last edited by hevidevi (2022-03-01 12:45:10)

Offline

#3 2022-03-01 14:27:03

PengouinPdt
Member
From: France
Registered: 2020-04-20
Posts: 62  
Website

Re: [ceres] X session hang [SOLVED]

elogind is installed but cant run!

# service elogind status
elogind is not running... failed

# service elogind start
Starting session management daemon: elogind
elogind-daemon[2075]: Failed to connect to system bus: No such file or directory
elogind-daemon[2075]: Failed to fully start up daemon: No such file or directory

startx is not relevant, now? if not, how start X session ?

Offline

#4 2022-03-02 07:50:10

hevidevi
Member
Registered: 2021-09-17
Posts: 230  

Re: [ceres] X session hang [SOLVED]

Im not sure how openrc operated under devuan, but i believe you are using sysvinit commands instead of openrc ones? If you can get a tty then maybe you need to start dbus and elogind via openrc script.

let us know what the output of sudo rc-status is.

try these to get elogind and dbus running if they are not.

sudo rc-update add dbus
sudo rc-update add elogind

reboot.

Last edited by hevidevi (2022-03-02 07:56:37)

Offline

#5 2022-03-02 12:13:57

PengouinPdt
Member
From: France
Registered: 2020-04-20
Posts: 62  
Website

Re: [ceres] X session hang [SOLVED]

Hi.

for the rc-status, see https://0x0.st/oPZX.txt

I added dbus and elogind services:

# rc-update add dbus
* service dbus added to runlevel sysinit
# rc-update add elogind
* service elogind added to runlevel sysinit

after, reboot...
but same problem, no keyboard on slim! sad

Offline

#6 2022-03-02 12:17:47

Head_on_a_Stick
Member
From: London
Registered: 2019-03-24
Posts: 3,125  
Website

Re: [ceres] X session hang [SOLVED]

How about startx from a console login? Does the keyboard & mouse work in X for that method?


Brianna Ghey — Rest In Power

Offline

#7 2022-03-02 12:52:13

hevidevi
Member
Registered: 2021-09-17
Posts: 230  

Re: [ceres] X session hang [SOLVED]

PengouinPdt wrote:

Hi.

for the rc-status, see https://0x0.st/oPZX.txt

I added dbus and elogind services:

# rc-update add dbus
* service dbus added to runlevel sysinit
# rc-update add elogind
* service elogind added to runlevel sysinit

after, reboot...
but same problem, no keyboard on slim! sad

maybe slim needs to be added to runlevel sysinit?

sudo rc-service slim start
sudo rc-update add slim

Offline

#8 2022-03-02 14:37:10

PengouinPdt
Member
From: France
Registered: 2020-04-20
Posts: 62  
Website

Re: [ceres] X session hang [SOLVED]

but, slim start, it's not the problem. the problem is that keyboard, mouse not respond!
(same result if I use startx startxfce4 to connect directly on xcfe session... keyboard and mouse are not functionals)

Offline

#9 2022-03-02 15:27:12

rolfie
Member
Registered: 2017-11-25
Posts: 1,171  

Re: [ceres] X session hang [SOLVED]

AFAIK slim is depracated, no more maintained for many years now. Give lightdm a try if that works.

Offline

#10 2022-03-02 15:27:27

PengouinPdt
Member
From: France
Registered: 2020-04-20
Posts: 62  
Website

Re: [ceres] X session hang [SOLVED]

I solved this problem to reinstall xserver-xorg, xserver-xorg-input-all packages!

Now, this run correctly. big_smile

Offline

Board footer