Ask Your Question
1

Removed pkg-config, now desktop won't start

asked 2016-06-23 01:51:10 -0600

gbbiscuits gravatar image

I'm new to Fedora, and just installed Workstation 24 on my Acer Aspire laptop.

I was having trouble with pkg-config, so I tried to remove it with $ sudo dnf remove pkg-config. But then the whole system froze and I had to shut down the power from my laptop. After that Fedora only starts in kernel and asks to login as local host.

Is there a way to re-install the desktop from kernel etc?

Thanks.

edit retag flag offensive close merge delete

Comments

Kernel? you mean terminal? If so, login as root and install the package pkgconfig again: dnf install pkgconfig. Or undo your previous transaction: dnf history undo last

florian gravatar imageflorian ( 2016-06-23 13:43:46 -0600 )edit

2 Answers

Sort by ยป oldest newest most voted
2

answered 2016-07-11 16:38:59 -0600

ssieb gravatar image

Did you observe what dnf said would be removed if you did that? Pretty much everything. It would be easiest to just reinstall at this point. Although you might be able to use dnf to rollback the transaction as mentioned by florian.

edit flag offensive delete link more
1

answered 2016-07-11 20:23:46 -0600

davidva gravatar image

updated 2016-07-11 20:26:08 -0600

A serious problem; fingers crossed for internet access.

Login: root

pass: your_pass_of_root

Now

1) dnf -y install @gnome-desktop
2) dnf -y install @xfce-desktop
3) dnf -y install gdm lightdm lightdm-gtk
4) systemctl disable gdm.service
5) systemctl enable gdm.service
6) reboot
edit flag offensive delete link more

Question Tools

Stats

Asked: 2016-06-23 01:51:10 -0600

Seen: 106 times

Last updated: Jul 11 '16