The officially official Devuan Forum!

You are not logged in.

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

boycottsystemd
Member
Registered: 2017-09-25
Posts: 96  

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 ?

Offline

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

Head_on_a_Stick
Member
From: London
Registered: 2019-03-24
Posts: 1,142  
Website

Re: E233: cannot open display

It's always best to enter the error message into a search engine:

https://www.linuxquestions.org/question … 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

Offline

#3 2020-10-23 08:44:15

boycottsystemd
Member
Registered: 2017-09-25
Posts: 96  

Re: E233: cannot open display

Head_on_a_Stick wrote:

It's always best to enter the error message into a search engine:

why do you think I didn't do that ?

Offline

#4 2020-10-23 14:54:36

golinux
Administrator
Registered: 2016-11-25
Posts: 2,076  

Re: E233: cannot open display

boycottsystemd wrote:
Head_on_a_Stick wrote:

It's always best to enter the error message into a search engine:

why do you think I didn't do that ?

Obviously, because you didn't say you did.  A proper answer requires a question containing all relevant information.  IOW, you get what you ask for.

Offline

Board footer