I wanted to switch over to use a different desktop. I was previously using KDE and wanted to try out MATE. One issue here was that I was using CentOS 6 and it was woefully out of date since I'd not used it in ages. So I had a few steps:
- I needed to update.
Code: Select all
yum update
- I needed to remove the old desktop and window manager
- I needed to install the new desktop and manager
Code: Select all
yum install
After installing X server and running
Code: Select all
yum groupinstall "MATE Desktop"
Code: Select all
yum install sddm
Code: Select all
less /var/log/Xorg.0.log
- fbdev
- vesa
- radeon
Code: Select all
yum search xorg-x11-drv
So I began my adventure. A 2 day stint where I learned much about CentOS and myself... Some useful things:
- There is a --timed-exit in gdm which proved quite useful when I tried switching back to gdm to see if that fixed it. This stops gdm after however many seconds you specify.
- Ctrl+Alt+Fx (e.g. F3,F5) switches runlevels whilst in a UI. Not handy when your keyboard isn't working of course...
- You can boot to multi-user console by changing the symbolic link in If you amend this to link to
Code: Select all
/etc/systemd/system/default.target
then you'll boot to console next time.Code: Select all
/usr/lib/systemd/system/multi-user.target
- Going hand in hand with the last point, you can boot to single user mode by editing the boot command. Change ro to rw and add init=/sysroot/bin/sh. I used https://vpsie.com/knowledge-base/boot-s ... hel-vpsie/.
- is a bug which appears to still be at large. I was unable to resolve that bug which is what lead to using SDDM
Code: Select all
GLib: g_hash_table_find: assertion 'version == hash_table->version'
- startx does not run on it's own, even when you stick an ampersand on the end. You have to spawn it with your display manager (e.g. gdm, sddm etc)
Code: Select all
evtest
Code: Select all
/dev/input/event3
Code: Select all
/etc/X11/xorg.conf.d/00-kayboard.conf
Code: Select all
MatchDevicePath "/dev/input/event3"
Code: Select all
yum list installed | grep evdev
So I looked for everything x11 and found xkb-utils. I saw this mentioned in the logs so didn't think much of it. Apparently it was needed! I installed them using
Code: Select all
yum install xorg-x11-xkb*
I should stress, this isn't the first time I've ever switched desktops. This just happened to be problematic. There was so little information on it, I was really clutching but we got there in the end. Is it just me that had these kinds of problems?