← Back to team overview

desktop-packages team mailing list archive

[Bug 1520365] [NEW] Unable to run graphical program as root.

 

Public bug reported:

When attempting to run a graphical program as root from the terminal, I
get this error:

No protocol specified

** (gedit:5165): WARNING **: Could not open X display
No protocol specified
Failed to connect to Mir: Failed to connect to server socket: No such file or directory
Unable to init server: Could not connect: Connection refused

(gedit:5165): Gtk-WARNING **: cannot open display: :0

When attempting to run a graphical program as root using gksu, nothing
happens

Release: Lubuntu 15.10
gksu version: 2.0.2-9ubuntu1

ProblemType: Bug
DistroRelease: Ubuntu 15.10
Package: gksu 2.0.2-9ubuntu1
ProcVersionSignature: Ubuntu 4.2.0-16.19-generic 4.2.3
Uname: Linux 4.2.0-16-generic x86_64
ApportVersion: 2.19.1-0ubuntu5
Architecture: amd64
CurrentDesktop: LXDE
Date: Thu Nov 26 15:46:37 2015
JournalErrors:
 No journal files were found.
 -- No entries --
SourcePackage: gksu
UpgradeStatus: No upgrade log present (probably fresh install)

** Affects: gksu (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-bug wily

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to gksu in Ubuntu.
https://bugs.launchpad.net/bugs/1520365

Title:
  Unable to run graphical program as root.

Status in gksu package in Ubuntu:
  New

Bug description:
  When attempting to run a graphical program as root from the terminal,
  I get this error:

  No protocol specified

  ** (gedit:5165): WARNING **: Could not open X display
  No protocol specified
  Failed to connect to Mir: Failed to connect to server socket: No such file or directory
  Unable to init server: Could not connect: Connection refused

  (gedit:5165): Gtk-WARNING **: cannot open display: :0

  When attempting to run a graphical program as root using gksu, nothing
  happens

  Release: Lubuntu 15.10
  gksu version: 2.0.2-9ubuntu1

  ProblemType: Bug
  DistroRelease: Ubuntu 15.10
  Package: gksu 2.0.2-9ubuntu1
  ProcVersionSignature: Ubuntu 4.2.0-16.19-generic 4.2.3
  Uname: Linux 4.2.0-16-generic x86_64
  ApportVersion: 2.19.1-0ubuntu5
  Architecture: amd64
  CurrentDesktop: LXDE
  Date: Thu Nov 26 15:46:37 2015
  JournalErrors:
   No journal files were found.
   -- No entries --
  SourcePackage: gksu
  UpgradeStatus: No upgrade log present (probably fresh install)

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