Marcus Grassinger reported: 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.
None of the xdg-utils scripts should require interaction with the X server for installation tasks. The documentation must be updated to indicate which commands must be run from within an X session and which can be used outside of an X session.
Fixed for beta1
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.