Wireshark-bugs: [Wireshark-bugs] [Bug 2842] New: external web app not started : cannot open disp
Date Prev · Date Next · Thread Prev · Thread Next
Date: Sun, 31 Aug 2008 02:45:37 -0700 (PDT)
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=2842

           Summary: external web app not started : cannot open display: :0.0
           Product: Wireshark
           Version: SVN
          Platform: PC
        OS/Version: All
            Status: NEW
          Severity: Minor
          Priority: Low
         Component: Wireshark
        AssignedTo: wireshark-bugs@xxxxxxxxxxxxx
        ReportedBy: toralf.foerster@xxxxxx


Build Information:
tfoerste@n22 ~ $ /home/tfoerste/devel/wireshark/wireshark -v
wireshark 1.0.99 (SVN Rev 26103)

Copyright 1998-2008 Gerald Combs <gerald@xxxxxxxxxxxxx> and contributors.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

Compiled with GTK+ 2.12.10, with GLib 2.16.3, with libpcap 0.9.8, with libz
1.2.3, with POSIX capabilities (Linux), with libpcre 7.7, without SMI, without
c-ares, without ADNS, without Lua, with GnuTLS 2.2.5, with Gcrypt 1.4.0,
without
Kerberos, without PortAudio, without AirPcap.

Running on Linux 2.6.25.16, with libpcap version 0.9.8.

Built using gcc 4.1.2 (Gentoo 4.1.2 p1.0.2).

--
Starting wireshark with "su -c ..." and then clicking at Help->Website yields
into this :

tfoerste@n22 ~ $ su -c /home/tfoerste/devel/wireshark/wireshark
Password:
Xlib: connection to ":0.0" refused by server
Xlib: No protocol specified

Unable to connect to X server
Xlib: connection to ":0.0" refused by server
Xlib: No protocol specified


(firefox-bin:8848): Gtk-WARNING **: cannot open display: :0.0
firefox-bin exited with non-zero status (1)


until I give an "xhost +" as normal user. BTW an "xhost +localhost" or sth
similar also doesn't help. I'm wondering about that b/c I'm able to start xterm
as root and as a normal user with " su -c xterm" w/o to use xhost command
before.


-- 
Configure bugmail: https://bugs.wireshark.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.