1

I have installed grub-customizer in my system, Kubuntu 14.04.

When I try to start it, I get the following error, (kindly help)...

santosh@santosh-pc:/usr/bin$ sudo ./grub-customizer 
No protocol specified

** (grub-customizer:2992): WARNING **: Could not open X display
No protocol specified
error: XDG_RUNTIME_DIR not set in the environment.

(grub-customizer:2992): Gtk-WARNING **: cannot open display: :0

2 Answers 2

1

To open grub-customizer simply type sudo grub-customizer in terminal and don't use ./ before that command.

7
  • i tried, getting the same error.
    – Santosh
    May 12, 2014 at 17:13
  • can you post a screenshot of terminal with that error
    – Sudheer
    May 12, 2014 at 17:15
  • 1
    santosh@santosh-pc:/usr/bin$ sudo grub-customizer No protocol specified ** (grub-customizer:3065): WARNING **: Could not open X display No protocol specified error: XDG_RUNTIME_DIR not set in the environment. (grub-customizer:3065): Gtk-WARNING **: cannot open display: :0
    – Santosh
    May 12, 2014 at 17:24
  • try in terminal: gksu grub-customizer
    – Sudheer
    May 12, 2014 at 17:32
  • I get the message, 'The program 'gksu' is currently not installed. You can install it by typing: sudo apt-get install gksu.' Sorry, for asking a silly question, but is gksu different than sudo. What are the advantages of using it, in place of sudo.
    – Santosh
    May 12, 2014 at 17:35
0

Run

xhost +si:localuser:root

where localuser is Your username. After that, i was able to run

sudo grub-customizer

successfully

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .