Welcome to SparkyLinux forums
Zapraszamy również na polsko-języczne Forum https://forum.linuxiarze.pl

[RESOLU] Password sur Screener !

Started by piotrfr, December 24, 2018, 02:37:45 PM

Previous topic - Next topic

piotrfr

Hello all
;)
I am French so my English will be a translated version!
a thousand excuses for misunderstandings ...

When I put my screen in standby, if I want to regain control, he offers me a login but my password does not work, I have to "change user" then submit my login and password?
Would there be a solution for this?
thanks for the help coming

Good day to everyone
-------------------------------------------
Bonjour à toutes et tous
;)
je suis français donc mon anglais ne sera qu'une version traduite !
mille excuses pour les incompréhensions...

Lorsque je mets mon écran en veille, si je veux reprendre la main, il me propose un login mais mon mot de passe ne fonctionne pas, je dois faire "changer d'utilisateur" puis remettre mon login et mon mot de passe ?
Y aurait-il une solution pour cela ?
merci pour l'aide à venir

bonne journée à toutes et tous

penguin

What version of sparky you are using ? What desktop ? This happens me times ago. I am not very sure but I think that in Terminal your sparky use another keyboard.What kind of keyboard you are using ? French or another one ? What kind of locker you are using Screen Saver that is installed by Sparky or another one ?( I use i3locker)

Execute in terminal the follow command:

setxkbmap -query and find way your keyboard.

I have described the similar problem in one of my posts in this forum.

Anyway . Execute in Terminal the follow command

localectl set-x11-keymap XX  ( replace XX with keyboard of your layout) that suppose to have the same results as editing of
/etc/vconsole.conf as sudo and change KEYMAP=XX where XX is your keyboard.

also see this https://github.com/solus-project/budgie-desktop/issues/731 as follow:

Quotegot it working with this:
/etc/X11/xorg.conf.d/00-keyboard.conf:

# Read and parsed by systemd-localed. It's probably wise not to edit this file
# manually too freely.
Section "InputClass"
        Identifier "system-keyboard"
        MatchIsKeyboard "on"
        Option "XkbModel" "pc104"
        #Option "XkbLayout" "XX"
        Option "XkbLayout" "XX"
        Option "XkbVariant" "nodeadkeys"
EndSection



where XX is your keyboard

and do not forget to run in terminal sudo update-initramfs -u

and gave you all possibilities how to correct. Try and post your feedback

lami07

Hi. Run in terminal   ls -l /etc/shadow

Paste here the result.
Quote from: forum rulesWhen an issue has been resolved for you, please edit the original post to include <SOLVED> in the title. This provides a good indicator for users with a similar problem to check out the thread
Want to chat? Join #sparkylinux at [url="//irc.freenode.net"]irc.freenode.net[/url]

piotrfr

thank you for your help to both of you

@penguin I tried your proposals but nothing works?

@ lami07 here is the result:
~ $ ls -l / etc / shadow
-rw-r ----- 1 root root 1407 dec. 21 10:37 / etc / shadow
------------------------------------------
merci pour votre aide à tous les deux

@penguin j'ai tenté tes propositions mais rien ne fonctionne ?

@lami07 voici le resultat:
~$ ls -l /etc/shadow
-rw-r----- 1 root root 1407 déc.  21 10:37 /etc/shadow

lami07

Ok. Modify ownership of /etc/shadow with this command: sudo chown root:shadow /etc/shadow
It should help.
Quote from: forum rulesWhen an issue has been resolved for you, please edit the original post to include <SOLVED> in the title. This provides a good indicator for users with a similar problem to check out the thread
Want to chat? Join #sparkylinux at [url="//irc.freenode.net"]irc.freenode.net[/url]

piotrfr

 ;) ;) ;)

salut et mille mercis pour cette astuce qui fonctionne parfaitement !

merci beaucoup !

bonne journée à toutes et tous
:)

lami07

Quote from: forum rulesWhen an issue has been resolved for you, please edit the original post to include <SOLVED> in the title. This provides a good indicator for users with a similar problem to check out the thread
Want to chat? Join #sparkylinux at [url="//irc.freenode.net"]irc.freenode.net[/url]

Mastrius0713

I typed in the code ls -l /etc/shadow but it says:

ls cannot access '/ect/shadow: no such file or directory

Lenovo T420s, Intel i5 2.6Ghz, 8GB RAM, 128GB SSD.
SparkyLinux V4 Tyche, x86_64, 4.9.0.9-amd64, OpenBox

lami07

What exactly did you type ? ls -l /etc/shadow or ls -l /ect/shadow   ?
Quote from: forum rulesWhen an issue has been resolved for you, please edit the original post to include <SOLVED> in the title. This provides a good indicator for users with a similar problem to check out the thread
Want to chat? Join #sparkylinux at [url="//irc.freenode.net"]irc.freenode.net[/url]

Mastrius0713

#9
Doh!

I got it changed now. Thanks!
Lenovo T420s, Intel i5 2.6Ghz, 8GB RAM, 128GB SSD.
SparkyLinux V4 Tyche, x86_64, 4.9.0.9-amd64, OpenBox

View the most recent posts on the forum