cannot open display: 127.0.0.53:0
For some reason, it’s trying to connect to your X server using TCP/IP instead of the local Unix socket (I’m guessing your environment variable
DISPLAY is probably set to some weird value like
127.0.0.53:0 instead of
I’m unsure what caused this problem in a first place, but I think the following may help you: command line - Can't launch graphical apps from terminal after updating to 15.10 - Ask Ubuntu
Can you start any other graphical applications from your terminal ?
- Flatpak installs (…)
The logs in your Flatpak installation start with:
Unable to init server: Could not connect: Connection refused
This is likely to be the very same problem.
- Building from master git source
TL;DR: Just remove the
./ (it’s not in the instructions … )
When you run
source ./activate_test_env.sh, it modifies your environment variable
PATH. By doing so it, your shell can find the commands
make install installed them.
If you specify
./, you force your shell to ignore the variable
PATH and look in the current directory only instead. If you run
ls, you will see that there is a directory
paperwork-gtk in the current directory → You basically told your shell to run the directory
paperwork-gtk, and that’s why it replied with
permission denied (not the most explicit error in this case …).
sudo probably changed your current work directory (probably
cd $HOME), that’s why you got
command not found instead