Hi,

Together with my previous patch for
ConsoleKit, /usr/lib/ck-get-x11-display-device will return "   ?   "
which means no tty device is attached on give display.

There are two scenarios could be no tty
1) a local seat but not on tty like Sun Ray
2) a remote display like XMDCP

The x11-display-device value should be set as /dev/dtlocal for 1)
and /dev/dtremote for 2). /dev/dtlocal or /dev/dtremote symlink
to /dev/null.

The logic is copied from old GDM gnome-2-20 code base, line 4170-4191 of
daemon/slave.c.
http://git.gnome.org/cgit/gdm/tree/daemon/slave.c?h=gnome-2-20

Please review.

Thanks,
Halton.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: gdm-14-sol-notty.diff
Type: text/x-patch
Size: 3575 bytes
Desc: not available
URL: 
<http://mail.opensolaris.org/pipermail/jds-review/attachments/20090925/bb5879b4/attachment.bin>

Reply via email to