[pkg-wpa-devel] Bug#816215: Bug#816215: wpagui: When run, wpa_gui just shows an empty grey window
Stefan Lippers-Hollmann
s.l-h at gmx.de
Sun Feb 28 22:22:51 UTC 2016
Control: severity -1 normal
Control: tags -1 moreinfo
Hi
On 2016-02-29, Riley Baird wrote:
> Package: wpagui
> Version: 2.3-2.3
> Severity: grave
> Justification: renders package unusable
>
> Hi,
>
> When I run wpa_gui (as root), a window appears, which is just filled with grey.
> I have included the terminal output and a screenshot of the problem.
I can't quite tell from the screenshot, but which desktop environment/
window manager are you using and which helper do you use for elevating
privileges?
Testing wpa_gui, both as root (using kdesu on a KDE5 desktop) and as
normal/ authorized (member of the netdev group and configuring said
group to allow access using the wpa_supplicant.conf) user, is both
working for me on an up to date unstable system. Therefore I'm
reducing this bug's severity from RC to normal.
In general I strongly recommend not running wpa_gui as root, but to
use netdev membership instead; see
/usr/share/doc/wpasupplicant/examples/wpa-roam.conf
for reference, but it should work both ways.
In case you do choose to run wpagui as root (please don't), make sure
to use the preferred way of your desktop environment to elevate
privileges for running X11 applications and test some other/ simpler
applications as well (e.g. xclock/ xeyes) using the same approach.
> X Error: BadAccess (attempt to access private resource denied) 10
> Extension: 130 (MIT-SHM)
> Minor opcode: 1 (X_ShmAttach)
[...]
> X Error: BadShmSeg (invalid shared segment parameter) 128
> Extension: 130 (MIT-SHM)
> Minor opcode: 2 (X_ShmDetach)
> Resource id: 0x320002b
These error messages point slightly into this direction of 'just'
being an issue with your X11 MIT magic cookie.
So assuming you're be running wpa_gui on a KDE desktop, I'd probably
suggest to use (all as normal user, not root!)
$ /usr/lib/kde4/libexec/kdesu /usr/sbin/wpa_gui
gtk based desktop environments usually use gksu instead
$ gksu /usr/sbin/wpa_gui
alternatively using sudo should also work
$ sudo /usr/sbin/wpa_gui
respectively something like xclock for testing.
Regards
Stefan Lippers-Hollmann
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 819 bytes
Desc: Digitale Signatur von OpenPGP
URL: <http://lists.alioth.debian.org/pipermail/pkg-wpa-devel/attachments/20160228/fe4edd75/attachment.sig>
More information about the Pkg-wpa-devel
mailing list