My Oracle Support Banner

Oracle Linux: While Adding User by Using loginctl Utility, Getting Error Message "systemd[x]: Trying to run as user instance, but $XDG_RUNTIME_DIR is not set" (Doc ID 3030371.1)

Last updated on JUNE 24, 2024

Applies to:

Linux OS - Version Oracle Linux 7.9 and later
Linux x86-64
Linux x86

Symptoms

While adding the users by using loginctl utility, Getting error message:

Cause

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Symptoms
Cause
Solution


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.