Linux Mint 18.3 kicks me back to the login screen after the login attempt


The disk is LUKS-encrypted, I know both the LUKS password and my admin account password (it tells me specifically if the password is wrong, otherwise the login screen returns shortly after the login attempt). The only thing I managed is changing the admin password, but not removing it. At this point I just want to restore all my data and install some other OS finally. Might anyone know the solution by any chance? Thank you in advance!

This is a 4-second video illustrating the problem:

Edit: can only use the computer from the guest profile.

79% Upvoted
This thread is archived
New comments cannot be posted and votes cannot be cast
Sort by
level 1

I could fix it by freeing up space on the hard drive with the command line.

level 1


2 points · 11 months ago(More than 2 children)

level 1

Your DE settings could be corrupt (causing the DE to crash and throw you back at the login screen). To fix this try pressing CTRL+ALT+F1 to switch to a console terminal, then login normally and try these commands to rename the relevant folders:

mv ~/.config ~/config.old
mv ~/.cache ~/cache.old
mv ~/.local ~/local.old
mv ~/.cinnamon ~/cinnamon.old

Then press CTRL+ALT+F7 to get back to a graphical login and try login in again. Your themes, bookmarked folders, program settings, etc should return to their original state.

If this doesn’t fix it, you might try reinstalling your display manager.

level 1

Have you edited your bashrc recently? I had putting a function in mine and accidentally left an exit statement outside of the function which would run everytime I logged in. So I would login which would load bashrc then promptly run the dumb exit and bring me back to the login screen. The endless loop

level 1

Press ctrl-alt-f1 and then log in using your username and password. Run ‘sudo rm ~/.Xauthority’, type your password, and then press ctrl-alt-f7 to get back to your desktop. Try loggin in again. I had this exact problem on this exact district and this worked for me.

level 1

This happened to me recently due to a full disk (I had run Tmux with logging on for a while, which produced a massive log file that ate up my disk space). I managed to solve it by locating the offending file & deleting it.

More posts from the linuxquestions community

python matplotlib on manjaro: ModuleNotFoundError: No module named ‘matplotlib.pyplt’

Hi, so ive got a somewhat new installation of Manjaro on an external drive (USB 3.0), and ive installed both

sudo pacman -S python-matplotlib

(which worked perfectly)


python3.8 -m pip install -U --upgrade matplotlib

which returned –

