On 03/06/17 13:18, Jeroen Mathon wrote:
On Monday, March 6, 2017 11:13:59 AM CET Joachim Backes wrote:
Hi,
seeing coincidentally that some X11 applications with sudo under
GNOME/Wayland will fail:
-------------------------------------------------------------
For example:
1. sudo xterm
No protocol specified
Warning: This program is an suid-root program or is being run by the
root user.
The full text of the error or warning message cannot be safely formatted
in this environment. You may get a more descriptive message by running the
program as a non-root user or by removing the suid bit on the executable.
xterm: Xt error: Can't open display: %s
2. sudo gnome-terminal
No protocol specified
Unable to init server: Could not connect: Connection refused
Failed to parse arguments: Cannot open display:
----------------------------------------------------------------
Running the same under Gnome/Xorg executes properly.
Anybody sees this too?
Kind regards
Joachim Backes
Hey Joachim,
Could you supply us with some more information, like:
- The output of `echo $DISPLAY`
Hi Jeron,
echo $DISPLAY
:0
- Verbose output of you're display manager
How to do?
- The version of the software you are using(Gnome, xorg and gdm)
rpm -qa|egrep -i '(xorg|gdm|^gnome)'
xorg-x11-drv-intel-2.99.917-26.20160929.fc25.x86_64
xorg-x11-drv-geode-2.11.18-2.fc25.i686
gnome-themes-standard-3.22.2-1.fc25.x86_64
xorg-x11-resutils-7.5-13.fc24.x86_64
gnome-software-3.22.5-1.fc25.x86_64
gnome-shell-extension-common-3.22.2-1.fc25.noarch
gnome-maps-3.22.2-1.fc25.x86_64
xorg-x11-server-Xorg-1.19.1-3.fc25.x86_64
gnome-keyring-pam-3.20.0-1.fc25.x86_64
xorg-x11-drv-nouveau-1.0.13-1.fc25.x86_64
gnome-settings-daemon-3.22.1-1.fc25.x86_64
gnome-system-monitor-3.22.2-1.fc25.x86_64
gnome-desktop3-3.22.2-2.fc25.x86_64
xorg-x11-drv-fbdev-0.4.3-25.fc25.x86_64
gnome-python2-2.28.1-18.fc25.x86_64
gnome-sudoku-3.22.2-1.fc25.x86_64
gnome-shell-extension-alternate-tab-3.22.2-1.fc25.noarch
gnome-color-manager-3.22.2-1.fc25.x86_64
gnome-clocks-3.22.1-1.fc25.x86_64
xorg-x11-xkb-utils-7.7-17.fc24.x86_64
gnome-keyring-sharp-1.0.1-0.21.133722svn.fc24.x86_64
xorg-x11-drv-evdev-2.10.5-1.fc25.x86_64
gnome-contacts-3.22.1-2.fc25.x86_64
gnome-logs-3.22.1-2.fc25.x86_64
xorg-x11-xdm-1.1.11-10.fc24.x86_64
xorg-x11-server-Xwayland-1.19.1-3.fc25.x86_64
xorg-x11-drv-vesa-2.3.2-25.fc25.x86_64
xorg-x11-drv-synaptics-1.9.0-1.fc25.x86_64
gnome-shell-extension-apps-menu-3.22.2-1.fc25.noarch
gnome-disk-utility-3.22.1-1.fc25.x86_64
gnome-desktop-2.32.0-17.fc24.x86_64
gnome-shell-extension-window-list-3.22.2-1.fc25.noarch
gnome-keyring-3.20.0-1.fc25.x86_64
gnome-themes-2.32.0-14.fc24.noarch
gnome-vfs2-2.24.4-20.fc24.x86_64
xorg-x11-server-utils-7.7-20.fc25.x86_64
gnome-bluetooth-3.20.1-1.fc25.x86_64
xorg-x11-fonts-misc-7.5-16.fc24.noarch
abrt-addon-xorg-2.9.0-1.fc25.x86_64
gnome-classic-session-3.22.2-1.fc25.noarch
gnome-user-docs-3.22.0-1.fc25.noarch
gnome-initial-setup-3.22.1-1.fc25.x86_64
xorg-x11-xbitmaps-1.1.1-9.fc24.noarch
gnome-icon-theme-3.12.0-4.fc24.noarch
gnome-boxes-3.22.4-1.fc25.x86_64
gnome-video-effects-0.4.3-1.fc25.noarch
xorg-x11-utils-7.5-21.fc24.x86_64
xorg-x11-drv-openchrome-0.5.0-2.fc25.x86_64
gnome-weather-3.20.2-1.fc25.noarch
gnome-screenshot-3.22.0-1.fc25.x86_64
gnome-abrt-1.2.5-1.fc25.x86_64
xorg-x11-server-common-1.19.1-3.fc25.x86_64
xorg-x11-drv-wacom-0.34.0-4.fc25.x86_64
xorg-x11-font-utils-7.5-32.fc25.x86_64
xorg-x11-xauth-1.0.9-5.fc24.x86_64
gnome-user-share-3.18.3-1.fc25.x86_64
gnome-terminal-3.22.1-5.fc25.x86_64
gnome-session-wayland-session-3.22.2-3.fc25.x86_64
xorg-x11-fonts-Type1-7.5-16.fc24.noarch
gnome-terminal-nautilus-3.22.1-5.fc25.x86_64
xorg-x11-drv-qxl-0.1.5-2.fc25.x86_64
gnome-backgrounds-3.22.1-1.fc25.noarch
gnome-bluetooth-libs-3.20.1-1.fc25.x86_64
gnome-python2-canvas-2.28.1-18.fc25.x86_64
gnome-vfs2-common-2.24.4-20.fc24.noarch
xorg-x11-apps-7.7-15.fc24.x86_64
gnome-menus-3.13.3-5.fc24.x86_64
gnome-shell-extension-user-theme-3.22.2-1.fc25.noarch
gnome-getting-started-docs-3.22.0-1.fc25.noarch
gnome-web-photo-0.10.5-9.fc24.x86_64
xorg-x11-drv-libinput-0.23.0-2.fc25.x86_64
gnome-session-xsession-3.22.2-3.fc25.x86_64
gnome-autoar-0.2.1-1.fc25.x86_64
gnome-online-accounts-3.22.4-1.fc25.x86_64
gnome-font-viewer-3.22.0-1.fc25.x86_64
gnome-do-0.95.3-3.fc24.x86_64
gnome-shell-extension-launch-new-instance-3.22.2-1.fc25.noarch
xorg-x11-xinit-1.3.4-13.fc25.x86_64
gnome-shell-3.22.3-1.fc25.x86_64
gnome-characters-3.22.0-1.fc25.x86_64
pulseaudio-gdm-hooks-10.0-2.fc25.x86_64
gnome-desktop-sharp-2.26.0-28.fc24.x86_64
gnome-sharp-2.24.2-12.fc25.x86_64
gnome-tweak-tool-3.22.0-1.fc25.noarch
xorg-x11-proto-devel-7.7-20.fc25.noarch
gnome-shell-extension-places-menu-3.22.2-1.fc25.noarch
gnome-calculator-3.22.3-1.fc25.x86_64
xorg-x11-fonts-ISO8859-1-100dpi-7.5-16.fc24.noarch
xorg-x11-drv-ati-7.7.1-1.20160928git3fc839ff.fc25.x86_64
xorg-x11-drv-vmware-13.2.1-1.fc25.x86_64
gdm-3.22.2-1.fc25.x86_64
gnome-session-3.22.2-3.fc25.x86_64
Can you also answer a few extra questions such as:
- Are you running the program from a vtty or a terminal inside your desktop
environment(If yes what terminal are you using?)
Inside gnome-terminal from gnome-desktop
- Can you supply us with a list of the applications that do not work and
could you also try running them trough `gnome-do`?
The following example apps are not running with sudo:
1. xterm, gnome-terminal or usbview (examples I tested)
2. I did not test gnome-do (I installed it, but I don't know how to use it?)
I will await your answer.
Kind regards
Joachim Backes
--
Fedora release 25 (Twenty Five)
Kernel-4.9.13-200.fc25.x86_64
Joachim Backes <joachim.bac...@rhrk.uni-kl.de>
https://www-user.rhrk.uni-kl.de/~backes/
_______________________________________________
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org