Ask your own question, for FREE!
Computer Science 24 Online
OpenStudy (atlas):

Does anyone out there know how I can connect to a VNC server in Linux through command line??

OpenStudy (atlas):

I am using Ubuntu

OpenStudy (farmdawgnation):

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.

OpenStudy (atlas):

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

OpenStudy (farmdawgnation):

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.

OpenStudy (rsmith6559):

vncviewer man -k vnc

OpenStudy (anonymous):

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.

Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!
Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!