Skip to main content

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

Filter by
Sorted by
Tagged with
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 ...
Calvin Wahlers's user avatar
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?
htorque's user avatar
  • 65.1k
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 ...
pranphy's user avatar
  • 1,618
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?
Marco Ceppi's user avatar
  • 48.3k
17 votes
3 answers
34k views

I can't boot into a usable system after updates. What should I do?

Since some system updates, my machine can no longer boot properly. I am no Ubuntu guru. I do not have a week to spare diagnosing the issue. I just want to retrieve important data from this machine's ...
Jjed's user avatar
  • 13.9k
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 ~/....
amphibient's user avatar
  • 1,277
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 ...
Baruch's user avatar
  • 782
24 votes
10 answers
135k views

ubuntu 14.04 login loop problem

My Ubuntu 14.04 is stuck when trying to login my desktop. The screen goes black and soon after that the login screen comes back. I followed all steps in Ubuntu gets stuck in a login loop but the ...
Anitha's user avatar
  • 341
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 ...
Drew's user avatar
  • 851
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 ...
MoMo's user avatar
  • 561
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 ...
Lexalt's user avatar
  • 413
23 votes
6 answers
62k views

Cannot login to my user account

I upgraded my ubuntu from 11.04 to 11.10 via mounting the latest alternate CD image released on Oct. 13 as the final standard version and running the cdromupgrade prompt successfully, with full latest ...
yihfei's user avatar
  • 231
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 ...
user227495's user avatar
  • 4,149
25 votes
4 answers
124k views

Fingerprint Activation on Ubuntu 18.04

I have a HP Elitebook 2530P. I have a problem to activate the fingerprint sensor for the login. can anybody help me? I use Ubuntu 18.04
Flen- Tiix's user avatar
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 ...
Bob's user avatar
  • 871
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 ...
Ludwig Schulze's user avatar
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 ...
cesar.rickinho's user avatar
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?
doYourBit's user avatar
  • 461
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 ...
Takkat's user avatar
  • 143k
10 votes
10 answers
76k views

Login screen loops unless you login as Guest [duplicate]

I am running a VMWare Player with a Ubuntu 12.04 LTS Precise Pangolin as Guest on my Windows 7. Sometimes I get the shutdown blue screen error in Windows, this time it happened when I was running the ...
Mário Silva's user avatar
22 votes
10 answers
22k views

Long wait time on login

When I log in on my server I get this: No mail. Last login: Fri Nov 5 14:22:45 2010... then I must wait for 5 sec and then is ready... wolfy@ubuntu-server:~$ Is this wait time normal or should I ...
Wolfy's user avatar
  • 7,950
12 votes
2 answers
34k views

Ownership of .Xauthority transferred to root

Somehow, while playing around with LightDM and Webkit Greeter, the ownership of the .Xauthority file in my home dir was given to the root user and I couldn't login because I hadn't the privilegues to ...
s3lph's user avatar
  • 14.4k
9 votes
1 answer
9k views

How to make ubuntu 14.04 a kiosk [duplicate]

I have made a clean install of Ubuntu 14.04 LTS Desktop and now want's to convert it into a kiosk with a full screen webbrowser. This was previously done in 10.04 and worked perfect, but due to ...
Thomas's user avatar
  • 103
8 votes
3 answers
13k views

Laptop using 14.04 won't get past login GUI

My laptop was working perfectly yesterday, and now today I can't log in. At first, I was only getting a black screen. However, after following instructions in some questions here on AskUbuntu, I ...
Questioner's user avatar
  • 6,869
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 ...
Dzero's user avatar
  • 3,188
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 ...
chanHXC's user avatar
  • 1,053
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 - ...
d a i s y's user avatar
  • 5,511
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, ...
L. Klimas's user avatar
  • 303
26 votes
2 answers
86k views

How can I get autologin at startup working on Ubuntu Server 16.04.1?

I have a problem with autologin at startup in Ubuntu Server 16.04.1 LTS. I use this server only for listening internet radio so I do not care about security. I was able to create a bash script to ...
Tomek's user avatar
  • 263
22 votes
5 answers
23k views

I deleted the "/etc/passwd" file and cannot log in

I was trying to change my username and also my home directory (/home/username) and my system started to crash. I deleted the passwd file but I had a backup named passwd_bkp. I tried to rename this ...
joao rodrigo leao's user avatar
13 votes
4 answers
22k views

