[systemd-devel] Assistance Needed with 'loginctl list-users' Command Display Issue

Mantas Mikulėnas grawity at gmail.com
Tue Feb 13 05:52:35 UTC 2024


Also, if you're using a terminal that doesn't recognize OSCs (it should
just ignore unknown ones), export SYSTEMD_URLIFY=0 to disable the hyperlink
feature that's making a mess out of systemctl output.

On Tue, Feb 13, 2024, 06:53 Sangeetha Elumalai <sangeethaeng2017 at gmail.com>
wrote:

> Hi,
>
> The* 'loginctl list-users'* command isn't displaying the user list. I
> would appreciate any suggestions on resolving this issue. Do I need to
> enable any specific service for this functionality?
>
> Here are the logs:
> ```
> # who
> root     ttyS0        Feb 15 19:12
> #
>
>
> # loginctl list-users
> No users.
> #
>
> # loginctl list-sessions
> No sessions.
> #
>
> # systemctl status systemd-logind
> �● systemd-logind.service - User Login Management
>      Loaded: loaded
> (8;;file://beagleboneblack/lib/systemd/system/systemd-logind.service/lib/systemd/system/systemd-logind.service8;;;
> static)
>      Active: active (running) since Wed 2023-02-15 19:12:10; 11 months 27
> days >
>        Docs: 8;;man:sd-login(3)man:sd-login(3)8;;
>
>  8;;man:systemd-logind.service(8)man:systemd-logind.service(8)8;;
>              8;;man:logind.conf(5)man:logind.conf(5)8;;
>
>  8;;man:org.freedesktop.login1(5)man:org.freedesktop.login1(5)8;;
>    Main PID: 135 (systemd-logind)
>      Status: "Processing requests..."
>       Tasks: 1 (limit: 1060)
>      Memory: 632.0K
>         CPU: 482ms
>      CGroup: /system.slice/systemd-logind.service
>              �└�─135 /lib/systemd/systemd-logind
>
> Feb 15 19:12:06 beagleboneblack systemd[1]: Starting
> systemd-logind.service...
> Feb 15 19:12:10 beagleboneblack systemd-logind[135]: New seat seat0.
> Feb 15 19:12:10 beagleboneblack systemd[1]: Started systemd-logind.service.
> #
> ```
>
> Thank you,
> -Sangeetha
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/systemd-devel/attachments/20240213/e79eec0d/attachment.htm>


More information about the systemd-devel mailing list