I cannot start vncserver:
$ vncserver vncserver: couldn't find "Xvnc" on your PATH.
And I found that the VNC was built without Xvnc:
Extra network vnc 4.1.1-1 The original open-source cross-platform remote control solution (without xvnc)
How I can I set up a VNC server on ArchLinux?
pacman -S tightvnc
edit /usr/bin/vncserver and change the line that starts with $fontpath =
$fontPath = "/usr/X11R6/lib/X11/fonts/misc/,/usr/X11R6/lib/X11/fonts/75dpi";
Then in ~/.vnc/xstartup , change the line that says, start xwm &....(or whatever it is, can't remember right off hand.) to
You'll need to change startkde & to whatever window manager you're using. Use the same thing that's in your ~/.xinitrc
As user, run vncserver
It will ask you to set up a vnc password.
Then from your client, open your vnc viewer and enter 192.xxx.xxx.xxx:1
Enter password and it should connect you.
Yes, I just pacman -S tightvnc and vncserver works. For some reason Real VNC (the most viable one?) is not implemented.
Note that vncserver will create a new X session, so the vnc client will see a clean desktop.
If you want to make your existing desktop remotely viewable (like the windows vncserver), x11vnc is what you need.