curto: não exatamente
long: esta é uma variável de ambiente que pode ser definida para ConsoleKit . De acordo com sua documentação,
ConsoleKit is a framework for keeping track of the various users, sessions, and seats present on a system. It provides a mechanism for software to react to changes of any of these items or of any of the metadata associated with them.
e continua dizendo
A session is a collection of all processes that share knowledge of a secret. In the typical (or ideal) case, these processes all originate from a single common ancestor.
As an implementation detail, for now, this secret should be stored in the process environment by the session leader under the name
XDG_SESSION_COOKIE
. When and if we are able to take advantage of a mechanism in the underlying system to store session registration information - we will. However, such a mechanism is not known at the present time.
Lembrando que a pergunta foi feita no início de 2014, a página do ConsoleKit diz (última atualização em setembro de 2013)
ConsoleKit is a framework for defining and tracking users, login sessions, and seats.
ConsoleKit is currently not actively maintained. The focus has shifted to the built-in seat/user/session management of Software/systemd called systemd-logind!
Por sua vez, systemd-logind
diz
systemd-logind
is a system service that manages user logins.
Não está relacionado a DISPLAY
, mas sim a autenticação necessária para se conectar a um determinado servidor X.
Leitura adicional:
- Qual é a variável de ambiente XDG_SESSION_COOKIE?
- Como posso configurar o dbus permitir que o usuário ssh suspenda o servidor?
-
RedHat # 771538: XDG_SESSION_COOKIE está definido no login não-gdm. informou que
XDG_SESSION_COOKIE
is set on non-gdm login, preventing proper access to sound (pulse-audio) when usingstartx
. -
Ubuntu # 302791: ssh não definiu XAUTHORITY, XDG_SESSION_COOKIE relatou que
When logging in to a machine through ssh (without -X or -Y),
XAUTHORITY
is not set; and when logging in non-interactively,XDG_SESSION_COOKIE
is not set. This prevents programs started over an ssh session to connect to the X server of the machine on which it's running.