~ > pip3 install matplotlib numpy
Defaulting to user installation because normal site-packages is not writeable
Requirement already satisfied: matplotlib in ./.local/lib/python3.8/site-packages (3.2.1)
Requirement already satisfied: numpy in ./.local/lib/python3.8/site-packages (1.18.2)
Requirement already satisfied: cycler>=0.10 in ./.local/lib/python3.8/site-packages (from matplotlib) (0.10.0)
Requirement already satisfied: kiwisolver>=1.0.1 in ./.local/lib/python3.8/site-packages (from matplotlib) (1.1.0)
Requirement already satisfied: pyparsing!=2.0.4,!=2.1.2,!=2.1.6,>=2.0.1 in ./.local/lib/python3.8/site-packages (from matplotlib (2.4.6)
Requirement already satisfied: python-dateutil>=2.1 in ./.local/lib/python3.8/site-packages (from matplotlib) (2.8.1)
Requirement already satisfied: six in ./.local/lib/python3.8/site-packages (from cycler>=0.10->matplotlib) (1.14.0)
Requirement already satisfied: setuptools in ./.local/lib/python3.8/site-packages (from kiwisolver>=1.0.1->matplotlib) (46.1.3)

but then, when i do –

>>> import matplotlib.pyplt as plt

i recive –

Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
ModuleNotFoundError: No module named 'matplotlib.pyplt'

so i went and checked what modules does matplotlib has in it (when im importing it as “import matplotlib”) i get –

>>> import matplotlib
>>> dir(matplotlib)
['ExecutableNotFoundError', 'LooseVersion', 'MatplotlibDeprecationWarning', 'MutableMapping', 'Parameter', 'Path', 'RcParams', 'URL_REGEX', '_DATA_DOC_APPENDIX', '_DATA_DOC_TITLE', '_ExecInfo', '__bibtex__', '__builtins__', '__cached__', '__doc__', '__file__', '__loader__', '__name__', '__package__', '__path__', '__spec__', '__version__', '_add_data_doc', '_all_deprecated', '_check_versions', '_color_data', '_create_tmp_config_or_cache_dir', '_deprecated_ignore_map', '_deprecated_map', '_deprecated_remain_as_none', '_ensure_handler', '_get_config_or_cache_dir', '_get_data_path', '_get_executable_info', '_get_xdg_cache_dir', '_get_xdg_config_dir', '_init_tests', '_label_from_arg', '_log', '_logged_cached', '_open_file_or_url', '_preprocess_data', '_rc_params_in_file', '_replacer', '_version', 'atexit', 'cbook', 'checkdep_dvipng', 'checkdep_ghostscript', 'checkdep_inkscape', 'checkdep_pdftops', 'checkdep_ps_distiller', 'checkdep_usetex', 'colors', 'compare_versions', 'contextlib', 'cycler', 'dedent', 'defaultParams', 'default_test_modules', 'docstring', 'fontconfig_pattern', 'ft2font', 'functools', 'get_backend', 'get_cachedir', 'get_configdir', 'get_data_path', 'get_home', 'get_label', 'get_py2exe_datafiles', 'importlib', 'inspect', 'interactive', 'is_interactive', 'is_url', 'locale', 'logging', 'matplotlib_fname', 'mplDeprecation', 'namedtuple', 'numpy', 'os', 'pprint', 'rc', 'rcParams', 'rcParamsDefault', 'rcParamsOrig', 'rc_context', 'rc_file', 'rc_file_defaults', 'rc_params', 'rc_params_from_file', 'rcdefaults', 'rcsetup', 're', 'sanitize_sequence', 'set_loglevel', 'shutil', 'subprocess', 'sys', 'tempfile', 'test', 'tk_window_focus', 'use', 'validate_backend', 'warnings']

and when i go through it i can see that its missing a lot of the modules the matplotlib should have.

my system info:

OS: Manjaro Linux x86_64

Host: SATELLITE P50-C PSPT2E-00M00HTE (laptop)

Kernal: 5.4.28-1-MANJARO

Thanks in advance.


[HELP] “Partition table: unrecognized” after corrupted Ubuntu install

So I recently tried to install Ubuntu and now my SSD got corrupted.. I’m using Kali Linux Live to look at Gparted and it shows “Partition table: unrecognized”. What am i supposed to do? Gparted and fdisk -lu

//EDIT Heres another picture of gnome and SMART Data & Self-Test hope that helps

//SOLUTION So i just received my new m2 ssd and im installing Windows again so it’s definitely referring to the broken ssd. I dont know wether its an HW or SW error. I wanna thank everyone that have tried their best to help me out!!!


is it possible to install any linux distro without usb or external device?

i mean just by loading it from within windows and installing it (not talking about virtual or emulating install).

promotedPosted by

10 days ago

Enable easy GUI remote access to your high performance computing services

Post image

Steam no longer launching after recent Ubuntu update

After a recent update to Ubuntu to 18.04.4, Steam is no longer launching for me. I realize that this has been posted at various times, but I tried many of the solutions suggested in those threads to no avail. Below is steam’s console output:

Running Steam on ubuntu 18.04 64-bit
STEAM_RUNTIME is enabled automatically
Pins up-to-date!
[2020-04-02 23:38:36] Startup - updater built Mar 26 2020 22:45:57
SteamUpdateUI: An X Error occurred
X Error of failed request:  GLXBadContext
SteamUpdateUI: An X Error occurred
X Error of failed request:  BadValue (integer parameter out of range for operation)
Major opcode of failed request:  152 (GLX)
Minor opcode of failed request:  3 (X_GLXCreateContext)
Value in failed request:  0x0
Serial number of failed request:  51
xerror_handler: X failed, continuing
Major opcode of failed request:  152 (GLX)
Minor opcode of failed request:  6 (X_GLXIsDirect)
Serial number of failed request:  52
xerror_handler: X failed, continuing
Looks like steam didn't shutdown cleanly, scheduling immediate update check
[2020-04-02 23:38:36] Checking for update on startup
[2020-04-02 23:38:36] Checking for available updates...
[2020-04-02 23:38:36] Downloading manifest:
[2020-04-02 23:38:36] Download skipped: /client/steam_client_ubuntu12 version 1585264767, installed version 1585264767
[2020-04-02 23:38:36] Nothing to do
[2020-04-02 23:38:36] Verifying installation...
[2020-04-02 23:38:36] Performing checksum verification of executable files
[2020-04-02 23:38:37] Verification complete

I am running a Dell XPS 15 with a GTX 1650, with nvidia-drivers-440 installed.

Can anyone help?

(edit: code block)


For those using only WM’s, what are some basic (non-DE-entangled) applications you use?

I’m running arch with i3 and absolutely loving the simplicity of it. I’m wondering what applications you all use for regular daily tasks. For example, I’m using urxvt as my terminal, spectacle for screen shots, pcmanfm for my file manager, etc.

I’m looking for apps which aren’t part of a DE because my understanding is that they would need a lot of extra dependencies to work. For example, if I wanted to install gnome-terminal, that probably requires a whole bunch of gnome framework in order to run, is that correct?

What are some bare-bones, standalone apps to look at for basic daily workflow tasks?


Disable all Spectre and Meltdown mitigations on Intel CPUs to make your machine run faster, this was published on 1st April, is this for real or just a joke?

This guide was published on 1st April about how to disable all Spectre and Meltdown mitigations on Intel CPUs to make it run faster, i have a dual core 7th gen i5 Intel cpu in my laptop, and i really don’t care about security, so i was wondering if this guide is real or just a bad 1st April joke:


Is there a Linux file manager or DE that has a “Make available offline” feature as there is for network drives in Windows?

I run my own Nextcloud instance. It appears that the only two ways for me to work with those files locally is by either

  • use the nextcloud client to sync what I want to sync (having no way to browse what is not synced); or

  • mount the webdav endpoint in a file manager and be able to browse the entire cloud drive (without easy syncing being available).

Back when I used Windows, I made have use of SMB network shares and their “make available offline” functionality, which would allow you to selectively sync parts of a network share. If the share is unavailable, only those files or directories you made available offline show up, when connectivity is restored, any changes in those files are synced up to the network share, as well as the entire share being browsable.

This, to me, is the perfect blend between having to sync all your data and being able to browse your data without the need for syncing. However, I don’t think such functionality is available on Linux. Is there a way to achieve such a thing?


Has anyone come any closer to installing anything linux on an old ipad

Wanting to install linux on an old ipad, desktop would be sick but im not using it so anything would be fine.

Thanks in advance


sed vs. awk

Is there a reason to learn both sed and awk, or, their functionality seeming essentially the same for one liners, would I do better to just focus on awk as it is a little more flexible?

Continue browsing in r/linuxquestions