Unable to run graphical program as root.

Bug #1520365 reported by Cobalt on 2015-11-26
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
gksu (Ubuntu)
Undecided
Unassigned

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)

Cobalt (orenjuice) wrote :
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers