# How do I not boot to the CLI after uninstalling libinput?

My question is: How do I not boot to the CLI after uninstalling libinput?

So, I have answered my own question and I thought it might benefit everyone else because it took me awhile (and I'm unfamiliar with systemd). So in trying to get CSGO to work properly with the mouse I uninstalled libinput and all the associate packages. Little did I know this uninstalled gnome, so I dropped straight to command line, and was slightly upset with myself. After re-installing gnome I was left with booting to the command line, and wasn't sure how to get back to the 'login' screen. So after reading over forums for awhile and experimenting, here was my solution:

So if you messed things up and are booting straight to command line on Fedora 22, try this from the command line:

1. ls -la /etc/systemd/system/default.target (This will tell you where default.target is pointed to)
2. systemctl get-default (To verify what the above ls returned, my result came back as multi-user.target and it should be graphical.target)
3. systemctl set-default graphical.target

How I arrived at my solution: I checked /etc/inittab and it told me :)

I searched the internet for days on this one!

edit retag close merge delete

Please reformule your question! I do not see a real question... guidelines here

( 2015-06-28 23:51:45 -0600 )edit

Sort by » oldest newest most voted

So if you messed things up and are booting straight to command line on Fedora 22, try this from the command line:

ls -la /etc/systemd/system/default.target (This will tell you where default.target is pointed to)
systemctl get-default (To verify what the above ls returned, my result came back as multi-user.target and it should be graphical.target)
systemctl set-default graphical.target


How I arrived at my solution: I checked /etc/inittab and it told me :)

I searched the internet for days on this one!

more

what you probably wanted to do was uninstall xorg-x11-drv-libinput, not libinput itself. the libinput doc has a little diagram to explain where that fits in. you can have libinput installed without anything using it. http://wayland.freedesktop.org/libinp...

that said, I'd prefer if users file bugs for things not working rather than uninstalling the package :)

more