Questions tagged [login]
Questions related to logging into a user session or shell, for example at the graphical login screen that normally appears at the end of the boot process
4,524
questions
574
votes
52
answers
1.3m
views
Ubuntu gets stuck in a login loop
My Ubuntu is stuck in a login loop when trying to enter my desktop. When I login, the screen gets black and soon after that the login screen comes back.
I've read that the problem might be caused by ...
183
votes
5
answers
368k
views
How to see Login history?
Is it possible to see the login history, i mean to see if someone has used the computer in my absence and when he used it .
if it is possible, where can i get the log ?
if not, is there a program that ...
181
votes
7
answers
261k
views
.bashrc not executed when opening new terminal
The code in .bashrc does not execute when I open a new terminal window in Ubuntu 12.04.
I noticed this when creating a .bash_aliases file. The aliases did not show up when I opened a new terminal. ...
96
votes
14
answers
304k
views
How do I enable auto-login in LightDM?
I want user foo to auto-login using LightDM (which has been used by Ubuntu since version 11.10). How would I do that?
91
votes
2
answers
74k
views
What are login and non-login shells?
It is said that settings for non login shell to go into .bashrc file and login shell settings to go into .profile file.
What is really meant by login and non-login shells?
Please explain without ...
90
votes
4
answers
274k
views
Login SSH with .ppk file on Ubuntu Terminal
I have a production server. To login to the server I must use a .ppk file.
How to login with Ubuntu Terminal and .ppk file?
I tried this :
ssh -i location/file.ppk username@server-ip
but it is ...
84
votes
5
answers
118k
views
Why are scripts in /etc/profile.d/ being ignored (system-wide bash aliases)?
I'm new to Ubuntu. I'm running 13.10 Desktop.
I wanted to set some system wide aliases and a custom prompt for bash. I found this article:
https://help.ubuntu.com/community/EnvironmentVariables
...
81
votes
3
answers
300k
views
Removing Guest Session at login in Ubuntu 14.04 [duplicate]
I recently installed Ubuntu 14.04 LTS it works fine but I want to remove the guest account login.
78
votes
8
answers
163k
views
How do I make a program auto-start every time I log in?
I frequently need to start several programs that I use every time I start my computer. How can I make it so that whenever I login the program is automatically launched?
71
votes
10
answers
77k
views
How to see the details which Ubuntu shows at the time of login anytime?
When I login to my ubuntu system, it show me this this message, How can I see it any time? I tried to run . .bashrc but it didn't worked.
Welcome to Ubuntu 12.10 LTS (GNU/Linux 3.2.0-24-virtual ...
71
votes
1
answer
195k
views
What is the .Xauthority file?
I had a problem wherein I couldn't get past the login screen in Ubuntu 12.04. Even though I gave the correct username and password, it still came back to the login screen. I found a solution wherein I ...
70
votes
4
answers
86k
views
How to disable welcome message after SSH login?
I have changed /etc/issue.net, so I have set a "personal" message after typing a username in an SSH terminal. Now I am trying to change the welcome text after successful login.
I have found a lot of ...
70
votes
1
answer
108k
views
Why is /etc/profile not invoked for non-login shells?
Login and non-login shell defined as:
su - $USER # will give you a login shell
bash # will give you a non-login shell
/etc/profile is not invoked for non-login shells, such as when you start konsole ...
67
votes
1
answer
58k
views
Where does the System Information information come from on login?
I have a local server running Ubuntu 10.04 headlessly.
When I ssh to the server I get some core information about the system, such as
System load: 0.0 Processes: XXX
Usage ...
67
votes
1
answer
180k
views
How to run a command at login? [duplicate]
I need to run the following command (with real parameters) after login:
ssh -f [email protected] -L 54321:example.com:54321 -N
I need it only for my user, not all users on the machine. Also, I need ...
63
votes
5
answers
66k
views
Differentiate Interactive login and non-interactive non-login shell
I'm trying to differentiate these four terms login, non-login, interactive and non-interactive:
interactive - login shell
interactive - non-login shell
non-interactive - login shell
non-interactive - ...
62
votes
3
answers
5k
views
Is it possible to login by voice recognition?
Although I like face recognition, I'd prefer to use voice recognition login. Is it possible? If it's possible how do I setup the software?
59
votes
2
answers
11k
views
Why does Ubuntu have a disabled root account?
Ubuntu disables root login for "security reasons". However it seems to me that it doesn't help with security at all.
If an intruder manages to get your login password for Ubuntu, then he also has the ...
55
votes
1
answer
69k
views
Use fingerprint authentication not only for login
I'm on 18.04 and have successfully enabled fingerprint login. I would like to use my fingerprint not only to login but if possible also to:
Authenticate in the terminal when I do a sudo command
...
55
votes
3
answers
54k
views
Sequence of scripts sourced upon login
I would like to concentrate all my login config in my ~/.bash_profile. There was a ~/.bashrc there by default but I replaced it with a ~/.bash_profile.
However, when I log in, something before my ~/....
52
votes
3
answers
115k
views
Modify the SSH welcome message to include system IP address
I have had a couple of occasions where I was unable to remember the IP address for a given system but was, at the time, able to connect using the hostname. As an example, just now I wanted to set up ...
51
votes
6
answers
80k
views
Why is /etc/profile not being loaded during non-login bash shell sessions?
For 11.04, I did a fresh install of my system. Part of that install was to install rvm, which sticks a rvm.sh in /etc/profile.d/. This doesn't work as /etc/profile (which loads each +r in /etc/profile....
50
votes
1
answer
144k
views
How do I get the list of the active login sessions?
Nov 9 17:55:46 swi007 systemd-logind[927]: New session 27 of user
swi007.
I want to see the list of active login session in ubuntu server and would like to close the specific session in my server....
49
votes
2
answers
18k
views
Authentication Failure Switch to greeter
I'm experiencing a very annoying problem on Ubuntu 18.04.
Whenever my laptop resumes after being suspended I'm completely unable to login and get the error;
Authentication Failure Switch to greeter
...
46
votes
10
answers
130k
views
Ubuntu 16 Stuck in Login Loop after Installing Nvidia 364 Drivers
This didn't start out as a problem with the login loop. I was attempting a clean install of Ubuntu 16 and using the new feature that allows it to detect proprietary drivers for me.
I started off ...
45
votes
4
answers
257k
views
How do I boot into the console and then launch the Ubuntu desktop from it?
At the Ubuntu login page I have to hit Ctrl+Alt+F1 to be able to login as an user using the command line.
But how do I get to the command line first and then start the Ubuntu desktop from it?
45
votes
2
answers
47k
views
Force the user to change their password at first login
When I add a new user to my system I set a password and tell it to the new user. If the user doesn't like it, he/she can change it. However in my opinion it is better to force the user to change his/...
43
votes
8
answers
122k
views
Ubuntu 18.04/20.04 LTS on Virtualbox boots up, but black login screen
I'm running Ubuntu Desktop 18.04/20.04 LTS as a guest in Virtualbox on a Windows 10 host with multiple physical screens connected to the host. Every time I boot the Ubuntu VM it comes to a black ...
39
votes
5
answers
43k
views
Why do I have a "libvirt qemu" account in Lock/Switch account options in Ubuntu 16.04?
Is "libvirt qemu" provided by Ubuntu 16.04 officially, or did I do something wrong/right?
$ grep -E 'libvirt|qemu' /etc/passwd"
libvirt-qemu:x:64055:134:Libvirt Qemu,,,:/var/lib/libvirt:/bin/false
...
39
votes
12
answers
122k
views
Can't login after Nvidia driver install v 14.04
I successfully installed drivers to run the Nvidia 750 Ti graphics card in my desktop. Ubuntu ran perfectly for a short time after that. Then, the update manager prompted me to install some updates. I ...
38
votes
4
answers
12k
views
TTY doesn't wait for password
I upgraded from 16.04 to 18.04. When I press Ctrl+Alt+F3 I get the terminal which prompts for the username. When I type my username and press Enter, it doesn't wait for my password (its as if I ...
37
votes
17
answers
513k
views
SSH error: Permission denied, please try again
I have an Ubuntu server setup using amazon ec2 instance. I need to connect my desktop (which is also a ubuntu machine) to the ubuntu server using SSH.
I have installed open-ssh in ubuntu server. I ...
37
votes
4
answers
116k
views
How to configure lightdm to allow manual logins in Ubuntu 14.04
I used to modify /etc/lightdm/lightdm.conf, adding the line greeter-show-manual-login=true, in order to allow login for hidden users and root.
Now I've just installed the new Ubuntu 14.04 and the ...
35
votes
10
answers
81k
views
I am logged out immediately after logging in
After I log in to my user account on Ubuntu 13.04, I get automatically logged out after 1 second of black screen. This happens only with 1 specific user, and I can log in to another account fine.
...
34
votes
7
answers
41k
views
How can I display my machine's IP address on a TTY login screen?
The server I administrate has a dynamic IP address assigned by DHCP, which is inconvenient. When I want to SSH into it, I have to first log in by hand and use ifconfig to find its current IP address. ...
34
votes
5
answers
96k
views
What is the default username for Amazon AMI images of Ubuntu Server?
I just launched one of the Ubuntu Server AMI's on Amazon EC2.
I connect just fine, but I don't see anything to tell me the default login credentials.
login as: ?
32
votes
2
answers
142k
views
Using Fingerprint reader in 16.04
I have a Dell laptop with fingerprint reader inbuilt. I just ran lsusb on terminal and got the following result:
Bus 002 Device 003: ID 138a:0011 Validity Sensors, Inc. VFS5011 Fingerprint Reader
...
32
votes
3
answers
12k
views
After adding a group, logout+login is not enough in 18.04?
In ubuntu 18.04 with default desktop, behaviour of logout/login has changed:
Previously on an Ubuntu system, when I find that I need to add my user id to some group, it was sufficient to
sudo ...
32
votes
1
answer
13k
views
How do I replace the desktop by an application?
Sometimes it may be needed that a user only has access to a certain application. Running the desktop environment then may be unwanted be it either for security reasons or for acchieving a better ...
31
votes
6
answers
13k
views
Inhibit ESM messages at login
I would like to inhibit the generation of the following messages when I ssh into my machine
Expanded Security Maintenance for Applications is not enabled.
Enable ESM Apps to receive additional future ...
31
votes
6
answers
122k
views
How do I make Ubuntu not ask me for my password?
I'm confident that I do not need a password for my computer. How do I remove passwords for things like when the screensaver activates and installing software?
30
votes
6
answers
323k
views
Can't Login to my Server via SSH, and the password is correct
I'm using Linode, and I've asked around on the IRC channels, but no one seems to know. I've logged into my server via LISH (reference), and I used the correct password, and everything went fine. ...
30
votes
1
answer
109k
views
Freeze after login Ubuntu 18.04 [duplicate]
Before the upgrade I was using gnome on Ubuntu 16.04 with lightdm and it worked fine. After upgrading to Ubuntu 18.04 I switched to gnome gdm3. On the first day I could login to my user account, ...
29
votes
3
answers
42k
views
How to remove session entries from LightDM?
I recently added Cairo Dock to my GNOME Shell in 11.10. Cairo Dock is GREAT, but I'm left with one little problem that I'd like to fix: after installing Cairo Dock, LightDM includes two extraneous ...
29
votes
12
answers
93k
views
Can't log in on Ubuntu 20.04
I've just installed Ubuntu 20.04 on my PC (this is a completely clean install) and I've had nothing but problems. Firstly it would keep booting into GRUB and absolutely nothing in BIOS settings fixed ...
29
votes
8
answers
92k
views
How to Setup FTP to use in locally hosted wordpress
I have installed wordpress on my ubuntu 10.10 desktop edition and I am trying to install plugin from the browser (I know I can drop it to the wp-content/plugin but I want to do it via the web browser ...
29
votes
2
answers
54k
views
What does "System information disabled due to load higher than 1.0" on boot indicate
I've been running a 14.04 installation on an old Dell machine for a few months without issue, but decided to add another larger disk drive, and reinstall. I removed an unneeded floppy drive in the ...
28
votes
5
answers
134k
views
Can't login to Ubuntu 16.04 after upgrade
I installed Ubuntu 16.04 (dual boot with Win 10) and it doesn't login after.
I upgraded from Ubuntu 15.10 via update-manager
I have tried old workarounds for previous versions, like:
dpkg-reconfigure ...
28
votes
5
answers
127k
views
Can't login to Ubuntu 14.04 after upgrade
I have a problem that i never seen before. I upgraded my Ubuntu 12.04 64bit to 14.04 using the following command:
$ sudo update-manager -d
After that I can't login to my user account, when I log it ...
27
votes
2
answers
173k
views
How to get the list of all users who can access a server via ssh?
How can I get the list of all the users who can ssh to a server via ssh [email protected] ?
Please note that I'm aware of this question and that is not doing what I want!
If it helps the server ...