You are not logged in.
xorg-fonts-100dpi: no mtree file
xorg-fonts-75dpi: no mtree file
xorg-server-devel: no mtree fileThose three packages need reinstalling. xorg-xauth has already been reinstalled?
Edit:
The output was smaller because the grep command removed entries with 0 altered files.
Last edited by loqs (2020-06-08 12:17:57)
Offline
xorg-fonts-100dpi: no mtree file xorg-fonts-75dpi: no mtree file xorg-server-devel: no mtree fileThose three packages need reinstalling. xorg-xauth has already been reinstalled?
No
Offline
It's because english is a more efficient language… and the grep actually hit ;-)
"xorg-server: 50 total files, 1 altered file" is probably the problem here, though - but the broken mtree files mean the other packages are damaged as well.
So re-install xorg-server as well.
Offline
I know this might sound stupid and ridiculously unlikely but could this be a hash collision?
this is super unlikely but maybe try update your mirrors(just in case) then
pacman -Scc xorg-xauthIk this is very very unlikely that i sound dumb
EDIT: ignore, this it posted before reading what have been posted
Last edited by adamss (2020-06-08 12:44:18)
Offline
Let's just have a look at the file…
file /usr/bin/xauth
stat /usr/bin/xauthOffline
xorg-fonts-100dpi: no mtree file xorg-fonts-75dpi: no mtree file xorg-server-devel: no mtree fileThose three packages need reinstalling. xorg-xauth has already been reinstalled?
Edit:
The output was smaller because the grep command removed entries with 0 altered files.
I used pacman -Scc on packages:
xorg-xauth
xorg-fonts-100dpi
xorg-fonts-75dpi
xorg-server-devel
xorg-server
And then used pacman -S on them.
However installing:
xorg-fonts-100dpi
xorg-fonts-75dpi
xorg-server-devel
gave me a lot of 'file exists' and message 'errors are found, packages are not updated'.
Did they install into my system?
Offline
pacman -S --dbonly xorg-fonts-100dpi xorg-fonts-75dpi xorg-server-devel #fix the mtree files
pacman -S xorg-fonts-100dpi xorg-fonts-75dpi xorg-server-develOffline
Let's just have a look at the file…
file /usr/bin/xauth stat /usr/bin/xauth
Offline
pacman -S --dbonly xorg-fonts-100dpi xorg-fonts-75dpi xorg-server-devel #fix the mtree files pacman -S xorg-fonts-100dpi xorg-fonts-75dpi xorg-server-devel
The first command gives:
/usr/share/libalpm/scripts/xorg-mkfontscale: /usr/bin/mkfontscale: binary file format error
Offline
now /usr/bin/mkfontscale is damaged too..
EDIT: it belongs to `xorg-mkfontscale`
so reinstall that too
Last edited by adamss (2020-06-08 12:50:39)
Offline
pacman -S --dbonly xorg-fonts-100dpi xorg-fonts-75dpi xorg-server-devel #fix the mtree files pacman -S xorg-fonts-100dpi xorg-fonts-75dpi xorg-server-devel
Done
Now there's no errors.
Now I only need to install GUI... I think
Is there something else I need to do before this?
Last edited by alexander0803 (2020-06-08 13:05:06)
Offline
have you tried `startx` yet?
$ startxdoes X works now after reinstalling the packages?
if so then i assume, u already have a gui (kde plasma probably)
u have just disabled sddm
you can simply enable it
# systemctl enable sddmthen reboot
no need to reinstall your gui (I assume you mean Desktop environment by that)
if X works alright, prepend the title with '[SOLVED]'
Last edited by adamss (2020-06-08 13:24:23)
Offline
have you tried `startx` yet?
$ startxdoes X works now after reinstalling the
if it is then i assume, u already have a gui, u disabled sddm just enable it# systemctl enable sddmthen reboot
Yes, I've got some badly formatted error messages after 'startx'.
/usr/bin/xkbcomp: cannot execute binary file: Exec format error
XKB: Failed to compile keymap
Keyboard initialization failed.
This could be a missing or incorrect setup of xkeyboard-config
(EE)
Fatal server error:
(EE)
Failed to activate virtual core keyboard: 2(EE)
(EE)
Please consult ... bla bla support
Please also check the log file at '/var/log/Xorg.0.log'
And Xorg.0.log
I remember changing something in the keyboard conf file trying to make it work.
Last edited by alexander0803 (2020-06-08 13:47:46)
Offline
well this is weird... as far as I have checked.. no package owns /usr/bin/xkbcomb
could you
$ ls /usr/bin/xkbcomband
pacman -Qo /usr/bin/xkbcombLast edited by adamss (2020-06-08 13:45:40)
Offline
well this is weird... as far as I have checked.. no package owns /usr/bin/xkbcomb
could you
$ ls /usr/bin/xkbcomband
pacman -Qo /usr/bin/xkbcomb
Sorry, it's a typo.
xkbcomp
Offline
oh just reinstall `xorg-xkbcomp`
pacman -S xorg-xkbcompLast edited by adamss (2020-06-08 13:53:01)
Offline
oh just reinstall `xorg-xkbcomp`
pacman -S xorg-xkbcomp
Ok, but now after startx, server shuts down due to command not found /etc/X11/xinit/xinitrc
Last edited by alexander0803 (2020-06-08 14:00:36)
Offline
Ok, but now after startx server shuts down due to command not found /etc/X11/xinit/xinitrc
You have not installed the commands xorg-twm, xorg-clock and xterm but if you intend to use sddm then you do not need to install them.
Instead try starting sddm.service and see if that works.
Offline
[720634.495] Current Operating System: Linux archlinux 4.18.5-arch1-1-ARCH
adamss wrote:as @jasonwryan pointed out you might have a partially updated OS which is not supported
have you triedpacman -SyyuuIt didn't help.
Same error: ''Failed to start Simple Desktop Display Manager''
Has the kernel been updated, though? What is your uname -a? If it's not some 5.x.y, then check /etc/pacman.conf for a NoUpgrade.
Offline
Please see https://wiki.archlinux.org/index.php/Smart and run and post the output of "sudo smartctl -a /dev/sda" - I really don't like all those "cannot execute binary file: Exec format error" popping up out of nowhere… on top of the bad mtrees.
Offline
just as loqs suggested
start sddm
# systemctl start sddm.serviceif this worked then enable it
start sddm
# systemctl enable sddm.serviceEDIT:
also check what seth and Awebb said
Last edited by adamss (2020-06-08 14:11:39)
Offline
@Awebb, see https://bbs.archlinux.org/viewtopic.php … 5#p1908935 - he simply posted a dated log, currently he's on
[ 26.923] Current Operating System: Linux archlinux 5.6.15-arch1-1 #1 SMP PREEMPT Wed, 27 May 2020 23:42:26 +0000 x86_64
[ 26.923] Kernel command line: initrd=\amd-ucode.img initrd=\initramfs-linux.img nvidia-drm.modeset=1 usbcore.autosuspend=-1 scsi_mod.use_blk_mq=1 root=UUID=862ea804-aea9-475f-8776-16a901d33436 rw
[ 26.924] Build Date: 05 May 2020 05:08:17AM
…
[ 26.924] (==) Log file: "/var/log/Xorg.0.log", Time: Mon Jun 8 18:14:44 2020Offline
btw it looks like most of the damaged file are from the xorg group?
probably coz we are trying get X to work not something else
u can
# pacman -S $(pacman -Qgq xorg)to reinstall every xorg package u have installed but we still dont know yet whats behind all the damaged binaries
EDIT: dont do that until u check and fix ur filesystem or maybe the disk itself
Last edited by adamss (2020-06-08 14:23:34)
Offline
We will please first look at his disk before we conduct more mass I/O.
If it's falling apart, that will only accelerate the process and might jeopardize valuable data.
Offline
Please see https://wiki.archlinux.org/index.php/Smart and run and post the output of "sudo smartctl -a /dev/sda" - I really don't like all those "cannot execute binary file: Exec format error" popping up out of nowhere… on top of the bad mtrees.
Offline