Description of problem: Attempting to run `sudo gvim /path/to/file` returns: No protocol specified E233: cannot open displayE852: The child process failed to start the GUI No protocol specified And then falls back to the text vim interface, rather than launching the graphical version. Version-Release number of selected component (if applicable): wayland-1.8.93-1.fc23.x86_64 sudo-1.8.14p3-1.fc23.x86_64 vim-X11-7.4.827-1.fc23.x86_64 How reproducible: Every time Steps to Reproduce: 1. Install the vim-X11 package 2. Run `sudo gvim /path/to/file` Actual results: No protocol specified E233: cannot open displayE852: The child process failed to start the GUI No protocol specified And then falls back to the text vim interface. Expected results: The graphical version of gVIM should be launched. Additional info: This is a problem only when running under Wayland. It works fine under X11. I'm not sure what the correct component is, so I'm going with 'wayland'. Please feel free to reassign it as appropriate. I tested this with both gnome-terminal and xterm.
Duplicate of bug #1274451. Wayland doesn't allow any graphical apps to be run as root.
*** This bug has been marked as a duplicate of bug 1274451 ***