[opensuse] Remote desktop
![](https://seccdn.libravatar.org/avatar/7527ff019b7a5078cb8647683a49d303.jpg?s=120&d=mm&r=g)
Hi, Is there some application to take over a remote graphical screen ? I know I can VNC, but then "the other side" does not see anything what I'm doing, and I like them to learn from what I'm doing. I could use Teamviewer, but I don't like the idea to contact a strange server before I can contact the remote desktop. I'm running Opensusewith KDE4. One of the targets is running Ubuntu, others also Opensuse, it that matters. Thanks for any pointers. Koenraad. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
![](https://seccdn.libravatar.org/avatar/abdee805d4df05af9a496107100c582c.jpg?s=120&d=mm&r=g)
* Koenraad Lelong
Is there some application to take over a remote graphical screen ? I know I can VNC, but then "the other side" does not see anything what I'm doing, and I like them to learn from what I'm doing.
I run vnc and have no problem with the mouse pointer and "other side" actions being visible on widows or linux. Have you hidden the mouse pointer on the client or some other such action.
I'm running Opensusewith KDE4. One of the targets is running Ubuntu, others also Opensuse, it that matters.
I guess that is 13.1, but I haven't seen any problems with vnc back to 11.0.... -- (paka)Patrick Shanahan Plainfield, Indiana, USA @ptilopteri http://en.opensuse.org openSUSE Community Member facebook/ptilopteri http://wahoo.no-ip.org Photo Album: http://wahoo.no-ip.org/gallery2 Registered Linux User #207535 @ http://linuxcounter.net -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
![](https://seccdn.libravatar.org/avatar/7527ff019b7a5078cb8647683a49d303.jpg?s=120&d=mm&r=g)
op 08-02-14 18:54, Patrick Shanahan schreef:
Is there some application to take over a remote graphical screen ? I know I can VNC, but then "the other side" does not see anything what I'm doing, and I like them to learn from what I'm doing. I run vnc and have no problem with the mouse pointer and "other side" actions being visible on widows or linux. Have you hidden the mouse
* Koenraad Lelong
[02-08-14 12:33]: pointer on the client or some other such action. I'm running Opensusewith KDE4. One of the targets is running Ubuntu, others also Opensuse, it that matters. I guess that is 13.1, but I haven't seen any problems with vnc back to 11.0....
I thought vnc was something like telnet or ssh, but graphical. I need to investigate this. Thanks. Koenraad -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
![](https://seccdn.libravatar.org/avatar/abdee805d4df05af9a496107100c582c.jpg?s=120&d=mm&r=g)
* Koenraad Lelong
op 08-02-14 18:54, Patrick Shanahan schreef:
Is there some application to take over a remote graphical screen ? I know I can VNC, but then "the other side" does not see anything what I'm doing, and I like them to learn from what I'm doing. I run vnc and have no problem with the mouse pointer and "other side" actions being visible on widows or linux. Have you hidden the mouse
* Koenraad Lelong
[02-08-14 12:33]: pointer on the client or some other such action. I'm running Opensusewith KDE4. One of the targets is running Ubuntu, others also Opensuse, it that matters. I guess that is 13.1, but I haven't seen any problems with vnc back to 11.0....
I thought vnc was something like telnet or ssh, but graphical. I need to investigate this.
Not telnet, iiuc, but yes, a graphical window thru an encrypted tunnel to the *other* desktop. I use it frequently to help a few families who are quite computer _challenged_, including my spouse and some 100s of miles away. -- (paka)Patrick Shanahan Plainfield, Indiana, USA @ptilopteri http://en.opensuse.org openSUSE Community Member facebook/ptilopteri http://wahoo.no-ip.org Photo Album: http://wahoo.no-ip.org/gallery2 Registered Linux User #207535 @ http://linuxcounter.net -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
![](https://seccdn.libravatar.org/avatar/008a8db3f6a813af5f8064f2be96e100.jpg?s=120&d=mm&r=g)
On Sat, 08 Feb 2014 18:31:06 +0100, Koenraad Lelong wrote:
Hi,
Is there some application to take over a remote graphical screen ? I know I can VNC, but then "the other side" does not see anything what I'm doing, and I like them to learn from what I'm doing. I could use Teamviewer, but I don't like the idea to contact a strange server before I can contact the remote desktop. I'm running Opensusewith KDE4. One of the targets is running Ubuntu, others also Opensuse, it that matters.
Thanks for any pointers.
Koenraad.
On openSUSE (and SUSE Linux Enterprise), enable "Remote Administration" and then use VNC, that'll connect you to display :0. If those options aren't available, use x11vnc to access :0. Tunnel over ssh for security. There are plenty of online tutorials on how to do that. Jim -- Jim Henderson Please keep on-topic replies on the list so everyone benefits -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
![](https://seccdn.libravatar.org/avatar/008a8db3f6a813af5f8064f2be96e100.jpg?s=120&d=mm&r=g)
On Sat, 08 Feb 2014 20:20:41 +0000, Jim Henderson wrote:
On openSUSE (and SUSE Linux Enterprise), enable "Remote Administration" and then use VNC, that'll connect you to display :0.
Sorry, braincramp there - remote administration sets up a remote desktop that isn't shared. Remote Desktop is what I should have said (and what I was thinking of). Jim -- Jim Henderson Please keep on-topic replies on the list so everyone benefits -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
![](https://seccdn.libravatar.org/avatar/af97f6e32fed39eea38e96afea902e16.jpg?s=120&d=mm&r=g)
On 14-02-08 03:22 PM, Jim Henderson wrote:
On Sat, 08 Feb 2014 20:20:41 +0000, Jim Henderson wrote:
On openSUSE (and SUSE Linux Enterprise), enable "Remote Administration" and then use VNC, that'll connect you to display :0. Sorry, braincramp there - remote administration sets up a remote desktop that isn't shared. Remote Desktop is what I should have said (and what I was thinking of).
Jim Ummm, I just did that, just to see what happens. I have two boxes running OpenSuse 13.1. On the one, I went enabled "Remote Administration", and told it to open the ports it uses in the firewall. I then ran vncviewer, and told it to connect to the machine on which I enabled Remote Administrator, and I got back an error, "connection refused"
There must be a little more to it that you, or chapter 5 in the manual (doc.opensuse.org/products/draft/SLES/SLES-admin_sd_draft/cha.vcn.html) have to say about it. Actually, the manual I was reading says vnc connections are not encrypted. I am not so much interested in administering the one from the other, but rather, the one I want the vnc server running on is accessible through a KVM switch, and I want an alternative to using the switch to access it's desktop and to run various programs (such as Emacs, to edit files I want in the htdocs used by the web server on that machine - for testing purposes before I deploy these scripts to the machine that will make them useful to remote clients). One of my annoyances is that the machine I use for Skype communications is on the same KVM switch (and some colleagues get upset when I don't respond instantly to their calls. It would thus be useful to use VNC to connect to this machine from my main workstation (where I do most of my code development). So, I did exactly what you said to do and the connection was refused. What do I need to change in order to have it work in the manner you described? Feel free to be a little pedantic, as I am still learning how best to use Linux ;-) Cheers Ted -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
![](https://seccdn.libravatar.org/avatar/008a8db3f6a813af5f8064f2be96e100.jpg?s=120&d=mm&r=g)
On Sat, 08 Feb 2014 18:08:31 -0500, Ted Byers wrote:
On 14-02-08 03:22 PM, Jim Henderson wrote:
On Sat, 08 Feb 2014 20:20:41 +0000, Jim Henderson wrote:
On openSUSE (and SUSE Linux Enterprise), enable "Remote Administration" and then use VNC, that'll connect you to display :0. Sorry, braincramp there - remote administration sets up a remote desktop that isn't shared. Remote Desktop is what I should have said (and what I was thinking of).
Jim Ummm, I just did that, just to see what happens. I have two boxes running OpenSuse 13.1. On the one, I went enabled "Remote Administration", and told it to open the ports it uses in the firewall. I then ran vncviewer, and told it to connect to the machine on which I enabled Remote Administrator, and I got back an error, "connection refused"
There must be a little more to it that you, or chapter 5 in the manual (doc.opensuse.org/products/draft/SLES/SLES-admin_sd_draft/cha.vcn.html) have to say about it.
Actually, the manual I was reading says vnc connections are not encrypted.
I am not so much interested in administering the one from the other, but rather, the one I want the vnc server running on is accessible through a KVM switch, and I want an alternative to using the switch to access it's desktop and to run various programs (such as Emacs, to edit files I want in the htdocs used by the web server on that machine - for testing purposes before I deploy these scripts to the machine that will make them useful to remote clients). One of my annoyances is that the machine I use for Skype communications is on the same KVM switch (and some colleagues get upset when I don't respond instantly to their calls. It would thus be useful to use VNC to connect to this machine from my main workstation (where I do most of my code development).
So, I did exactly what you said to do and the connection was refused. What do I need to change in order to have it work in the manner you described? Feel free to be a little pedantic, as I am still learning how best to use Linux ;-)
I didn't actually have to do anything special to get it to work - I just enabled remote desktop and it worked with VNC. I use the GNOME desktop, so the specific steps to set things up are going to be different, but on GNOME: Menu (upper-right corner)->All Settings->Sharing->Screen Sharing Then enable the appropriate options. There will be something similar in the KDE control center, but someone else will have to tell you where to look. To tunnel over ssh, you need to set up an ssh tunnel from your system to the system you want to remote control. If you do that, you don't need the VNC port open (and in general, because it's not encrypted, you don't want to). A simple way to tunnel is: ssh -L5910:localhost:5900 [targetsystem] Replacing [targetsystem] with your target system. You can configure this in ~/.ssh/config to make it simpler. I set mine up using pubkey authentication as well. Then use VNC to make the connection: vnc localhost:10 This connects to the local system on port 5910, which is forwarded to the remote system's port 5900. That's the quick-and-dirty way to do it - like I said, there are lots of tutorials on the 'net that go into a lot more detail if you need it. Jim -- Jim Henderson Please keep on-topic replies on the list so everyone benefits -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
![](https://seccdn.libravatar.org/avatar/7527ff019b7a5078cb8647683a49d303.jpg?s=120&d=mm&r=g)
op 09-02-14 01:46, Jim Henderson schreef: Then enable the appropriate options. There will be something similar in
the KDE control center, but someone else will have to tell you where to look.
To tunnel over ssh, you need to set up an ssh tunnel from your system to the system you want to remote control. If you do that, you don't need the VNC port open (and in general, because it's not encrypted, you don't want to).
A simple way to tunnel is:
ssh -L5910:localhost:5900 [targetsystem]
Replacing [targetsystem] with your target system. You can configure this in ~/.ssh/config to make it simpler. I set mine up using pubkey authentication as well.
Then use VNC to make the connection:
vnc localhost:10
This connects to the local system on port 5910, which is forwarded to the remote system's port 5900.
That's the quick-and-dirty way to do it - like I said, there are lots of tutorials on the 'net that go into a lot more detail if you need it.
Jim
Hi, Thanks all for your responses. I found Krfb, which does what I want, at least on suse 12.2. Run it on the remote host. You get a screen where you get an IP-address to connect to and a password. In my case the ip-address is invalid, it's on a local subnet of my "VMware network", not on the public Internet. Then you can connect to it with a vnc-client. On the remote side, you get a question if the other side is allowed to connect. If yes, the other side has to enter the password. Then you're connected and can take over the running session. I will solve the ip-address-problem with dyndns. I have to test the tunnel. I thought of running stunnel, but using ssh with redirection seems a bit simpler to set up. Now I have to find a similar application on Ubuntu. Koenraad -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
![](https://seccdn.libravatar.org/avatar/7527ff019b7a5078cb8647683a49d303.jpg?s=120&d=mm&r=g)
op 10-02-14 12:18, Koenraad Lelong schreef:
Hi,
Thanks all for your responses. I found Krfb, which does what I want, at least on suse 12.2. Run it on the remote host. You get a screen where you get an IP-address to connect to and a password. In my case the ip-address is invalid, it's on a local subnet of my "VMware network", not on the public Internet. Then you can connect to it with a vnc-client. On the remote side, you get a question if the other side is allowed to connect. If yes, the other side has to enter the password. Then you're connected and can take over the running session.
I will solve the ip-address-problem with dyndns.
I have to test the tunnel. I thought of running stunnel, but using ssh with redirection seems a bit simpler to set up.
Now I have to find a similar application on Ubuntu.
Koenraad
Thinking further about it, another problem : none of the machines I want to manage are directly connected to the Internet but are behind a router. So I need some port-forwarding before I can reach the machines. Or is there another solution to that ? Koenraad -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
![](https://seccdn.libravatar.org/avatar/77cb4da5f72bc176182dcc33f03a18f3.jpg?s=120&d=mm&r=g)
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 On 2014-02-10 12:34, Koenraad Lelong wrote:
Thinking further about it, another problem : none of the machines I want to manage are directly connected to the Internet but are behind a router. So I need some port-forwarding before I can reach the machines. Or is there another solution to that ?
That's why some use the other solution with an intermediary server. It solves the problem of finding the dynamic address of the target, and traversing the router, apparently. - -- Cheers / Saludos, Carlos E. R. (from 13.1 x86_64 "Bottle" (Minas Tirith)) -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.22 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iF4EAREIAAYFAlL4uysACgkQja8UbcUWM1wfhgD+JLgdjiy1LMtr9PpEd+27mYxN TJWzHktQhziB5b5r6hoA+wW9YdFtZp11RU0MCd5upvmiDR+5DFP/RxZ/9DCE0OXx =9OlE -----END PGP SIGNATURE----- -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
![](https://seccdn.libravatar.org/avatar/ba86f283d614d2cd9b6116140eaddded.jpg?s=120&d=mm&r=g)
Koenraad Lelong wrote:
Thinking further about it, another problem : none of the machines I want to manage are directly connected to the Internet but are behind a router. So I need some port-forwarding before I can reach the machines. Or is there another solution to that ?
You may need a VPN. I have used OpenVPN in the past and it worked well. However, since I now run IPv6, I can get to my computers directly, as they all have public IPv6 addresses. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
![](https://seccdn.libravatar.org/avatar/b4047644c59f2d63b88e9464c02743fd.jpg?s=120&d=mm&r=g)
On 2/10/2014 3:18 AM, Koenraad Lelong wrote:
You get a screen where you get an IP-address to connect to and a password. In my case the ip-address is invalid, it's on a local subnet of my "VMware network", not on the public Internet. Then you can connect to it with a vnc-client. On the remote side, you get a question if the other side is allowed to connect. If yes, the other side has to enter the password. Then you're connected and can take over the running session.
There is verbage on the invitation when you are at the point of sending it that states that the IP is a just guess, (and not a very smart guess at that). When sending an email invite you have to manually edit the email. There seems no way to configure kfrb to carry a custom external IP or such. Configuring a port through your router will be necessary, and those ports tend to get a lot of hacker attempts. You might want to just pick some unusual high ports and route those to your workstation on the desired port(s). The solution is even more problematic when you have multiple workstations attempting to share a desktop behind a common router. -- _____________________________________ ---This space for rent--- -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
![](https://seccdn.libravatar.org/avatar/27aacf61a13c66fcc083fcf8a84823bc.jpg?s=120&d=mm&r=g)
On 02/08/2014 05:08 PM, Ted Byers wrote:
Ummm, I just did that, just to see what happens. I have two boxes running OpenSuse 13.1. On the one, I went enabled "Remote Administration", and told it to open the ports it uses in the firewall. I then ran vncviewer, and told it to connect to the machine on which I enabled Remote Administrator, and I got back an error, "connection refused"
Sometimes running rdesktop from konsole (or xterm) can be useful in debugging. Additionally, rdesktop is a very flexible remote X solution offering a seamless (per application) X-window approach. It also gives you easy port control for connection on non-standard ports. (useful if running multiple headless virtualbox machines) The standard command can be fired up from the command line or from the run-dialog on your desktop and will look something like $ rdesktop remotehost.server.com:port -u username -g 1280x800 -x l & (drop the '&' if launching via the run-dialog) $ rdesktop --help # for details, see -E for encryption control -- David C. Rankin, J.D.,P.E. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
![](https://seccdn.libravatar.org/avatar/898103d5a7c5ab5de5d7101122d14af9.jpg?s=120&d=mm&r=g)
On Sat, 2014-02-08 at 18:31 +0100, Koenraad Lelong wrote:
Hi,
Is there some application to take over a remote graphical screen ? I know I can VNC, but then "the other side" does not see anything what I'm doing, and I like them to learn from what I'm doing. I could use Teamviewer, but I don't like the idea to contact a strange server before I can contact the remote desktop. I'm running Opensusewith KDE4. One of the targets is running Ubuntu, others also Opensuse, it that matters.
Thanks for any pointers.
Koenraad.
Hi Koenraad, with regards to remote desktop's: Perhaps it is worthwhile looking at: a) nomachine's NX b) freenx c) x2go All part of the same xdmcp-family, nomachine is commercial, and x2go is the latest, most vivid fork, and available on the OBS Also might consider Cendio's "thinlinc" (vnc family) Besides encryption, both do also compression, something that plain vnc or "ssh -X" won't do. Hans -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
![](https://seccdn.libravatar.org/avatar/008a8db3f6a813af5f8064f2be96e100.jpg?s=120&d=mm&r=g)
On Sun, 09 Feb 2014 00:45:31 +0100, Hans Witvliet wrote:
Besides encryption, both do also compression, something that plain vnc or "ssh -X" won't do.
"ssh -X -C" will, though. ;) Jim -- Jim Henderson Please keep on-topic replies on the list so everyone benefits -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
participants (9)
-
Carlos E. R.
-
David C. Rankin
-
Hans Witvliet
-
James Knott
-
Jim Henderson
-
John Andersen
-
Koenraad Lelong
-
Patrick Shanahan
-
Ted Byers