[Portland] [Bug 7157] New: xdg-menu from CVS requires DISPLAY-Variable set

bugzilla-daemon at annarchy.freedesktop.org bugzilla-daemon at annarchy.freedesktop.org
Thu Jun 8 12:38:44 PDT 2006


Please do not reply to this email: if you want to comment on the bug, go to    
       
the URL shown below and enter yourcomments there.     
   
https://bugs.freedesktop.org/show_bug.cgi?id=7157          
     
           Summary:  xdg-menu from CVS requires DISPLAY-Variable set
           Product: Portland
           Version: unspecified
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: xdg-utils
        AssignedTo: portland at lists.freedesktop.org
        ReportedBy: bastian at svn.net
OtherBugsDependingO 7011
             nThis:


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.          
     
     
--           
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email         
     
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.


More information about the Portland mailing list