You are not logged in.
I have x11vnc installed (the latest version - downgrade couldnt find any older version in the Arch Rollback Machine either).
At boot, I start X with startx, and it execs evilwm. If, on the server, I open a URXVT and start x11vnc on display 0 (with the already running X server), and then start a vnc viewer on localhost:5900, it works fine (but it's a bit weird because of the vnc viewer showing itself in itself which shows itself and so on).
If I go to another computer, ssh into the server (with port 5900 being forwarded), and then vnc into localhost:5900 (which is being forwarded to my server), I get a black screen with the remote (server) mouse pointer. When I move the mouse on the remote machine, the remote cursor shows and it changes appearance when it goes over text areas, etc. However, everything else is just black - the only thing that I can see is the mouse cursor.
However, if, on the server, I ssh to my public IP (which is forwarded to my server) with ssh fowarding port 5900 to 5901 and then localhost:5901 on the vnc viewer, it still works (even though I am sshing over the internet and still using the ssh port forwarding - the only difference is that I am sshing from the server to itself).
I am using evilwm from the AUR with x11vnc version 0.9.13 (from the repos) and with the latest X server / NVIDIA drivers (also from the repos).
I tried using vncserver from TigerVNC but that can't connect to a preexisting X server, it needs to make a new display. I need to be using the same display that startx creates. I also can not use ssh X forwarding, as I am VNCing from a Windows computer on which I can not install programs (Xming).
How can I get it to show windows and their contents when viewing from a different machine?
Last edited by subraizada3 (2013-11-21 23:57:02)
Offline
I know nothing about vnc but there's an article in the wiki https://wiki.archlinux.org/index.php/X11vnc#SSH_Tunnel
Are you using the same command?
Offline
Yes, I am using the same commands.
I have done this before with Ubuntu, and I am using the same process this time.
I can get the SSH tunnel running and the VNC connected, the problem is that the only thing that shows up in the VNC client is the mouse cursor.
Offline
There may be some unknown bug with x11vnc.
You could use x0vncserver or load vnc option in xorg.conf if you have tigervnc installed.
Both of them are faster than x11vnc.
Offline