Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #203924 > unrolled thread

zenmap as root, starts on one and not the other system

Started byNate Bargmann <n0nb@n0nb.us>
First post2019-01-04 00:50 +0100
Last post2019-01-04 13:10 +0100
Articles 4 — 2 participants

Back to article view | Back to linux.debian.user


Contents

  zenmap as root, starts on one and not the other system Nate Bargmann <n0nb@n0nb.us> - 2019-01-04 00:50 +0100
    Re: zenmap as root, starts on one and not the other system Samuel Henrique <samueloph@debian.org> - 2019-01-04 01:30 +0100
      Re: zenmap as root, starts on one and not the other system Nate Bargmann <n0nb@n0nb.us> - 2019-01-04 04:20 +0100
      Re: zenmap as root, starts on one and not the other system Nate Bargmann <n0nb@n0nb.us> - 2019-01-04 13:10 +0100

#203924 — zenmap as root, starts on one and not the other system

FromNate Bargmann <n0nb@n0nb.us>
Date2019-01-04 00:50 +0100
Subjectzenmap as root, starts on one and not the other system
Message-ID<xckUq-1s3-5@gated-at.bofh.it>

[Multipart message — attachments visible in raw view] — view raw

About an hour ago I installed zenmap on both my desktop and laptop systems
running Buster and Gnome.  Both had been clean installs back in October,
i.e. not upgraded from any previous Debian installation.

On the desktop starting "Zenmap (as root)" works as expected while on the
laptop it fails to start at all.  Dependencies and Recommended packages are
installed.  On the laptop I see the following in /var/log/user.log:

Jan  3 17:09:16 nomad zenmap-root.desktop[21979]: No protocol specified
Jan  3 17:09:16 nomad zenmap-root.desktop[21979]: No protocol specified
Jan  3 17:09:16 nomad zenmap-root.desktop[21979]: Traceback (most recent call last):
Jan  3 17:09:16 nomad zenmap-root.desktop[21979]:   File "/usr/bin/zenmap", line 181, in <module>
Jan  3 17:09:16 nomad zenmap-root.desktop[21979]:     import zenmapGUI.App
Jan  3 17:09:16 nomad zenmap-root.desktop[21979]:   File "/usr/lib/python2.7/dist-packages/zenmapGUI/App.py", line 157, in <module>
Jan  3 17:09:16 nomad zenmap-root.desktop[21979]:     import gtk
Jan  3 17:09:16 nomad zenmap-root.desktop[21979]:   File "/usr/lib/python2.7/dist-packages/gtk-2.0/gtk/__init__.py", line 69, in <module>
Jan  3 17:09:16 nomad zenmap-root.desktop[21979]:     _init()
Jan  3 17:09:16 nomad zenmap-root.desktop[21979]:   File "/usr/lib/python2.7/dist-packages/gtk-2.0/gtk/__init__.py", line 57, in _init
Jan  3 17:09:16 nomad zenmap-root.desktop[21979]:     warnings.warn(str(e), _gtk.Warning)
Jan  3 17:09:16 nomad zenmap-root.desktop[21979]: gtk.GtkWarning: could not open display

I get the same output when trying to start Zenmap from a terminal using sudo.

TIA

- Nate

-- 

"The optimist proclaims that we live in the best of all
possible worlds.  The pessimist fears this is true."

Web: http://www.n0nb.us  GPG key: D55A8819  GitHub: N0NB

[toc] | [next] | [standalone]


#203927

FromSamuel Henrique <samueloph@debian.org>
Date2019-01-04 01:30 +0100
Message-ID<xclx8-1Tx-7@gated-at.bofh.it>
In reply to#203924

[Multipart message — attachments visible in raw view] — view raw

Hello,

I believe you are experiencing this bug:
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=880601

You can try to run gnome with xorg (instead of wayland) as a workaround.


-- 
Samuel Henrique <samueloph>

[toc] | [prev] | [next] | [standalone]


#203936

FromNate Bargmann <n0nb@n0nb.us>
Date2019-01-04 04:20 +0100
Message-ID<xcobD-3Ak-1@gated-at.bofh.it>
In reply to#203927

[Multipart message — attachments visible in raw view] — view raw

* On 2019 03 Jan 18:30 -0600, Samuel Henrique wrote:
> Hello,
> 
> I believe you are experiencing this bug:
> https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=880601

Thanks for that bug report.  I probably wouldn't have found it otherwise.

> You can try to run gnome with xorg (instead of wayland) as a workaround.

Both systems are running wayland, so it working on one and not the other
leaves me puzzled.

- Nate

-- 

"The optimist proclaims that we live in the best of all
possible worlds.  The pessimist fears this is true."

Web: http://www.n0nb.us  GPG key: D55A8819  GitHub: N0NB

[toc] | [prev] | [next] | [standalone]


#203960

FromNate Bargmann <n0nb@n0nb.us>
Date2019-01-04 13:10 +0100
Message-ID<xcwsz-7p-37@gated-at.bofh.it>
In reply to#203927

[Multipart message — attachments visible in raw view] — view raw

* On 2019 03 Jan 18:30 -0600, Samuel Henrique wrote:

> You can try to run gnome with xorg (instead of wayland) as a workaround.

My apologies, Samuel.

I realized this morning that I am running the desktop in Gnome Classic mode
and I see this:

$ ps ax | grep X
 1815 tty2     Sl+  250:50 /usr/lib/xorg/Xorg vt2 -displayfd 3 -auth /run/user/1000/gdm/Xauthority -background none -noreset -keeptty -verbose 3
22870 pts/9    S+     0:00 grep --color=auto X

and on my laptop running Gnome I see:

$ ps ax | grep X
28301 tty2     Sl+    0:00 /usr/bin/Xwayland :0 -rootless -terminate -accessx -core -listen 4 -listen 5 -displayfd 6
28910 pts/0    S+     0:00 grep --color=auto X

I then logged into Gnome Classic on the laptop and see:

$ ps ax | grep X
29206 tty2     Sl+    0:01 /usr/lib/xorg/Xorg vt2 -displayfd 3 -auth /run/user/1000/gdm/Xauthority -background none -noreset -keeptty -verbose 3
29968 pts/0    S+     0:00 grep --color=auto X

and as you might expect, running zenmap as root works as expected.

Thank you.  I learned something again today.  :-)  I had been previously
unaware that Gnome Classic actually runs under Xorg.  I'd seen the
"Gnome on Xorg" GDM menu entry but had never chosen it.

- Nate

-- 

"The optimist proclaims that we live in the best of all
possible worlds.  The pessimist fears this is true."

Web: http://www.n0nb.us  GPG key: D55A8819  GitHub: N0NB

[toc] | [prev] | [standalone]


Back to top | Article view | linux.debian.user


csiph-web