xfce4-session warning about an unresolvable local hostname

Guido Berhoerster gber at opensuse.org
Sun Jul 24 16:41:28 CEST 2011

* Benedikt Meurer <benedikt.meurer at googlemail.com> [2011-07-24 09:16]:
> > Can the check whether getaddrinfo() on the hostname returned by
> > gethostname() succeeds be removed from xfce4-session/xfsm-dns.c?
> > As I noted in another mail, "localhost" is of course still
> > resolvable.
> IIRC that specific check was introduced to ensure that SM over
> TCP works. Can you check the contents of the SESSION_MANAGER
> envvar when logged in with TCP session management enabled?

It contains the (unresolvable) hostname, libICE (via libxtrans)
determines it through gethostname().

gber at linux-4kta:~> printenv SESSION_MANAGER

Guido Berhoerster

More information about the Xfce4-dev mailing list