The officially official Devuan Forum!

You are not logged in.

#1 2020-08-21 06:40:50

Registered: 2017-09-25
Posts: 94  

E233: cannot open display

# gvim /usr/share/X11/xorg.conf.d/10-backlight.conf
E233: cannot open display
Press ENTER or type command to continue

vi will be open instead of gvim.

lxterminal, Beowulf.

It has appeared after ASCII --> Beowulf upgrade.

Anyone know please how to fix it ?


#2 2020-08-21 07:19:05

From: London
Registered: 2019-03-24
Posts: 983  

Re: E233: cannot open display

It's always best to enter the error message into a search engine: … ll-751248/

EDIT: better approach:

SUDO_EDITOR=gvim sudoedit /usr/share/X11/xorg.conf.d/10-backlight.conf

^ Run that as your normal user (after installing the sudo package and enabling sudo for your user).

EDIT2: add this to ~/.xsessionrc (or /etc/environment) to set $SUDO_EDITOR permanently:

export SUDO_EDITOR=gvim

Then just use sudoedit to edit system files as your normal user.

Last edited by Head_on_a_Stick (2020-08-21 07:26:27)

Black Lives Matter


Board footer