Questions tagged [login]
The process of logging in: from the login prompt, through user authentication, to session startup.
1,255
questions
0
votes
0
answers
10
views
Disable ASUS Vivobook S15 S532F ScreenPad on login page
I'm new in Linux world, i've just installed it on my Asus Vivobook S15 (i chose Linux Mint because of its simplicity, sometimes...). The problem is that my ScreenPad won't turn off on the login page, ...
0
votes
1
answer
25
views
Login using arduino and RFID
I have been thinking about this for a while. How would I go about being able to log in using an Arduino and RFID card reader?
Hardware:
Arduino UNO, Card reader:
RFID-RC522
OS:
Arch Linux
0
votes
0
answers
19
views
Docker does not trigger login or invoke /etc/profiles?
Trying to deal with the problem of
dircolors: no SHELL environment variable, and no shell type option given
when I start my docker container.
So from
What sets the $SHELL environment variable? it can ...
0
votes
0
answers
22
views
Changing GID on login
I have a system for which SSS is configured to use LDAP. A user will appear on my system as, say
# id abc
uid=1234(abc) gid=1010(default) groups=20001(red),20002(blue)
If I can determine through ...
0
votes
2
answers
15
views
Tell Gnome 40 to start on the first workspace, rather than Activities
I have recently upgraded to Rocky Linux 9, a RHEL derivative, which uses Gnome 40 by default. When I log in I find myself in the Activities view. Is there a way to tell it to start on the fist ...
0
votes
0
answers
74
views
Kali Linux after apt dist-upgrade error with Nouveau & installing NVIDIA drivers "No Space Left on Device"
I have a Kali Linux machine. Last weekend I updated Kali with apt update /apt dist-upgrade, and when I rebooted the machine it wouldn't let me log in. At first everything was normal, grub loads the ...
0
votes
0
answers
31
views
Not able to log in to server [duplicate]
I have an Ubuntu server that was working fine last night, but today when I go to log in it says "permission denied". I am putting in the same username and password that I have always used.
I ...
0
votes
0
answers
53
views
Logging in takes 2 minutes on Kali Linux, how do I fix it so the login time is normal again?
Logging in to my user on Kali Linux takes very long, I don't know what the issue is. I have included the full syslog, only the syslog after login, and user.log.
If you understand and know a lot about ...
2
votes
0
answers
26
views
How do i get failed login message in console?
Hi guys one of my server shows like
There was 1 failed login attempt since the last successful login. Whenever i failed login.
But the other servers does not show that message even though I failed ...
1
vote
0
answers
47
views
What is responsible for displaying last login information on Debian?
What is responsible for showing last login information on Debian when the user logs in?
By "last login information" I mean this:
Last login: Mon Jan 16 18:24:50 2023 from 10.32.0.84
I need ...
-1
votes
1
answer
41
views
Error found when loading /home/(username)/.profile
I'm getting an error upon login:
Error found when loading /home/(username)/.profile:
/home/(username)/.bashrc: line 1: /bin/bash:: No such file or directory
As a result the session will not be ...
2
votes
1
answer
127
views
Ask password at login on Linux Mint Cinnamon
When I installed Linux Mint Cinnamon on my machine the first time, I checked the box saying something like don't ask for password when logging in.
Now I would like to revert this option, but I can't ...
0
votes
1
answer
60
views
Cannot login to CentOS7
I was trying to set the environment in .bashrc and I might change something incorrectly, now I cannot login as either common user or root.
I use centos gui in my PC, when I enter the password the ...
1
vote
1
answer
65
views
How to enter password without Keyboard on graphical login screen?
I am using Debian desktop for Lichee Pi and I am new this platform(linux).
After energizing, the graphical login screen appears.
But I don't have a real or virtual keyboard.
Can I enter this password ...
0
votes
0
answers
70
views
No Available Options for Login Screen (SDDM) in Plasma
I want to change my login screen theme but I see no available options. When I go to the plasma store I am able to download new login screens, and they even show "installed" but the option ...
1
vote
2
answers
62
views
script in /etc/update-motd.d/ not working
I have created a script /etc/update-motd.d/foo
#!/bin/sh
echo aaa
exit 0
I would like this script to be executed on ssh login, and display the output.
I have the folowing lines in my /etc/pam.d/sshd:
...
-4
votes
1
answer
88
views
ssh passwordless login to root account
When installing Kali-Linux distro version 6.0
the assisted installation process ask for a user name (I entered Joe, could be any other...) and it created the user Joe (with the same privileges as the ...
0
votes
1
answer
118
views
How to limit the concurrent GUI login, but allow multiple SSH login?
On an Ubuntu desktop, contains several accounts, I want to limit the GUI login number.
At anytime, there should be only one account can login by using local GUI. (The first account must logout before ...
0
votes
0
answers
22
views
Using OpenBSD /usr/libexec/auth/login_* from command line or other program
This may be an x-y problem and please feel free to point me in other directions as well.
I'm trying to write a login mechanism to dovecot's passdb, using either a Lua plugin or a CheckPassword program....
2
votes
1
answer
38
views
Fedora Server 36 - update process automatically closes user’s session
This latest Saturday and today, through VirtualBox for Fedora Server 36, as many times as I did do, was executed the sudo dnf update command, the password is written and
Starts to load and show some ...
0
votes
0
answers
23
views
Sign out from web sites opened in a Firefox tab running on a remote machine through an SSH terminal
Is it possible to sign-out from whatever web site opened in a Firefox tab on a machine A through SSH (no GUI) from a machine B?
Let a user open Firefox on a Ubuntu machine A, browser the web, login to ...
0
votes
0
answers
141
views
login screen freezes
I recently installed Ubuntu and when I boot the system or try to login from suspend state the username and password fields gets kind of hang. It takes anywhere from 10 secs to 1 min before it allows ...
0
votes
1
answer
38
views
Set specific envionment variables on every login
It sounds like an easy task, but I could not achieve it so far:
Whenever a (graphical) login occurs on Debian 11, I want to conditionally (e.g. if $XDG_DEBUG == 1, then ...) set specific environment ...
0
votes
0
answers
149
views
An attempt at using BASH scripting to login to git and eventually run git commands
I haven't been able to find anyone successfully attempt anything similar so here is my attempt.
I am trying to automate logging into GIT so later down the line I can run GIT commands.
The idea is:
git ...
0
votes
0
answers
16
views
Zorin 16.1 Crashes showing ^@ Symbol in a terminal-like screen
I was using Google Chrome on my Linux (Zorin OS 16.1) on my Inspiron 3593, When suddenly a black screen appears showing a one line long ^@ symbols like
^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@
When i try to ...
0
votes
0
answers
47
views
Not able to add user to system with readonly fs in ubuntu linux
According to the requirement I want to add a user to an OS where the / is mounted as readonly. As we know that the OS will not be able to create lock files and edit passwd files the operation fails.
...
2
votes
2
answers
106
views
Why does my script not work as a login shell?
I'm trying to make a shell for the desktop environment I'm designing which is just a configured Zsh, and I'm confused about how to pass along whether it's a login shell or not.
Here's my script:
#!/...
1
vote
2
answers
270
views
SSH key based login not working
I am trying to setup SSH key based login from server A to server B.
I ran ssh-keygen on server A and used ssh-copy-id to copy the id_rsa.pub to server B.
When I try to ssh user@serverB from server A, ...
0
votes
0
answers
114
views
Display manager fails with a full hard drive (black screen after login)
Before I begin, this is a combination of two problems I've experienced before, but since they've now occured at the same time, I've got no clue what to do.
I'm running Ubuntu 22.04.1 LTS.
Problems:
...
0
votes
0
answers
26
views
How could I reset all display servers configurations on Bash?
My problem is relatively straightforward, even though what made it happen isn't, it appears to me. So, I was looking for a way to scale an application individually, found a tool called run_scaled ...
0
votes
0
answers
58
views
Can't `beep` without an active tty
I am having this issue, I can't beep the Debian10 headless box without a local user logging on a real TTY (ok, meat to be a headless box, though needs a monitor for mentioned test). By beep, I mean ...
2
votes
0
answers
32
views
Spam or serious logins? Notifications of desktop recently disconnect on my linux machine
apologies if the question sound silly but I'm a fairly basic user with very little experience. I got a notification on my computer (see picture) that a desktop computer had disconnected from my laptop....
1
vote
1
answer
412
views
Login to Linux automatically without input username and password
I'm working with Linux (Fedora) without a GUI (I've disabled it). In the system, there is one user (tarik). I would like to log in automatically without typing the username and password. I have ...
0
votes
0
answers
130
views
Lightdm won't let me log in after adding a greeter-session
So I am trying to configure lightdm to add some themes. For some reason after adding the webkit2-greeter to greeter-session in the lightdm.conf and rebooting it won't simply log in. After I reboot, I ...
1
vote
1
answer
271
views
Login screen suddenly stays black
I set up a Tuxedo InfinityBook Pro 14 Gen7 (without NVIDIA) and so far everything worked very well. The OS is based on Ubuntu 22.04 (TuxedoOS), the latest version of KDE Plasma.
After switching on ...
0
votes
0
answers
74
views
speedup startup of shell by source .profile one time
I don't understand why we can't use .zshrc or .profile or .bash_profile to configure the shell script!
But in tty we can do that!
$ cat ~/.zprofile # or ~/.bash_profile or ~/.profile in RedHat
...
0
votes
0
answers
26
views
last login records
in RHEL/CentOS 7 (or other) when logging in at the console when it is a Server With GUI type of installation so you have the graphical login screen...
after successful password entry it displays for ...
1
vote
1
answer
646
views
How to fix login keyring?
I install Opera on a Linux machine. However, every time I open Opera, I got this message:
"Authentication required. The login keyring did not get unlocked when you logged into your computer."...
0
votes
0
answers
96
views
How to allow users to ssh when sftp enabled
We have an nfs share which is mounted to /mnt/logs.
User A is found within group sftp (in active directory) and can only sftp to /mnt/logs. In sshd_config we have:
Match Group sftpgr
X11Forwarding ...
0
votes
0
answers
55
views
Blank desktop page
I'm running Linux Mint. I just restarted my system after a system update. The login page doesn't wait for a password; it just boots, to a desktop showing only desktop icons. It is not showing the ...
0
votes
0
answers
206
views
Set blank password for Login keyring through command line only
Want to set blank password for Login keyring through command line and not through passwords and Keys. Case of automatic login and don't need to be bothered by keyring pass popup .Came across multiple ...
4
votes
2
answers
758
views
How to shutdown pc if no user is logged in?
I am sorry if I have missed any existing answers or solutions - my searching did not bring up any viable solutions yet.
The issue:
My pc contains Windows and Linux, with Linux being the primary OS.
...
0
votes
0
answers
32
views
Logging changes to environment variables
I'm trying to debug some login behaviour where I have both my display manager and systemd (and potentially others) altering some environment variables (the XDG_* variables). Does anyone know any way ...
0
votes
1
answer
45
views
determine how the user logged in
I want to know how the user logged in( Using RDP, ssh, VNC, or any kind of...).
How can I log a general way that is independent of Linux OS shows the type of user's login?
0
votes
1
answer
69
views
No login screen after boot even though password set for user
When I installed it, I set up using with password option, so it never had the password from beginning, but now I can't enable it.
I've three users that are present in system:
For akshatk i've set ...
1
vote
2
answers
57
views
Unable to enter first login password that has any accented vowel
After upgrading ubuntu to 22.04 I wasn't able to login because my password has any accented vowel, as for example "ú". This happens ONLY the FIRST login.
In my case the new ubuntu 22.04 does ...
1
vote
1
answer
137
views
Change in Pam configuration
I have change the password policy to apply the same for root by "enforce_for_root" and for now it apply the password complexity on root yet after removing the "enforce_for_root" ...
0
votes
0
answers
97
views
Script in /etc/profile.d prevents me from logging in, is it possible to fix it?
OS: Zorin
I put a .sh script into /etc/profile.d to fix an issue I had with an application. The script was this
nautilus . &
killall nautilus
exit 0
Now when I try to log in, I just get returned ...
1
vote
1
answer
197
views
Can you run a program before the TTY login shows up?
I want to execute cmatrix in my TTY for when I connect my Raspberry Pi to a monitor by default. I found a .service file here, and I'm wondering if it could work in my case.
Again, I just want cmatrix ...
1
vote
1
answer
207
views
Errors when changing user
Every time I use su myName to change my user, I always get these 3 errors.
-bash: zstyle: command not found
-bash: autoload: command not found
-bash: compinit: command not found
It only happens when ...