Login loop with fresh 19.10 install

So I installed 19.10 fresh from USB. I picked no login required. First reboot after install I'm welcomed inside Ubuntu. But second time I'm prompted to login for no reason. Worst part is that i ...
Huux's user avatar
  • 341
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 ...
DUKE's user avatar
  • 3,368
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?
fent's user avatar
  • 413
10 votes
0 answers
5k views

How to disable login sound? [duplicate]

Possible Duplicate: How do I disable the drum beat sound on the login screen? How do I disable the login sound? I have tried all guides on the internet I can find, but they are for previous ...
Sumire's user avatar
  • 101
10 votes
1 answer
75k views

Ubuntu stuck on login screen [duplicate]

I have a small issue with my Ubuntu (I think After an upgarde). When I try to login (Login Screen), I get disconnected and get back to the screen (again & again). I tried: Trying to login with ...
Jesus's user avatar
  • 103
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 ...
TellMeWhy's user avatar
  • 17.6k
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 ...
Zachary Landry's user avatar
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 ...
Java Jedi's user avatar
  • 281
24 votes
4 answers
20k views

"♦: command not found" in tty after login

I have this problem after upgrade Lubuntu from 12.10 to 13.04. I press Ctrl + Alt + 1, enter login, password, wait two seconds and get: ♦: command not found". After this message I can type commands ...
Vitaly Zdanevich's user avatar
13 votes
3 answers
32k views

No password asked at login screen just start session button with LightDM

When I first installed Ubuntu I choose NOT to ask me for a password at login. That was ok for that moment cause it didn't ask me any password at login. But now I want to be asked for a login password. ...
Ubu's user avatar
  • 381
11 votes
5 answers
102k views

Ubuntu 14.04 LTS crashes after login [closed]

Decided to upgrade to the new LTS today, so I backed up my data and created a live usb with unetbootin and wiped my drive clean. Install was a little clunky but everything seemed to go just fine. ...
user208795's user avatar
10 votes
3 answers
11k views

Login loop after upgrading to 19.04

I used the built-in upgrader to upgrade to 19.04 today, and I'm now stuck in a login loop. I have tried many solutions from forums, but nothing has worked. Is there something I'm missing or anything ...
Emil Smith's user avatar
7 votes
1 answer
9k views

Sudo is also user login password - why? how to change?

When installing Ubuntu I can create a user with an encrypted folder, what I always do. Now after the installation the login password for this user is also the sudo password. Is that how it should be? ...
silla's user avatar
  • 268
6 votes
2 answers
24k views

Local ubuntu desktop cannot login after logging in remotely via Xrdp session

I login remotely to my PC (Ubuntu 18.04, XRDP 0.9.5) from my laptop (Windows 10) using windows remote desktop. Once I have logged in remotely to Ubuntu, I cannot login locally to it (for times when I ...
John Bolton's user avatar
6 votes
4 answers
12k views

Lock screen - password incorrect

I have upgraded Ubuntu to 12.04 and now I have a problem in logging in after locking the screen: it says the password is incorrect even though I provide the valid password. I found a temporary ...
seferov's user avatar
  • 227
5 votes
3 answers
11k views

Can't log in to Ubuntu 19.10, freezes upon Ctrl+Alt+F3

I recently upgraded to 19.10 from 19.04. Everything appeared to work correctly, however just last night I did a apt update/apt upgrade and some kernel updates occurred. Now when I get to the login ...
Sam Coulter's user avatar
5 votes
3 answers
2k views

another login loop problem

Since last week I'm also faced with the endless-loop problem using ubuntu 14.04.3 (installed in dual-boot on HP 840 EliteBook). Upon login the screen turns black and returns to the login interface.I ...
PTler's user avatar
  • 81
4 votes
1 answer
10k views

Run simple bash script to start applications at login

I want to run a simple bash script automatically when I log in. For example #!/bin/bash echo "start spotify" gnome-terminal -e spotify --title spotify When I run this command, one gnome-terminal ...
ganjan's user avatar
  • 505
2 votes
1 answer
3k views

Nautilus can set desktop wallpaper. How can it set login and lock screen wallpaper?

In Nautilus there is a menu option to use the current image as desktop wallpaper: How can I use the current image as wallpaper for the Login screen and Lock screen?
WinEunuuchs2Unix's user avatar
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 ...
Andhika Maheva Wicaksono's user avatar

1
2 3 4 5
13