Difference between revisions of "Vncserver"

From Notes_Wiki
(Created page with "<yambe:breadcrumb>Remote_administration_tools|Remote administration tools</yambe:breadcrumb> =vncserver= It is possible to do graphical remote desktop on a machine using vncs...")
 
m
Line 1: Line 1:
<yambe:breadcrumb>Remote_administration_tools|Remote administration tools</yambe:breadcrumb>
<yambe:breadcrumb self="Vncserver">Remote administration tools|Remote administration tools</yambe:breadcrumb>
=vncserver=
=vncserver=


Line 9: Line 9:
</pre>
</pre>
to connect to server assuming vncserver is listening on 5901 (:1).  Then on the remote client use '<tt>vncviewer 127.0.0.1:5901</tt>' to connect to desktop of remote server
to connect to server assuming vncserver is listening on 5901 (:1).  Then on the remote client use '<tt>vncviewer 127.0.0.1:5901</tt>' to connect to desktop of remote server
<yambe:breadcrumb self="Vncserver">Remote administration tools|Remote administration tools</yambe:breadcrumb>

Revision as of 09:20, 12 September 2018

<yambe:breadcrumb self="Vncserver">Remote administration tools|Remote administration tools</yambe:breadcrumb>

vncserver

It is possible to do graphical remote desktop on a machine using vncserver. Vncserver can be started remotely over SSH so direct physical access to computer is not required for enabling remote desktop. Use command 'vncserver :0' or 'vncserver :1'. It will prompt for server password. Type something safe of about 8 characters and repeat password. Note that this password would be permanently saved for future sessions also. If there is nothing already listening on port 5900 in case of :0 or port 5901 in case of :1 then vncserver will start easily. In case of error try :2, :3, etc.

Now use

  ssh -L 5901:127.0.0.1:5901 <username>@<host>

to connect to server assuming vncserver is listening on 5901 (:1). Then on the remote client use 'vncviewer 127.0.0.1:5901' to connect to desktop of remote server


<yambe:breadcrumb self="Vncserver">Remote administration tools|Remote administration tools</yambe:breadcrumb>