Sorry to interject here, with something that is probably not relevant,
but there's always that possibility that it is. I've recently (after
kernel upgrades) had issues with starting x with nvidia drivers, if
that's what you use this might help. My issue was there was no
/usr/lib/xorg/modules/drivers/nvidia_drv.so - that file was only in
/usr/local/lib/xorg/modules/drivers/ (notice the "local"). Creating a
softlink to the existing file in the /usr/lib/... directory was my
solution. But I found the warning/error in one of the log files and was
able to track it down; not seeing that message in your logs, so again
it's probably not related.
If the problem is something to do with file ownership after your
backup/restore process, you could run the following:
find $HOME ! -user $USER
It should return nothing, if every file in your home directory is owned
by you.
Haines Brown via Dng wrote:
> Xorg.0.log starts:
>
> [293324.757]
> X.Org X Server 1.21.1.7
> X Protocol Version 11, Revision 0
> [293324.757] Current Operating System: Linux lenin 6.1.0-17-amd64 #1
> SMP PREEMPT_DYNAMIC Debian 6.1.69-1 (2023-12-30) x86>
> [293324.757] Kernel command line: BOOT_IMAGE=/vmlinuz-6.1.0-17-amd64
> root=UUID=c581c272-29b9-40d1-81a6-1a33ed539bb9 ro
> [293324.757] xorg-server 2:21.1.7-3+deb12u2devuan1
> (https://www.devuan.org/os/community)
> [293324.758] Current version of pixman: 0.42.2
> [293324.758] Before reporting problems, check http://wiki.x.org
> to make sure that you have the latest version.
> [293324.758] Markers: (--) probed, (**) from config file, (==)
> default setting,
> (++) from command line, (!!) notice, (II) informational,
> (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
> [293324.758] (==) Log file:
> "/home/haines/.local/share/xorg/Xorg.0.log", Time: Thu Mar 21
> 05:05:58 2024
> [293324.759] (==) Using system config directory
> "/usr/share/X11/xorg.conf.d"
> [293324.759] (==) No Layout section. Using the first Screen
> section.
> [293324.759] (==) No screen section available. Using defaults.
> [293324.759] (**) |-->Screen "Default Screen Section" (0)
> [293324.759] (**) | |-->Monitor "<default monitor>"
> [293324.759] (==) No monitor specified for screen "Default Screen
> Section".
> Using a default monitor configuration.
> [293324.759] (==) Automatically adding devices
>
> There are warnings that don't seem significant
>
> [293324.910] (II) modeset(0): using drv /dev/dri/card0
> [293324.910] (WW) Falling back to old probe method for fbdev
> [293324.910] (II) Loading sub module "fbdevhw"
> [293324.910] (II) LoadModule: "fbdevhw"
> [293324.911] (II) Loading /usr/lib/xorg/modules/libfbdevhw.so
> [293324.911] (II) Module fbdevhw: vendor="X.Org Foundation"
> [293324.911] compiled for 1.21.1.7, module version = 0.0.2
> [293324.911] ABI class: X.Org Video Driver, version 25.2
> [293324.911] (WW) VGA arbiter: cannot open kernel arbiter, no
> multi-card support
> [293324.911] (II) modeset(0): Creating default Display subsection in
> Screen section
>
> It terminates abruptly:
>
> [293325.180] (II) XINPUT: Adding extended input device "Barcode
> Reader Consumer Control" (type: KEYBOARD, id 17)
> [293325.180] (**) Option "xkb_model" "pc105"
> [293325.180] (**) Option "xkb_layout" "us"
> [293325.180] (**) Option "xkb_options" "compose:ralt"
>
>