I have been trying for a few weeks to get a vnc server running on my desktop but whatever I do, there is something not working.
I tried with tigervnc first. TigerVNC - ArchWiki
IIRC I ONLY ran this (arch wiki) first and actually got it to work (I connected and got to the sddm login screen, sharing the screen with my actual monitor), but I cant remember HOW, because after I did that I followed this Install VNC on Manjaro for Remote Access and that screwed everything up. Sure, I can log in with a vlc client, but when I try to physically log in to my computer, the loading screen freezes and I have to disable the vncserver service and reboot my computer.
I’m trying to understand what screen means? Screen 0 is referenced multiple times but why??? Isn’t the monitor I use screen 1?
I then gave up and tried to get x11vnc to work. X11vnc - ArchWiki
I works if I’m already logged in to my physical computer, otherwise it refuses to start with either
x11vnc -display :0 -auth $(find /var/run/sddm/ -type f) or changing
/usr/share/sddm/scripts/Xsetup as mentioned in the wiki.
Heck, I even ran the actual find command and then used the generated directory to try to get it to work, but it refuses.
I have seen people reference “realvnc” but isn’t that an arm based program?
What I want to accomplish is, when I’m from home, connect to my openvpn server, use wake on lan and then use a vnc viewer to access my computer. I know I have to figure out some bridging or something with my vpnserver, so this far, I’m just trying to get ANY vncserver working and connect to it over local network, but I seem to have walked into a wall.
I really like the idea of starting x11vnc in ssh and THEN connecting, but as I said, if I’m not already physically logged in to my computer, x11vnc refuses to run.
-auth guess also doesn’t work.
Please help, ANY vlc server will do.