PDA

View Full Version : Gnome is freezing after login



Bargoth
May 14th, 2019, 05:33 PM
Hello,

I have serious problem with my Ubuntu 18.04 installation, particularly with Gnome.

Some issues were independent from me and some them I have created :(.

1. On 13th of May suddenly my perfectly running Ubuntu for so many years (16.04 --> 18.04) suddenly crashed and it was beginning of disaster.
2. On every attempt to reboot Gnome was unresponsive. HDD was working hard but cursor was not moving and some apps couldn't load. It lasted many hours.
3. After looking on different posts and forums I couldn't find any reasonable solution.
4. I checked logs and found that there was error with dbus-core

dbus-core: error connecting to system bus: org.freedesktop.DBus.Error.FileNotFound

5. After looking for different solutions and applying them they didn't solve issue.

Solutions that I have applied in emergency mode in terminal:


reinstalling dbus-core,

===========================
sudo apt install dbus-x11

sudo systemd-machine-id-setup

export DISPLAY=localhost:0

====================


sudo apt purge dbus-user-session
sudo apt install dbus-user-session

======================

And last one which really made me mad :

# apt-get purge dbus

# apt-get install ubuntu-desktop
it was fine until my laptop couldn't connect to archive.ubuntu.com repository. Before this moment my machine was downloading packages without problems

So I do not have ubuntu-desktop installed


Please help me with this problem wchich is to complicated for me.

1. How to install ubuntu-desktop from DVD (U 18.04.2) or some solution for accessing archive.ubuntu.com?

2. I will check after getting back ubuntu-desktop if my Gnome will work normally. If not I will ask for help with dbus-core problem.


Thank you for help


Adrian

Ubuntu 18.04 (Lenovo T520)

Rubi1200
May 16th, 2019, 02:15 PM
Hi,

You have good, solid backups of all your important data right?

Have you tried dpkg in advanced mode, in other words letting the system try and repair broken packages?

rsteinmetz70112
May 16th, 2019, 07:44 PM
Try
sudo apt install -f
Let us know what happens.