x11vnc

You can normally always access your linux box remotely using VNC, but normally you can't access your real desktop...  instead you would access a new login screen.

If you need to access your real desktop, x11vnc is the best way.

Make sure all normal vnc packages are installed on your system before doing anything else.

Search for vnc in your software manager and add everything... vnc and development packages (if any).

Next, go to a terminal, type vncpasswd, then enter the password you want to use twice.  Type N for no when asked for a view only password.

Local Installation

Website:  http://www.karlrunge.com/x11vnc/

Developer Snapshot 0.9.4 - Download:  x11vnc-0.9.4.tar.gz (Local) / x11vnc-0.9.4.tar.gz (Remote)

Official / Stable 0.9.3 - Download:  x11vnc-0.9.3.tar.gz (Local) / x11vnc-0.9.3.tar.gz (Remote)

Extract the tar.gz file...  browse to the folder and open a terminal there.

In the terminal type:

./configure && make && sudo make install

You can add a shortcut to your KDE Autostart folder (/home/sgt-d/.kde/Autostart) with the following command:

x11vnc -display :0 -rfbauth ~/.vnc/x11vnc -noncache -forever &

Now each time KDE starts, x11vnc will run in the background, allowing you to connect remotely to your real desktop.

Troubleshooting

If you need to troubleshoot, run the x11vnc command (above) in a terminal - you should not see any errors.

If you did the vncpasswd command (above), you shouldn't have any real problems.

You may need to allow a port in the linux firewall, or disable it, and you may need to establish port forwarding on your router.

Power saver mode in linux should probably be disabled...  your PC will most likely not respond if it is in power saver mode.

Remote Installation (SSH/PuTTY)

If you aren't at your linux box, you could SSH in to your box (I used PuTTY in Windows) and remotely install x11vnc, I just ran these commands and everyting worked fine...

For Developer Snapshot 0.9.4...

wget http://www.karlrunge.com/x11vnc/x11vnc-0.9.4.tar.gz
tar -zxvf 
x11vnc-0.9.4.tar.gz
cd x11vnc-0.9.4/
./configure && make && sudo make install
vncpasswd ~/.vnc/x11vnc
(type new pw 2x - no 'view' pw)
x11vnc -display :0 -rfbauth ~/.vnc/x11vnc -noncache -forever &

For Official / Stable 0.9.3...

wget http://easynews.dl.sourceforge.net/sourceforge/libvncserver/x11vnc-0.9.3.tar.gz
tar -zxvf 
x11vnc-0.9.3.tar.gz
cd x11vnc-0.9.3/
./configure && make && sudo make install
vncpasswd ~/.vnc/x11vnc
(type new pw 2x - no 'view' pw)
x11vnc -display :0 -rfbauth ~/.vnc/x11vnc -noncache -forever &