Unable to open display ':0' when launching an app on Debian 12
I recently installed CasaOS for a minecraft server, and recently had a thought that i could install Teamviewer on my server computer thinking i could WOL my main PC through there but my problem is that when i try to open teamviewer it shows me this message:
Init... xprop: unable to open display ':0' CheckCPU: SSE2 support: yes Checking setup... Launching TeamViewer ... Launching TeamViewer GUI ... Aborted I tried following this guide: "https://linuxconfig.org/fixing-the-cannot-open-display-error-on-linux", but it didn't work, any advice? |
Does your server have a desktop installed?
How are you trying to launch teamviewer? |
When you log into a system running X-Windows, your system needs to set a DISPLAY environment variable to point to your display and keyboard. ssh does this when you give the -X or -Y options. Logging in from the local keyboard and monitor usually sets this to :0. You can check in a terminal with the command:
Code:
echo $DISPLAY Code:
pgrep X |
Quote:
2. Through terminal by writing teamviewer |
Quote:
when i write Code:
echo $DISPLAY and Code:
pgrep X |
TeamViewer is a remote desktop application and without a desktop it is not going to run. An alternative would be to use ssh and then run etherwake or other utilities that send WOL magic packets.
|
Quote:
|
All times are GMT -5. The time now is 07:38 PM. |