Hi,
Yesterday my NoMachine started giving errors when opening vim and git terminals.
X11 connection rejected because of wrong authentication.
Gvim exact error:
X11 connection rejected because of wrong authentication.
E233: cannot open display
E852: The child process failed to start the GUIX11 connection rejected because of wrong authentication.Press ENTER or type command to continue
Gitk exact error:
11 connection rejected because of wrong authentication.
X11 connection rejected because of wrong authentication.
application-specific initialization failed: couldn’t connect to display “localhost:15.0”
X11 connection rejected because of wrong authentication.
X11 connection rejected because of wrong authentication.
Error in startup script: couldn’t connect to display “localhost:15.0”
while executing
“load /usr/lib/x86_64-linux-gnu/libtk8.6.so Tk”
(“package ifneeded Tk 8.6.5” script)
invoked from within
“package require Tk”
(file “/usr/bin/gitk” line 10)
After killing that session and creating a new one, I am getting issues with sourcing the .bashrc file. None of the bash commands like getting colored terminal, parsing git branch etc are working.
The same commands are working when I tried WSL.
Can you suggest what could be the issue?
$ echo $DISPLAY localhost:44.0