Article 6JPVX Unable to open display ':0' when launching an app on Debian 12

Unable to open display ':0' when launching an app on Debian 12

by
Fleshyguy147
from LinuxQuestions.org on (#6JPVX)
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?
External Content
Source RSS or Atom Feed
Feed Location https://feeds.feedburner.com/linuxquestions/latest
Feed Title LinuxQuestions.org
Feed Link https://www.linuxquestions.org/questions/
Reply 0 comments