jbales@bales:~/myfonts$ sudo gnome-font-viewer Snell-Roundhand-Script.ttf [sudo] password for jbales: No protocol specified Unable to init server: Could not connect: Connection refused
(gnome-font-viewer:19642): Gtk-WARNING **: cannot open display: :0 -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to gnome-font-viewer in Ubuntu. https://bugs.launchpad.net/bugs/1706452 Title: Gtk error when I try to open and isntall a new font Status in gnome-font-viewer package in Ubuntu: Confirmed Bug description: When I did doble-click on top of a font the font viewer is not open. When I run from the console the command `gnome-font-viewer in-mono.otf` it shows this error: ⇒ gnome-font-viewer in-mono.otf (gnome-font-viewer:3639): GLib-GObject-WARNING **: invalid (NULL) pointer instance (gnome-font-viewer:3639): GLib-GObject-CRITICAL **: g_signal_connect_data: assertion 'G_TYPE_CHECK_INSTANCE (instance)' failed (gnome-font-viewer:3639): Gtk-CRITICAL **: gtk_widget_get_scale_factor: assertion 'GTK_IS_WIDGET (widget)' failed [1] 3639 segmentation fault (core dumped) gnome-font-viewer in-mono.otf If I try with sudo throws this other error: ⇒ sudo gnome-font-viewer in-mono.otf No protocol specified Unable to init server: Could not connect: Connection refused (gnome-font-viewer:3609): Gtk-WARNING **: cannot open display: :0 I tried with different kind of fonts (ttf, otf ...) ProblemType: Bug DistroRelease: Ubuntu 17.10 Package: gnome-font-viewer 3.24.0-0ubuntu1 ProcVersionSignature: Ubuntu 4.11.0-10.15-generic 4.11.8 Uname: Linux 4.11.0-10-generic x86_64 ApportVersion: 2.20.6-0ubuntu4 Architecture: amd64 CurrentDesktop: GNOME Date: Tue Jul 25 23:19:53 2017 InstallationDate: Installed on 2017-07-25 (0 days ago) InstallationMedia: Ubuntu 17.10 "Artful Aardvark" - Alpha amd64 (20170723) SourcePackage: gnome-font-viewer UpgradeStatus: No upgrade log present (probably fresh install) To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/gnome-font-viewer/+bug/1706452/+subscriptions -- Mailing list: https://launchpad.net/~desktop-packages Post to : [email protected] Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp

