[Portland] xdg-menu from CVS requires DISPLAY-Variable set

Bastian, Waldo waldo.bastian at intel.com
Thu Jun 8 12:44:13 PDT 2006


Thanks for your feedback. Yes, that's indeed not good. I have filed this
as
https://bugs.freedesktop.org/show_bug.cgi?id=7157

Tom, can you include tests for this in your test plan?

Waldo Bastian
Linux Client Architect - Client Linux Foundation Technology
Channel Platform Solutions Group
Intel Corporation - http://www.intel.com/go/linux
OSDL DTL Tech Board Chairman

>-----Original Message-----
>From: portland-bounces at lists.freedesktop.org [mailto:portland-
>bounces at lists.freedesktop.org] On Behalf Of Marcus Grassinger
>Sent: Thursday, June 08, 2006 6:22 AM
>To: portland at lists.freedesktop.org
>Subject: [Portland] xdg-menu from CVS requires DISPLAY-Variable set
>
>Hi Folks,
>
>I was testing the xdg-Technology-Preview for adding a menu-entry and
>now switched to the current cvs-version.
>In the CVS-version of xdg-menu, when my DESKTOP-Variable is unset or
>when I'm not permitted to connect to X, then the script fails with
>the following message when calling `xprop':
>
>-------------
>sles9dsk:/usr/local/src/xdg-utils-TP/cvsscripts/scripts # ./xdg-menu
>install --system --vendor shinythings ../../webmirror.desktop
>Xlib: connection to ":0.0" refused by server
>Xlib: No protocol specified
>
>xprop:  unable to open display ':0.0'
>[ ... usage-options ... ]
>--------------
>
>Since the xdg-menu-Script is sometimes invoked by an administrator
>without X, this seems to be not very practical.
>What do you guys think about that behaviour?
>
>I'm using Suse EnterpriseServer9 Patchlevel 3 for testing-purposes.
>
>Best regards,
>  Marcus
>
>_______________________________________________
>Portland mailing list
>Portland at lists.freedesktop.org
>http://lists.freedesktop.org/mailman/listinfo/portland


More information about the Portland mailing list