Searched defs:desktop (Results 1 - 5 of 5) sorted by relevance

/systemd/src/login/
H A Dlogind-session.h88 char *desktop; member in struct:Session
H A Dpam_systemd.c230 *class_pam = NULL, *type_pam = NULL, *cvtnr = NULL, *desktop = NULL; local
313 desktop = pam_getenv(handle, "XDG_SESSION_DESKTOP");
314 if (isempty(desktop))
315 desktop = getenv("XDG_SESSION_DESKTOP");
379 "uid="UID_FMT" pid="PID_FMT" service=%s type=%s class=%s desktop=%s seat=%s vtnr=%"PRIu32" tty=%s display=%s remote=%s remote_user=%s remote_host=%s",
382 type, class, strempty(desktop),
399 desktop,
H A Dloginctl.c298 char *desktop; member in struct:SessionStatusInfo
331 free(info->desktop);
428 { "Desktop", "s", NULL, offsetof(SessionStatusInfo, desktop) },
527 if (!isempty(i.desktop))
528 printf("\t Desktop: %s\n", i.desktop);
H A Dlogind-dbus.c576 const char *service, *type, *class, *cseat, *tty, *display, *remote_user, *remote_host, *desktop; local
597 r = sd_bus_message_read(message, "uusssssussbss", &uid, &leader, &service, &type, &class, &desktop, &cseat, &vtnr, &tty, &display, &remote, &remote_user, &remote_host);
622 if (isempty(desktop))
623 desktop = NULL;
625 if (!string_is_safe(desktop))
626 return sd_bus_error_setf(error, SD_BUS_ERROR_INVALID_ARGS, "Invalid desktop string %s", desktop);
814 if (!isempty(desktop)) {
815 session->desktop = strdup(desktop);
[all...]
/systemd/src/libsystemd/sd-login/
H A Dsd-login.c607 _public_ int sd_session_get_desktop(const char *session, char **desktop) { argument
612 assert_return(desktop, -EINVAL);
622 *desktop = t;

Completed in 25 milliseconds