** Description changed:

  oem@zz64:~$ pkexec gtkorphan
  Gtk-WARNING **: cannot open display:  at 
/usr/lib/x86_64-linux-gnu/perl5/5.26/Gtk2.pm line 126.
  
+ **********
+   # gtk_init_with_args is not wrapped.
+   foreach my $function (qw/Gtk2::init Gtk2::init_check Gtk2::parse_args/) {
+     my $orig_function = \&{$function};
+     *{$function} = sub {
+       if (!$disable_setlocale) {
+         POSIX::setlocale (POSIX::LC_ALL (), '');
+       }
+       $orig_function->(@_);  # this is the line 126 ###########
+     };
+ ************
+ 
  With wayland not setting xwayland authorization
-  
(https://www.mail-archive.com/[email protected]/msg1541135.html),
+  
(https://www.mail-archive.com/[email protected]/msg1541135.html),
  and gksudo been deprecated 
(https://bugs.launchpad.net/ubuntu/+source/gksu/+bug/1712471),
  pkexec also fail to get a display.
  
  So back to 'sudo' to try using gui app, which is not encouraged, as ibus
  warns not being 'root'.
  
  ProblemType: Bug
  DistroRelease: Ubuntu 17.10
  Package: perl 5.26.0-5
  ProcVersionSignature: Ubuntu 4.12.0-12.13-generic 4.12.8
  Uname: Linux 4.12.0-12-generic x86_64
  ApportVersion: 2.20.6-0ubuntu6
  Architecture: amd64
  CurrentDesktop: GNOME
  Date: Wed Aug 23 07:37:48 2017
  EcryptfsInUse: Yes
  SourcePackage: perl
  UpgradeStatus: No upgrade log present (probably fresh install)

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1712477

Title:
   cannot open display:  at /usr/lib/x86_64-linux-gnu/perl5/5.26/Gtk2.pm
  line 126.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/perl/+bug/1712477/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to