When I run the command "pkexec tuxcmd"in the terminal I get the following error:
Code: Select all
(tuxcmd:817): Gtk-WARNING **: 09:34:50.511: cannot open display:
Code: Select all
pkexec env DISPLAY=$DISPLAY XAUTHORITY=$XAUTHORITY tuxcmd
Code: Select all
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE policyconfig PUBLIC
"-//freedesktop//DTD PolicyKit Policy Configuration 1.0//EN"
"http://www.freedesktop.org/standards/PolicyKit/1/policyconfig.dtd">
<policyconfig>
<action id="com.ubuntu.pkexec.synaptic">
<message>Authentication is required to run Tux Commander/message>
<message xml:lang="en_GB">Authentication is required to run Tux Commander</message>
<icon_name>tuxcmd</icon_name>
<defaults>
<allow_any>auth_admin</allow_any>
<allow_inactive>auth_admin</allow_inactive>
<allow_active>auth_admin</allow_active>
</defaults>
<annotate key="org.freedesktop.policykit.exec.path">/usr/bin/tuxcmd</annotate>
<annotate key="org.freedesktop.policykit.exec.allow_gui">true</annotate>
</action>
</policyconfig>
Code: Select all
(tuxcmd:817): Gtk-WARNING **: 09:34:50.511: cannot open display: