Difference between revisions of "Software projects/OS/Slackware/Advanced usage/VNC"
From Pandora Wiki
Linux-SWAT (talk | contribs) (Created page with "= VNC is not a secure protocol = * So don't use it over an unsecured network, like internet. * There are methods to secure VNC, one of the neatest is to drive VNC through a SSH t...") |
Linux-SWAT (talk | contribs) (→Pandora as a shared graphical environment client, ie. Xfce) |
||
(2 intermediate revisions by the same user not shown) | |||
Line 2: | Line 2: | ||
* So don't use it over an unsecured network, like internet. | * So don't use it over an unsecured network, like internet. | ||
* There are methods to secure VNC, one of the neatest is to drive VNC through a SSH tunnel. Will explain this later. | * There are methods to secure VNC, one of the neatest is to drive VNC through a SSH tunnel. Will explain this later. | ||
+ | |||
+ | = Pandora as a shared graphical environment client, ie. Xfce = | ||
+ | * Type: | ||
+ | x11vnc --forever --display :0 | ||
+ | * You can now connect from outside, using the port 5900, and manage what is displayed on the real OP screen. | ||
+ | * To make this permanent under Xfce, go in the menu -> Settings -> Settings Manager -> Session and Startup -> Application Autostart tab, then check "x11vnc". | ||
= Pandora as a standalone VNC server = | = Pandora as a standalone VNC server = | ||
Line 12: | Line 18: | ||
* The :1 means the server run on graphical server :1 . The normal display you use when you're under, ie. Xfce, is :0 . | * The :1 means the server run on graphical server :1 . The normal display you use when you're under, ie. Xfce, is :0 . | ||
* You can now connect from outside, using the port 5901. If you run a second server :2, you will connect to it using the port 5902, etc.. | * You can now connect from outside, using the port 5901. If you run a second server :2, you will connect to it using the port 5902, etc.. | ||
− | |||
− | |||
− | |||
− | |||
− | |||
= Pandora as VNC client = | = Pandora as VNC client = | ||
Line 24: | Line 25: | ||
* Investigate for dependencies [http://slackbuilds.org/repository/13.37/network/remmina/ here]. | * Investigate for dependencies [http://slackbuilds.org/repository/13.37/network/remmina/ here]. | ||
* Download packages [http://slackware.openpandora.org/pandora/index.php?dir=sl4p%2Fsl4p-13.37%2Fpackages%2Fextra here]. | * Download packages [http://slackware.openpandora.org/pandora/index.php?dir=sl4p%2Fsl4p-13.37%2Fpackages%2Fextra here]. | ||
+ | |||
+ | |||
+ | [[Category:Network]] | ||
+ | [[Category:Slackware]] | ||
+ | [[Category:Software]] |
Latest revision as of 04:38, 28 November 2012
Contents
VNC is not a secure protocol
- So don't use it over an unsecured network, like internet.
- There are methods to secure VNC, one of the neatest is to drive VNC through a SSH tunnel. Will explain this later.
- Type:
x11vnc --forever --display :0
- You can now connect from outside, using the port 5900, and manage what is displayed on the real OP screen.
- To make this permanent under Xfce, go in the menu -> Settings -> Settings Manager -> Session and Startup -> Application Autostart tab, then check "x11vnc".
Pandora as a standalone VNC server
- As user, launch:
vncserver
- You're prompted to create a password, then prompted again for a view-only password, ie. for an observer-only.
- For security reasons, avoid typing the same as those you created for your Linux accounts.
- Then the vncserver starts and gives you this info:
Log file is /home/user/.vnc/darkstar:1.log
- The :1 means the server run on graphical server :1 . The normal display you use when you're under, ie. Xfce, is :0 .
- You can now connect from outside, using the port 5901. If you run a second server :2, you will connect to it using the port 5902, etc..