You are not logged in.
Pages: 1
# 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
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)
Brianna Ghey — Rest In Power
Offline
It's always best to enter the error message into a search engine:
why do you think I didn't do that ?
Offline
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
I've read 10 previous threads here (in "Desktop and Multimedia"). There is no mention about using search engine before posting a question and no complaint about it from other users.
So why such criticism in this thread ?
Offline
It was intended as genuine advice rather than a criticism.
Brianna Ghey — Rest In Power
Offline
Hello:
... no mention about using search engine before posting a question ...
Hmm ...
There is no mention of it because it is basic common sense to do so before posting a question here and in every other forum on the net.
The same way it is basic common sense to then do a search on the site/forum to see if anyone else has come across that problem before you did.
And maybe found (or not) a solution which may have worked for them but not for you.
............................................................................................................................................................................................
Whatever data you find before posting and then share with the forum when you post constitutes relevant information.
............................................................................................................................................................................................
No need to take it as a criticism, HoaS always gives genuinely good advice.
Lighten up ...
There's a deadly pandemic raging outside.
Cheers,
A.
Last edited by Altoid (2020-11-28 16:08:27)
Offline
Hello:
boycottsystemd wrote:... no mention about using search engine before posting a question ...
Hmm ...
There is no mention of it because it is basic common sense to do so before posting a question here and in every other forum on the net.
The same way it is basic common sense to then do a search on the site/forum to see if anyone else has come across that problem before you did.
And maybe found (or not) a solution which may have worked for them but not for you.............................................................................................................................................................................................
Whatever data you find before posting and then share with the forum when you post constitutes relevant information.
............................................................................................................................................................................................No need to take it as a criticism, HoaS always gives genuinely good advice.
Lighten up ...
There's a deadly pandemic raging outside.Cheers,
A.
I've read 10 previous threads here (in "Desktop and Multimedia"). I was the only one (out of these 10 threads) who was told about making search before posting question. Do you have please explanation for it ?
Offline
Yeah, I've read many threads here and still haven't worked out any regular formula for when "advice to search" is administered.
There obviosuly should be a constent rule for it as otherwise any poster might feel left out or fingered; especially those that do search first and don't get any credit for that, as well as those who don't search first and thus suffer an amount of face loss.
Offline
Do you have please explanation for it ?
Hmm ...
Let's see.
Ah yes, found one you may like:
HoaS, golinux, our boss r.r and I are all members of a secret systemd cabal infiltrated here at Dev1 and, having nothing better to do, decided to gang up on you.
Nothing personal, just for business.
ie: fun and spite.
Lighten up ...
There's a deadly pandemic raging outside.
Cheers,
A.
Last edited by Altoid (2020-12-09 11:25:49)
Offline
It all comes down to chemistry/attitude and action/reaction. These elements cannot be quantified but are an organic part of human interaction. As I said a few posts up, you get what you ask for (even though you didn't think you asked for it). Perhaps there might be a lesson there if it can be heard . . .
Offline
I tried to use gvim as root to open /usr/share/X11/xorg.conf.d/10-backlight.conf i got the same error message. My guess is it is a limitation for running a gui application as root user, a safeguard built into gvim.
I could use gvim as sudo for the same command though.
Offline
@boycottsystemd: Assuming you're trying to use gvim while using X.org or equivalent, and are not running from a virtual console, you may have been bitten by the change in 'su -u' in beowulf. It no longer transfers your DISPLAY and XAUTHORITY environment variables to root.
You might try something like this alias:
alias tosu='su - -w DISPLAY,XAUTHORITY'
Then try gvim and see what happens.
Last edited by bbatten (2020-12-09 22:49:14)
Offline
@boycottsystemd: Assuming you're trying to use gvim while using X.org or equivalent, and are not running from a virtual console, you may have been bitten by the change in 'su -u' in beowulf. It no longer transfers your DISPLAY and XAUTHORITY environment variables to root.
You might try something like this alias:
alias tosu='su - -w DISPLAY,XAUTHORITY'
Then try gvim and see what happens.
Thank you, it works so problem is solved. (X.org, LXTerminal)
Offline
It all comes down to chemistry/attitude and action/reaction. These elements cannot be quantified but are an organic part of human interaction.
I agree.
As I said a few posts up, you get what you ask for (even though you didn't think you asked for it). Perhaps there might be a lesson there if it can be heard . . .
So lesson is
A proper answer requires a question containing all relevant information.
"This only apply to me. Less strict rule apply to the rest. "
?
Offline
It was intended as genuine advice rather than a criticism.
can you please tell why you did not give your genuine advice to other users ? (https://dev1galaxy.org/viewtopic.php?pid=25993#p25993)
Offline
Please «boycottsystemd», be reasonable; I don't think there were any ill will in this case.
Good that you found a solution to you're problem, though.
Olav
Offline
can you please tell why you did not give your genuine advice to other users ?
Because I like you best :-X
Brianna Ghey — Rest In Power
Offline
Pages: 1