Re: "E233: cannot open display" when starting gvim on ubuntu 8.04 root shell
- From: Nico Kadel-Garcia <nkadel@xxxxxxxxx>
- Date: Sun, 30 Aug 2009 14:02:22 -0700 (PDT)
On Aug 30, 4:52 pm, TsanChung <tsanchung.w...@xxxxxxxxx> wrote:
"sudo gvim" is ok on a non-root shell.
$ sudo gvim /etc/fstab
[sudo] password for ts:
However, "E233: cannot open display" error appears when starting gvim
on ubuntu 8.04 root shell.
# gvim /etc/fstab
E233: cannot open display
Press ENTER or type command to continue
# kdesudo gvim /etc/fstab
kdesudo: cannot connect to X server
What does 'DISPLAY' say, before and after you run the sudo?
# echo $DISPLAY
# sudo echo $DISPLAY
.
- References:
- Prev by Date: Re: [OT] Thanks to Nathan
- Next by Date: Re: Fedora 11 no RPM will install
- Previous by thread: "E233: cannot open display" when starting gvim on ubuntu 8.04 root shell
- Next by thread: Re: "E233: cannot open display" when starting gvim on ubuntu 8.04 root ?shell
- Index(es):
Relevant Pages
|