The officially official Devuan Forum!

You are not logged in.

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

boycottsystemd
Member
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 ?

Offline

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

Head_on_a_Stick
Member
From: London
Registered: 2019-03-24
Posts: 983  
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

Board footer