I am connecting to my desktop which has an Nvidia card (CUDA compatible) using remote desktop connection.
I am doing this because I currently don\'t have a monitor!
Unless you're using Windows, SSH would be a good option. If you use an IDE or want to use the mouse in your text editor, X11 forwarding is still supported while running CUDA.
As said, you cannot use remote desktop.
Instead, you can use a VNC client such as Splashtop Remote Desktop, it is free.