i can not execute grub-coose-default please see the errors:
root@sinamaica:~# grub-choose-default
Using /boot/grub/menu.lst and /boot/grub/default
Getting entries
Getting default
Creating window, might take a second
No protocol specified
No protocol specified
Traceback (most recent call last):
File "/usr/sbin/grub-choose-default", line 325, in <module>
tk_root = Tk()
File "/usr/lib/python2.7/lib-tk/Tkinter.py", line 1813, in __init__
self.tk = _tkinter.create(screenName, baseName, className, interactive, wantobjects, useTk, sync, use)
_tkinter.TclError: couldn't connect to display ":0"
root@sinamaica:~#
Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230
i can not execute grub-coose-default
- dilberts_left_nut
- Administrator
- Posts: 5346
- Joined: 2009-10-05 07:54
- Location: enzed
- Has thanked: 13 times
- Been thanked: 66 times
Re: i can not execute grub-coose-default
You are using grub-legacy? (it doesn't work with grub2).
You should use something like gksu or pkexec or such to run root-priv graphical apps.
You should use something like gksu or pkexec or such to run root-priv graphical apps.
AdrianTM wrote:There's no hacker in my grandma...
-
- Posts: 24
- Joined: 2010-06-12 15:30
Re: i can not execute grub-coose-default
root@sinamaica:~# gksu grub-choose-default
No protocol specified
(gksu:4415): Gtk-WARNING **: cannot open display: :0
root@sinamaica:~#
No protocol specified
(gksu:4415): Gtk-WARNING **: cannot open display: :0
root@sinamaica:~#
-
- Posts: 24
- Joined: 2010-06-12 15:30
Re: i can not execute grub-coose-default
root@sinamaica:~# pkexec grub-choose-default
Using /boot/grub/menu.lst and /boot/grub/default
Getting entries
Getting default
Creating window, might take a second
Traceback (most recent call last):
File "/usr/sbin/grub-choose-default", line 325, in <module>
tk_root = Tk()
File "/usr/lib/python2.7/lib-tk/Tkinter.py", line 1813, in __init__
self.tk = _tkinter.create(screenName, baseName, className, interactive, wantobjects, useTk, sync, use)
_tkinter.TclError: no display name and no $DISPLAY environment variable
root@sinamaica:~#
Using /boot/grub/menu.lst and /boot/grub/default
Getting entries
Getting default
Creating window, might take a second
Traceback (most recent call last):
File "/usr/sbin/grub-choose-default", line 325, in <module>
tk_root = Tk()
File "/usr/lib/python2.7/lib-tk/Tkinter.py", line 1813, in __init__
self.tk = _tkinter.create(screenName, baseName, className, interactive, wantobjects, useTk, sync, use)
_tkinter.TclError: no display name and no $DISPLAY environment variable
root@sinamaica:~#
-
- Posts: 24
- Joined: 2010-06-12 15:30
-
- Posts: 24
- Joined: 2010-06-12 15:30
Re: i can not execute grub-coose-default
root@sinamaica:~# aptitude show grub-legacy
Package: grub-legacy
State: installed
Automatically installed: yes
Version: 0.97-70
Priority: extra
Section: admin
Maintainer: GRUB Maintainers <pkg-grub-devel@lists.alioth.debian.org>
Architecture: amd64
Uncompressed Size: 766 k
Depends: lib32ncurses5 (>= 5.5-5~), lib32tinfo5, libc6-i386 (>= 2.7), grub-common
Suggests: grub-legacy-doc, multiboot, mdadm
Conflicts: grub-legacy
Replaces: grub (< 0.97-54), grub (< 0.97-54)
Provides: grub
Description: GRand Unified Bootloader (Legacy version)
GRUB is a GPLed bootloader intended to unify bootloading across x86 operating systems. In addition to loading the Linux kernel, it
implements the Multiboot standard, which allows for flexible loading of multiple boot images (needed for modular kernels such as the
GNU Hurd).
Please note that GRUB Legacy is in maintanance mode and new features are only accepted in GRUB 2 (grub-pc package).
Tags: uitoolkit::ncurses
root@sinamaica:~#
Package: grub-legacy
State: installed
Automatically installed: yes
Version: 0.97-70
Priority: extra
Section: admin
Maintainer: GRUB Maintainers <pkg-grub-devel@lists.alioth.debian.org>
Architecture: amd64
Uncompressed Size: 766 k
Depends: lib32ncurses5 (>= 5.5-5~), lib32tinfo5, libc6-i386 (>= 2.7), grub-common
Suggests: grub-legacy-doc, multiboot, mdadm
Conflicts: grub-legacy
Replaces: grub (< 0.97-54), grub (< 0.97-54)
Provides: grub
Description: GRand Unified Bootloader (Legacy version)
GRUB is a GPLed bootloader intended to unify bootloading across x86 operating systems. In addition to loading the Linux kernel, it
implements the Multiboot standard, which allows for flexible loading of multiple boot images (needed for modular kernels such as the
GNU Hurd).
Please note that GRUB Legacy is in maintanance mode and new features are only accepted in GRUB 2 (grub-pc package).
Tags: uitoolkit::ncurses
root@sinamaica:~#
- kiyop
- Posts: 3983
- Joined: 2011-05-05 15:16
- Location: Where persons without desire to improve themselves fear to tread, in Japan
- Been thanked: 3 times
Re: i can not execute grub-coose-default
Execute the following and post the results
Code: Select all
apt-cache policy grub-choose-default
dpkg -l |grep grub
more /etc/debian_version
uname -r
Openbox, JWM: Jessie, Sid, Arch / Win XP (on VirtualBox), 10
http://kiyoandkei.bbs.fc2.com/
http://kiyoandkei.bbs.fc2.com/
-
- Posts: 24
- Joined: 2010-06-12 15:30
Re: i can not execute grub-coose-default
root@sinamaica:~# apt-cache policy grub-choose-default
grub-choose-default:
Installed: 0.2-6
Candidate: 0.2-6
Version table:
*** 0.2-6 0
500 http://ftp.us.debian.org/debian/ jessie/main amd64 Packages
100 /var/lib/dpkg/status
root@sinamaica:~# dpkg -l |grep grub
ii grub-choose-default 0.2-6 all Control Grub Default through a GUI
ii grub-common 2.02~beta2-22+deb8u1 amd64 GRand Unified Bootloader (common files)
ii grub-legacy 0.97-70 amd64 GRand Unified Bootloader (Legacy version)
rc grub-pc 2.02~beta2-22+deb8u1 amd64 GRand Unified Bootloader, version 2 (PC/BIOS version)
ii grub-pc-bin 2.02~beta2-22+deb8u1 amd64 GRand Unified Bootloader, version 2 (PC/BIOS binaries)
rc pv-grub-menu 1.3 all Creates a menu.lst file for PV-GRUB
root@sinamaica:~# more /etc/debian_version
8.6
root@sinamaica:~# uname -r
3.16.0-4-amd64
root@sinamaica:~#
grub-choose-default:
Installed: 0.2-6
Candidate: 0.2-6
Version table:
*** 0.2-6 0
500 http://ftp.us.debian.org/debian/ jessie/main amd64 Packages
100 /var/lib/dpkg/status
root@sinamaica:~# dpkg -l |grep grub
ii grub-choose-default 0.2-6 all Control Grub Default through a GUI
ii grub-common 2.02~beta2-22+deb8u1 amd64 GRand Unified Bootloader (common files)
ii grub-legacy 0.97-70 amd64 GRand Unified Bootloader (Legacy version)
rc grub-pc 2.02~beta2-22+deb8u1 amd64 GRand Unified Bootloader, version 2 (PC/BIOS version)
ii grub-pc-bin 2.02~beta2-22+deb8u1 amd64 GRand Unified Bootloader, version 2 (PC/BIOS binaries)
rc pv-grub-menu 1.3 all Creates a menu.lst file for PV-GRUB
root@sinamaica:~# more /etc/debian_version
8.6
root@sinamaica:~# uname -r
3.16.0-4-amd64
root@sinamaica:~#