Need Help - Cannot login to account..

4 respuestas [Último envío]
rahul
Desconectado/a
se unió: 05/16/2018

Hello.. i am unable to log into my account. This happened when i started using a new monitor with my laptop via vga. the orientation of added monitor war chosen as counterclockwise (vertical) and the sticky notes app built into gnome seemingly stopped working properly.

One of the 4 notes opened on desktop started to show up in weird (different- stretched downwards) way, although it was functional.

when i restarted the computer and tried to login to user account, it shows the background for a few seconds and then it comes back to password screen.

i am able to login to the account via command line as well as in guest mode.

Magic Banana

I am a member!

I am a translator!

Desconectado/a
se unió: 07/24/2010

The game consists in identifying the configuration file (probably a file in ~/.config) that crashes the session and fixing it or simply removing it (going back to the default configuration). If that is a value configured with dconf and you do not want to spend time identifying which one (and you are OK going back with the default values):
$ sudo rm -r ~/.config/dconf

Side note: I personally use Gnote but its notes are not "sticky".

Magic Banana

I am a member!

I am a translator!

Desconectado/a
se unió: 07/24/2010

If something in ~/.config crashes the session, an efficient way to proceed is to rename ~/.config:
$ mv ~/.config ~/config.bak
If, really, it is something in ~/.config that crashes the session, then you should be able to get a graphical desktop (type Alt+F7 to get back to the graphical session and log in).

All the applications that depend on things in ~/.config will be back to their default configuration. However you can then copy files from ~/config.bak back to ~/.config to get your configuration back. You can copy half of those files, log out, log in, and see if you can still get your desktop. If so, copy half of the remaining half and so on. If you cannot get your desktop then the problem is in the last batch of files you copied back to ~/.config: you can remove half of that batch (from a text session) and see if you can get your desktop back, etc. In the end, you will identify the one file that is the culprit. All the other files in ~/config.bak can be moved back to ~/.config.

That process takes a number of log in attempts that depends on the base-2 logarithm of the number of files in ~/.config. It is a binary search: https://en.wikipedia.org/wiki/Binary_search_algorithm

However, many files cannot possibly be guilty: all those that relate to applications that do not start with the session. They can be directly copied from ~/config.bak to ~/.config.

rahul
Desconectado/a
se unió: 05/16/2018

I used $ mv ~/.config ~/config.bak and was able to log in. Now , i want to copy files from ~/config.bak back to ~/.config .

can this be done via gui because i am unable to locate my .config file..? (i do see the config.bak file)

thanks a lot

(I will also use gnote, the sticky notes seem unstable)

chaosmonk

I am a member!

I am a translator!

Desconectado/a
se unió: 07/07/2017

> can this be done via gui because i am unable to locate my .config file..? (i
> do see the config.bak file)

Files and directories beginning with a "." are hidden by default. You can toggle the visibility of these files in your graphical file manager with Crtl+H.