GTK Ubuntu 17.10

9,309

By default 17.10 does not allow root to access your display.

Try the command xhost +si:localuser:root then launch gedit with root privilege.

Share:
9,309

Related videos on Youtube

Rumel66
Author by

Rumel66

Updated on September 18, 2022

Comments

  • Rumel66
    Rumel66 almost 2 years

    I use Ubuntu 17.10.

    When I start gedit, virt-manager as root I get a dubious error message: gtk warning cannot open display :0.0

    I read many posts but none works with Ubuntu 17.10.

    Thanks for any help.

    • N0rbert
      N0rbert over 6 years
      Other root applications are broken on Wayland too (see bug 1713313 and bug 1713311 ).
    • Rumel66
      Rumel66 over 6 years
      I use the new AMD Cpu with Gigabyte so i need Kernel 4.10 >. Thans i read this post and it is now clear.
  • Rumel66
    Rumel66 over 6 years
    I got the same error message when i set the xhost local:root.
  • ravery
    ravery over 6 years
    try xhost +si:localuser:root seems thy changed the command also