Skip to main content

Questions tagged [systemd]

systemd is a boot sequencer and service manager for Linux systems, with optional facilities for network management, logging, session control and cryptography. It is used by a majority of desktop Linux users, as its adaptiveness to changing hotplug hardware, network connectivity and its support for sandboxing makes it attractive for workstation/laptop use.

0votes
1answer
45views

Where to set XDG_RUNTIME_DIR per user?

So I ran into the following interesting problem: I tried to define XDG_RUNTIME_DIR in my .bashrc as follows: export XDG_RUNTIME_DIR=$MY_HOME/.local/share After doing this I noticed my pactl cli ...
glades's user avatar
1vote
0answers
34views

gnome-wayland: unable to change $PATH at gnome-shell level

I can't change the PATH at gnome-shell level so I can execute programs in my ~/bin or ~/.local/bin folder. I can easily define other variables through ~/.config/environment.d/envvars.conf. The problem ...
Farid Cheraghi's user avatar
0votes
1answer
37views

systemd target with services, services ignoring EnvironmentFile directive

I have the following systemd .target: [Unit] Description=My Target After=network-online.target Wants=one-service@%i.service Wants=two-service@%i.service BindsTo=one-service@%i.service BindsTo=two-...
Kevin Huntly's user avatar
-1votes
0answers
29views

systemd service crashes on start

My systemd service is showing code= exit status=1/failure error. I am using proc application. Following is my systemd code. [Unit] Description=Systemd AQL quantities tool After=network.target [...
Vini Vinodan's user avatar
1vote
1answer
24views

Can't get custom systemd service to automatically disconnect and log-off Nord VPN session upon Linux system shutdown

I'm writing a systemd service to automate the process of gracefully disconnecting and logging-out of Nord VPN upon system shutdown. This service should run, regardless of whomever is the user ...
user729048's user avatar
1vote
2answers
63views

systemd-journald writes an average of 16MB per hour!

OS: Ubuntu MATE 24.04.2 LTS I added the system monitor to my top panel and noticed much disk activity. At first I thought the main 'culprit' was jbd2 -- Journaling Block Device. But jbd2 ("a ...
AlanQ's user avatar
0votes
1answer
36views

How do I keep Fedora to try to suspend my system when idle?

I have a Fedora Linux system under my desk at home. It runs the Workstation setup (with GNOME) even though it mostly is used headless. It is my file server (samba), mail server (dovecot, mailman) and ...
Lars Poulsen's user avatar
1vote
1answer
40views

Problems with systemd-logind & d-bus on a busy SFTP server

We recently upgraded a high volume CentOS 7 SFTP server running openssh/internal-sftp to Rocky Linux 8. However, since the upgrade we are experiencing login timeout issues after the server has been ...
drjeep's user avatar
0votes
1answer
26views

systemd nfs mount/automount unit with changing network environments

I have set up on my laptop a systemd mount and automount unit to mount a NFS share on demand. Naturally, this works as long as I am in the same network as the NFS server. If I leave my home network, ...
THX's user avatar
  • 327
0votes
3answers
74views

Arch Linux systemd-resolve not resolving dns

Hi I have a small desktop/home network that local applications aren't able to resolve dns on. For example: dig reddit.com ;; communications error to ::1#53: connection refused ;; communications error ...
user avatar
0votes
0answers
26views

make changes in [email protected] perist after upgrade (Debian 12) [duplicate]

On my headless home server I enabled autologin. I put ExecStart=-/sbin/agetty --autologin av --noclear %I $TERM in file /etc/systemd/system/getty.target.wants/[email protected]. Everything worked as ...
Anton Vakulenko's user avatar
7votes
2answers
943views

hostnamectl: source of Firmware Age

When I run hostnamectl command, I get this output: $ hostnamectl Static hostname: myhostname Icon name: computer-desktop Chassis: desktop šŸ–„ Machine ID: ...
user19315471's user avatar
0votes
2answers
54views

Can't get a systemd service to start in Fedora

I'm writing a systemd service that will literally do something "stupid," such as display an on-screen message at shutdown time, saying something such as "Thank you for using this ...
user729048's user avatar
0votes
0answers
27views

How can I globally delay non-critical systemd services on Ubuntu without modifying each unit individually?

I'm trying to improve my boot performance on an Ubuntu system by ensuring that only essential services—like those required for the GNOME UI—start immediately at boot. All other (non-critical) services ...
Jan's user avatar
  • 121
0votes
0answers
19views

Properly start desktop session for certain user on certain tty from root access

I have root access on my PC (Linux, systemd, ssh). I want to properly perform login and desktop start (wayland, plasma) for a few users, each on a specific virtual display (so users can switch with ...
avi9526's user avatar

153050per page
close