Remote Desktop: Difference between revisions
Jump to navigation
Jump to search
(Created page with " =On the remote box= Install x11vnc: <syntaxhighlight lang="bash"> sudo aptitude install x11vnc </syntaxhighlight> And finally start the vnc server: <syntaxhighlight lang="bash"> x11vnc -display :0 </syntaxhighlight> =On the local box= <syntaxhighlight lang="bash"> vncviewer <remote server ip address or host name>:0 </syntaxhighlight>") |
No edit summary |
||
| Line 1: | Line 1: | ||
There are thousands of ways to access a running Linux machine. In case you need for whatever reason remote access to a full session, one easy way is x11vnc. | |||
=On the remote box= | =On the remote box= | ||
If not already done, install x11vnc: | |||
<syntaxhighlight lang="bash"> | <syntaxhighlight lang="bash"> | ||
sudo aptitude install x11vnc | sudo aptitude install x11vnc | ||
</syntaxhighlight> | </syntaxhighlight> | ||
Finally start the vnc server: | |||
<syntaxhighlight lang="bash"> | <syntaxhighlight lang="bash"> | ||
x11vnc -display :0 | x11vnc -display :0 | ||
| Line 14: | Line 14: | ||
=On the local box= | =On the local box= | ||
Connect to the running X11 session with a vncviewer: | |||
<syntaxhighlight lang="bash"> | <syntaxhighlight lang="bash"> | ||
vncviewer <remote server ip address or host name>:0 | vncviewer <remote server ip address or host name>:0 | ||
</syntaxhighlight> | </syntaxhighlight> | ||
Latest revision as of 11:38, 9 November 2022
There are thousands of ways to access a running Linux machine. In case you need for whatever reason remote access to a full session, one easy way is x11vnc.
On the remote box
If not already done, install x11vnc:
sudo aptitude install x11vnc
Finally start the vnc server:
x11vnc -display :0
On the local box
Connect to the running X11 session with a vncviewer:
vncviewer <remote server ip address or host name>:0