Problem with log in

I can not log in to a desktop back again.I have log out from a session and I can not log in. It says : Oh no! Something has gone wrong. A problem has accrued and the system can’t recover.Please log out and try again. What can I do about it?

Normally I have been always switching off the computer by switch off or restart. I never used log out option.This time I have done log out first time. After that I have seen some massage that there was a problem with a VPN. The massage disappeared very quick so I was not able to read all of it.

I use the latest version of the system.That day I have installed a new app :PortMaster firewall.

Installing random debs off the Internet isn’t a great idea unless you take careful note of what is being installed, how it works and importantly understanding any potential conflicts and packages that may be removed.

You can try this After update last night computer doesn't start anymore - #2 by fossfreedom

If that doesn’t work, use whatever instructions the postmaster project says to uninstall.

If that doesn’t work, basically reinstall is the quickest route to get back to a working desktop.

Have you tried turning off the computer by pressing and holding the “Off” button for 10 seconds?


__________

Otherwide, what you need to do is disable PortMaster’s automatic launch.

I don’t know how to do this from terminal at startup. But it should be possible from a live session.


From a USB key on which you have flashed an OS (as for installation), open a live session (“Try Ubuntu”), then launch the “Disks” application that you will find in the main menu.

  1. Click on the main disk in the left pane.
  2. Click on the system partition of your installation in the right pane.
  3. Mount it by clicking on the “play” button (below, left to the gear icon).


Then, launch the terminal in administrator mode (sudo nemo) and go to the “/etc/xdg/autostart” directory of the mounted partition (left pane).
Rename (Right click) “portmaster.desktop” to, say, “portmaster.desktop0”.

Close the live session, remove the USB drive, and restart.

Thank you for your reply. Then it is no more simple for me. I was not installing system from a usb.My friend did it for me.

I try to contact with him and will show him your massage.This is I think the best I can do at that moment.

Hi @Emergency!

Simply renaming the PortMaster launcher in the ‘autostart’ directory is not enough, since it is a service.

Ask your friend to go to the ‘/etc/systemd/system/multi-user.target.wants’ directory and rename the ‘portmaster.service’ file.

I tried it. The program launches, but not the service:

This should allow you to regain control of Ubuntu and uninstall PortMaster.

sudo apt purge portmaster

With the renamed service file, it’s normal for the process to protest: :face_with_hand_over_mouth:

Suppression :   portmaster (2.0.24)
[ ] Post-Remove script [arg1='remove' arg2='']
[ ] Stopping and disabling service
Failed to stop portmaster.service: Unit portmaster.service not loaded.
[ ] Removing files
Traitement : triggers for desktop-file-utils (0.27-2build1)
Traitement : triggers for hicolor-icon-theme (0.17-2)
Traitement : triggers for gnome-menus (3.36.0-1.1ubuntu3)
Traitement : triggers for bamfdaemon (0.5.6+22.04.20220217-0ubuntu5)
Rebuilding /usr/share/applications/bamf-2.index
Purging configuration files for portmaster (2.0.24) 
[ ] Post-Remove script [arg1='purge' arg2='']
[ ] Stopping and disabling service
Failed to stop portmaster.service: Unit portmaster.service not loaded.

All that remains is to manually delete the renamed files. :crossed_fingers:

Thank you so much for you kind and fast help.
It was emergency situation… because of that I was few days without the computer aces.

I have given my friend a link to this topic in here and he was following your advices.

The PartMaster is removed and the problem dissipated :slight_smile: .

I have copied all what you said here to my computer Linux troubleshooting folder. I hope to learn from it for the future similar issues I will face.

Thanks @Emergency, but you should have called for help sooner.
Nevertheless, I’m glad I could help your friend unlock your computer.

:light_bulb: Prepare an 8 GB USB drive with a Linux distribution installed — I recommend Zorin 17 Core because the live session in Ubuntu 22.04 is far more user-friendly than the one in Ubuntu 24.04.

Above all, keep it safe for troubleshooting!

Everyone should have this kind of key ready just in case. You can do a lot of things with it: reinstall a system, unlock it, recover data — even on a Windows system… :nerd_face:

That’s why I’m.not using budgie any longer, I love the DE… But! To buggy; perhaps in the future it will give a safety similar to XFCE and KDE. Hope so!

Your comment is rather unfair, @adhans. Sign up for this…

What happened to @Emergency had nothing to do with Budgie, but with an incompatibility problem between two applications: Portmaster and a VPN. And it seems to me that Budgie is less buggy than in its early days, isn’t it? :thinking:

You might be right, i gotta give another run!

If I say “Welcome to the club!” people will think I’m impatronizing myself. :roll_eyes: