Questions tagged [systemd-logind]
a system service that manages user logins
48
questions
0
votes
0
answers
48
views
Black screen with nouveau error message after idle
My system was idle and when I came back to the screen I see this.
The entire screen is black with the below text.
This is not the first time I have seen this. The fffffffff goes on forever until I ...
0
votes
0
answers
109
views
Notebook Screen Black after boot, works after restarting systemd-logind.service (NVIDIA RTX 3070, Ubuntu 18.04)
I am in despair. I got a Lenovo notebook with a 11th gen i7 and a RTX 3070 and tried to install Ubuntu on it. Originally Windows was installed but the notebook has to be used with ROS and therefore ...
0
votes
0
answers
5k
views
Failed to activate service 'org.freedesktop.systemd1': timed out after apt upgrade
When I run my regular
$ sudo apt update && sudo apt full-upgrade -y && sudo apt autoremove
I get
...
After this operation, 0 B of additional disk space will be used.
Setting up clamav-...
1
vote
0
answers
265
views
systemd-journald[290]: Failed to rewrite entry(22 items, 735 bytes); ignoring: Read-only file system
I am on dual boot Ubuntu 20.04. After I login (enter password and press enter key), a blank screen flashes followed by the non-stop chain of the following message scrolling.
message:
systemd-journald[...
1
vote
0
answers
201
views
Ubuntu 18.04 Desktop Freezing (Mouse moves but unresponsive)
Lately my Ubuntu 18.04 desktop machine has been freezing. I can still move the mouse around, but clicking doesn't do anything, and no keyboard commands are recognized. It will not response to Ctrl-Alt-...
2
votes
1
answer
1k
views
Getting Ubuntu to do nothing when laptop lid is closed
My cat likes to chew on my laptop's keys whenever I leave the room. Closing the laptop prevents this problem, but it logs me out and its a pain to log back in, especially when background tasks are ...
0
votes
1
answer
626
views
Ubuntu 20.04. laptop closed lid issue
I am solving a minor issue with my Ubuntu 20.04. Focal fossa.
This might be relevant for all users using a laptop closed aside with an external display.
Whenever I shutdown or reboot the computer (...
0
votes
1
answer
69
views
CPU useage spikes when I unplug external monitor
I am dual booting ubuntu 20.04 desktop on my mid 2012 macbook pro. I'd like to run it as headless server with the lid closed. To try to do this I set systemctl default to multi-user, disabled gdm, and ...
0
votes
0
answers
219
views
Ubuntu 20.04 logind.service not found
/etc/systemd/logind.conf is being ignored. I tracked it down to the fact that logind.service is not running. When I:
systemctl start logind.service
The response is:
Failed to start logind.service: ...
6
votes
2
answers
5k
views
Lockdown: systemd-logind: hibernation is restricted; see man kernel_lockdown.7
Few days back, I ran dmesg on my terminal to see this line Lockdown: systemd-logind: hibernation is restricted; see man kernel_lockdown.7
Sometimes, as in the image below, the kernel ring buffer only ...
0
votes
0
answers
355
views
No logind.conf file in /etc/systemd/ in Ubuntu 20
My laptop does not suspend when I close the lid. Instead, when I open it, it freezes for around 5 seconds and continues working without asking for a password. So I checked online for a solution but ...
1
vote
1
answer
2k
views
Disabling extra tty
When I boot my system, I have 6 tty (agetty). I want to keep tt1 and disable the other ones, ie tty[2-5]. How to disable all tty but tt1?
My system is a Ubuntu 18.04 which I customized to be lighter.
...
8
votes
2
answers
3k
views
GNOME: supend on laptop lid close no longer works since 19.10 upgrade
I'm quite positive that this used to work flawlessly in 19.04 (and past releases) but no longer does after a release-upgrade to 19.10 (kernel 5.3.0-24, ThinkPad X1 Carbon gen 5 in case this matters).
...
2
votes
0
answers
564
views
System login.service failed on ubuntu 18.04LTS
The system was running perfect until i try to start it today and it shows this problem "system login.service failed". then it shows to run the following command "systemctl status systemd-logind....
3
votes
1
answer
6k
views
Xubuntu: black screen after lock screen (light-locker, lightdm, logind, xfce4-power-manager)
Dear Xubuntu community,
Sorry for a long question but I spent some time trying to debug the issue. I want to comprehensively present actions I tried, and would also like to receive a canonical answer ...
2
votes
3
answers
1k
views
How to debug black screen after logging in with NVidia drivers that strangely fixes itself at random times?
I'd like to describe my Nvidia woes of the past few days here in hopes someone can help me diagnose a problem with the Nvidia drivers.
background
TL;DR
I started having this issue on Ubuntu 17, ...
4
votes
2
answers
2k
views
How can I fix nohup, byobu, tmux, screen, etc to not die when I disconnect from SSH?
I'm running KDE Neon which is Ubuntu 18.04 Bionic (LTS) with the latest KDE desktop packages on top of it.
Since upgrading to this from Xenial I have lost the ability for processes to survive SSH ...
2
votes
1
answer
169
views
Where should I put a script to put my monitor into standby?
Acquired a great Samsung HDMI TV/monitor that doesn't go into standby when the signal is dropped. I've acquired a Pulse Eight CEC command injector, and worked out how to turn the monitor off/on from ...
6
votes
1
answer
1k
views
Disable screen on lid close but don’t sleep
In Ubuntu 18.04 server I want to be able to shut the lid of my laptop and have the following happen:
The screen turns off.
The laptop itself keeps running and does not go to sleep.
If I set this in /...
1
vote
0
answers
701
views
logind.conf change automatically to default values
My laptop recently did not go to sleep mode when I close the lid. So I looked /etc/systemd/logind.conf file and configuration was #HandleLidSwitch=ignore. Then I uncommented it and change the value to ...
6
votes
4
answers
2k
views
Automatic logout when resuming from suspend on Xubuntu 18.04
When my Xubuntu 18.04 laptop resumes from suspend, systemd-logind automatically logs out of the current session if the laptop has stayed suspended for more than a couple of hours. If the interval ...
2
votes
1
answer
3k
views
Getting X Display on Ubuntu 18.04 (works on 14.04)
On Ubuntu 14.04, I run following command to get DISPLAY server value for user johndoe
loginctl show-session $(loginctl -a show-user johndoe | grep Display | sed 's/Display.//g') | grep Display
and ...
1
vote
0
answers
1k
views
Ubuntu 18.04 + Dell XPS 9360 = Suspension doesn't work when I close the lid [duplicate]
I upgraded to 18.04 after 16.04 had no way to make the touchpad work.
The only issue with 18.04 is that when I close the lid (with or without external monitor) the laptop does not suspend.
How can ...
1
vote
1
answer
3k
views
systemd-logind uses 80-90% CPU [closed]
After logging in, cgmanager and systemd-logind use about 80-90% CPU.
I killed cgmanager, now systemd-logind is using 80-90% CPU.
My system is Ubuntu 14.04.05 LTS.
Is this a bug?
1
vote
0
answers
216
views
Under Gnome Shell (17.10 or 18.04), how do I control automatic poweroff on low battery?
I'm unclear on the way automatic actions (eg shutdown) are taken under systemd / gnome shell, and the way o configure them.
How do UPower / systemd-logind / tlp / ??? work together, and how do I set ...
0
votes
1
answer
1k
views
How to enable user's systemd timers and services for Grive2?
I have installed Grive2 console client for Google Drive with the following steps:
sudo add-apt-repository ppa:nilarimogard/webupd8
sudo apt-get update
sudo apt-get install grive
Then I created ...
1
vote
0
answers
2k
views
Ubuntu 17.10 not booting up anymore
I upgraded Ubuntu to 17.10 a few days ago and everything worked. Now without apparent reason (probably due to some recent updates) the system won't boot up anymore.
If I remove "quiet splash"...
1
vote
0
answers
238
views
systemd-logind[1439]: Failed to enable subscription: Launch helper exited with unknown return code 1 [duplicate]
I'm getting a black screen of death. The only way around it is booting upstart. VirtualBox, uninstalled guest additions.
-1
votes
2
answers
2k
views
17.10 ldap - client cannot connect to server and stays in boot loop
How to fix a LDAP client installation in Ubuntu 17.10, which was working fine in Ubuntu 16.04?
With the following configuration Ubuntu 17.10 will hang in a boot loop, so you will not even have a ...
5
votes
1
answer
2k
views
How to set the close-laptop-lid-action?
In Ubuntu versions before Gnome Shell, I could set what I wanted to happen when I close the laptop lid depending on whether the laptop is connected to power or not.
Now the default is standby which I ...
3
votes
1
answer
219
views
Guest Login Vulnerability (CVE-2017-8900) - 16.04 is still using upstart?
I recently read about a login screen vulnerability that affected 16.10 and 17.04, but not 16.04. Apparently the reason for this is that 16.04 still uses Upstart to handle the user session, whereas the ...
0
votes
1
answer
2k
views
ubuntu 16.04 can't start GUI
I use command sudo shutdown now to shutdown the ubuntu 16.04 yesterday, but I found it's take too long to finish the shutdown process(about 3-5 minutes), so I forced physical shutdown it by power ...
45
votes
2
answers
44k
views
How to activate hibernation in 16.04.1 ? (systemd)
I have a fresh install of 16.04.1 on a Lenovo T450s that always worked fine with respect to suspend/hibernate on Ubuntu (previous version I used was 14.04.5). Swap is comfortably bigger than RAM on ...
11
votes
3
answers
5k
views
Kernel suspends too quickly, upon resume continues suspend tasks
Jun 29/2019 Update
From deleted answer below (poster didn't have enough reputation points to post a comment), a bug report was filed in Kernel.org Bugzilla:
Bug 203791 - s2idle is happening before ...
1
vote
1
answer
120
views
Dual Boot Freezing Before or After Login
I dual boot Ubuntu 16.04 LTS with Windows 10. The installation of 16.04 seemed to go really well, and I've gotten everything set up the way I like, but I'm having a couple of weird bugs that are ...
5
votes
1
answer
4k
views
How to use "systemd --user" instance?
I have an executable I'd like to run as a user and that user should be able to start and stop that service without sudo.
I have systemd --user always running for the user by running loginctl enable-...
2
votes
1
answer
799
views
How to try hibernation and shutdown afterward in case it failed on power button press?
I've found how to hibernate on power button press with logind:
HandlePowerKey=hibernate
in /etc/systemd/logind.conf
But can I make it somehow execute something like
# pm-hibernate || shutdown -h
?...
14
votes
3
answers
967
views
How to prevent auto-pausing processes in an inactive user session?
For a while now when I switch between two user sessions the inactive one in some cases will stop executing GUI processes. This way I'm forced waiting for another session to load and can't do something ...
0
votes
1
answer
2k
views
How to disable systemd-logind from handling lid close actions?Ubuntu 15.04
I want do disable logind from handling lid close actions, because my MacBookAir uses sometimes 45 seconds to suspend after closing lid. I have diabled this in settings editor in Xubuntu before, and ...
1
vote
0
answers
658
views
Ubuntu emulator won't boot up on Ubuntu 15.04
I created an Ubuntu emulator using the device creator in the Ubuntu-SDK using the i386 architecture, stable and default password. When I try to run it using the terminal I get the usual output as it ...
0
votes
2
answers
3k
views
Start problem in ubuntu 15.04
I have this problem with my pc:
[ 0.545187]ACPI PCC PROBE FAILED. STARTING VERSION 219
[ 240.096017] INFO: task systemd-udev:376 blocked for more than 120 seconds.
[ 240.096060] Not tainted ...
1
vote
0
answers
759
views
How to setup LightDM mutiseat with logind
I have tried to setup a multiseat environment for my mediacenter (VT7: Kodi Autologin, VT8: XBMC Autologin) since Utopic. It didn't work there, so I assumed a bug. Now I retried with Vivid, still wasn'...
8
votes
0
answers
6k
views
Logind.conf HandleLidSwitchDocked
I've been trying to do a clamshell mode setup for my computer and I've seen many suggestions to use HandleLidSwitch=ignore. However this is not really what I want to do since I only want to keep the ...
2
votes
2
answers
6k
views
Recovery from user@1000service error
My system crashed. When I rebooted the disk check reported errors. I asked it to fix the errors. My system will now not boot to login in graphics mode.
After the screen flashes I see
saned ...
1
vote
2
answers
3k
views
Systemd, cgroup, and LXC
After much trial and error, I was finally able to get Spice working in a Fedora LXC container under Ubuntu 14.04. However, the same can't be said of an Ubuntu 14.04 container. It appears that the ...
2
votes
0
answers
2k
views
snd_hda_intel fails to load and black screen after delay
two days ago I modprobe -r snd_hda_intel and modprobe it back. Today I got a black screen after a certain delay when loading lightdm.
Here's the message in dmesg:
[...]
[ 47.313515] snd_hda_intel ...
2
votes
1
answer
2k
views
Power button in Lubuntu 13.10 will not suspend
I made the upgrade on my Lubuntu machine to 13.10 yesterday. Everything seemed to go smoothly except one niggling thing I can't seem to fix. Previously, I had set the power button to suspend my ...
4
votes
1
answer
4k
views
How to create a new logind session while running xinit from the console?
My current system boots to console and I do not want to use a display manager.
After updating to Ubuntu 13.10, I realised that the ConsoleKit is no longer used for managing user logins and systemd-...