Questions tagged [systemd-logind]

a system service that manages user logins

Filter by
Sorted by
Tagged with
2
votes
0answers
22 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....
-1
votes
0answers
46 views

Has my computer been hacked?

there.I found some strange logs in my computer(Ubuntu 18.04),and it happens frequently even if my screen is locked and nobody is using the computer.The same log appears every second. Nov 25 00:09:41 ...
1
vote
1answer
121 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
2answers
78 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, ...
0
votes
0answers
33 views

Unexpected interaction between logind seats and GDM

I have been using a multiseat configuration in an old stable 16.04. Setting up was tricky but I was finally successful. The other day, I decided to make a HW upgrade + OS upgrade. However, I realized ...
1
vote
1answer
122 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 ...
1
vote
1answer
35 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 ...
0
votes
0answers
84 views

systemd-logind ignores config until manually restarted

I have a system running Ubuntu 18.04 that I am trying to control the shutdown process using acpi. Unfortunately, systemd-logind is also handling the power button and cutting the acpi script short. I ...
0
votes
0answers
32 views

Cannot log in to ubuntu 18.04 [duplicate]

So I have a very customized UBUNTU GNOME system, which runs the latest version, Bionic Beaver. I have been using it for a while, and up until yesterday, it was working fine. Then, when I booted up to ...
4
votes
0answers
761 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
0answers
284 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
4answers
957 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 ...
1
vote
1answer
1k 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
0answers
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
1answer
922 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
0answers
207 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
1answer
782 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 ...
2
votes
0answers
1k 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" from ...
1
vote
0answers
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
2answers
1k 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
1answer
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
1answer
186 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
1answer
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 ...
32
votes
2answers
29k 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 ...
10
votes
2answers
3k 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
1answer
112 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
1answer
3k 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
1answer
467 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
3answers
485 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
1answer
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
0answers
616 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
2answers
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
0answers
696 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'...
6
votes
0answers
3k 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
2answers
5k 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
2answers
2k 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
0answers
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
1answer
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
1answer
3k 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-...