Does anyone out there know how I can connect to a VNC server in Linux through command line??
I am using Ubuntu
You don't really connect *to* a VNC server through the command line. You connect by running a VNC client on a machine with a windowing system running.
yeah i am using the Remote Desktop Viewer to connect to a VPN server. But there must be a way to do the same through command line I hope
You could certainly make the VPN connection itself via the command line. But the *actual* VNC connection requires the graphical client. That said, if you just need command line access to a box, use Secure Shell.
vncviewer man -k vnc
If you are on a command line interface then SSH Is what you want, You can also use "screen" to keep tasks running when you disconnect.
Join our real-time social learning platform and learn together with your friends!