<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<atom:link href="http://dev1galaxy.org/extern.php?action=feed&amp;tid=1583&amp;type=rss" rel="self" type="application/rss+xml" />
		<title><![CDATA[Dev1 Galaxy Forum / free software alternative to Teamviewer? [SOLVED]]]></title>
		<link>http://dev1galaxy.org/viewtopic.php?id=1583</link>
		<description><![CDATA[The most recent posts in free software alternative to Teamviewer? [SOLVED].]]></description>
		<lastBuildDate>Fri, 15 Sep 2017 20:10:11 +0000</lastBuildDate>
		<generator>FluxBB</generator>
		<item>
			<title><![CDATA[Re: free software alternative to Teamviewer? [SOLVED]]]></title>
			<link>http://dev1galaxy.org/viewtopic.php?pid=5054#p5054</link>
			<description><![CDATA[<p>I updated post #20 with a massively overhauled version of my script, which features:</p><p>1. Organization (go functions!)<br />2. Extensive, optional sanity checks--mostly to help &quot;future me&quot; get things working on my (helper) end<br />3. @fungus - Default/initial variable values less prone to optical illusions</p><p>BTW, I tried the script with firewall active on my machine and only port 22 open. Script worked. Script also worked with router forwarding nothing but port 22. I think this proves that the remote desktop session is traveling within the SSH tunnel.</p>]]></description>
			<author><![CDATA[dummy@example.com (GNUser)]]></author>
			<pubDate>Fri, 15 Sep 2017 20:10:11 +0000</pubDate>
			<guid>http://dev1galaxy.org/viewtopic.php?pid=5054#p5054</guid>
		</item>
		<item>
			<title><![CDATA[Re: free software alternative to Teamviewer? [SOLVED]]]></title>
			<link>http://dev1galaxy.org/viewtopic.php?pid=5023#p5023</link>
			<description><![CDATA[<p>@fungus - that was</p><div class="quotebox"><blockquote><div><p>initial_helpee_password=&quot;milpassword&quot;<br />helpee_password_save_file=$HOME/.helpee_password</p></div></blockquote></div>]]></description>
			<author><![CDATA[dummy@example.com (garyz.dev1)]]></author>
			<pubDate>Tue, 12 Sep 2017 19:27:02 +0000</pubDate>
			<guid>http://dev1galaxy.org/viewtopic.php?pid=5023#p5023</guid>
		</item>
		<item>
			<title><![CDATA[Re: free software alternative to Teamviewer? [SOLVED]]]></title>
			<link>http://dev1galaxy.org/viewtopic.php?pid=5010#p5010</link>
			<description><![CDATA[<p>motherinlaw milfpassword, I think you just have the hots for your mother in law.&#160; Which is OK</p>]]></description>
			<author><![CDATA[dummy@example.com (fungus)]]></author>
			<pubDate>Mon, 11 Sep 2017 21:42:38 +0000</pubDate>
			<guid>http://dev1galaxy.org/viewtopic.php?pid=5010#p5010</guid>
		</item>
		<item>
			<title><![CDATA[Re: free software alternative to Teamviewer? [SOLVED]]]></title>
			<link>http://dev1galaxy.org/viewtopic.php?pid=5005#p5005</link>
			<description><![CDATA[<p>I created this script for my own use, but thought I&#039;d share. </p><p>If required packages (listed near top of the script) are installed, just run the script on both helper and helpee&#039;s machine, and it sets up a reverse SSH tunnel containing a reverse VNC connection (reversing the connections causes port forwarding to only be needed on helper&#039;s end, a big plus since helpees will probably not know how to setup port forwarding on their router).</p><div class="codebox"><pre class="vscroll"><code>#!/bin/bash

# No-config* Encrypted Remote Desktop (NERD), version 2.3
# * for helpee
# Author: Bruno &quot;GNUser&quot; Dantas
# License: GPLv3
# Last update: 18Sep2017

# Usage:
# To use this script, just run it in a terminal on both machines (as regular user, not root/sudo) and follow the prompts :)

# Rationale:
# This script sets up a remote desktop session using VNC, through SSH for encryption/privacy. All configuration is done on helper&#039;s end.

# Requirements/setup:
# Packages installed on helpee&#039;s machine: openssh-client, openssh-server, sshpass, x11vnc
# Configuration on helpee&#039;s router: none
# Configuration on helpee&#039;s computer: none
#
# Packages installed on helper&#039;s machine: openssh-client, openssh-server, sshpass, vinagre, nmap
# Configuration on helper&#039;s router: sshd listening port (default in /etc/ssh/sshd_config is port 22) forwarded to helper&#039;s local ip.
# Configuration on helper&#039;s computer: Firewall off (or firewall on with port 22 open)

# Note:
# If you don&#039;t want the sanity checks, feel free to comment out the &quot;check-...&quot; lines in the main function. 
# Without the sanity checks, nmap is not required to be installed on the helper&#039;s machine.

main()
{
	savefile=$HOME/.nerd
	sshd_port=22
	clear
	show-greeting
	ask-purpose
	load-variables
	if [ &quot;$mode&quot; = &quot;helpee&quot; ]; then
		check-internet
		check-dependencies ssh sshpass x11vnc
		check-sshd-running
		initial-instructions
		confirm helper_username
		confirm helper_password
		confirm helper_public_ip
	elif [ &quot;$mode&quot; = &quot;helper&quot; ]; then
		check-internet
		check-dependencies ssh sshpass vinagre nmap
		helper_public_ip=$(wget http://ipinfo.io/ip -q -O -)
		check-sshd-running
		check-sshd-port
		check-port-forwarding
		initial-instructions
		confirm helpee_username
		confirm helpee_password
	fi
	save-variables
	final-instructions
	connect
}

red=&#039;\033[0;31m&#039;
green=&#039;\033[0;32m&#039;
nc=&#039;\033[0m&#039; # no color

terminal_width=$(tput cols)
pretty()
{
	fold -s -w $terminal_width
}

show-greeting()
{
	printf &quot;Welcome to the No-config* Encrypted Remote Desktop\n* for helpee\n\n&quot; | pretty
}

ask-purpose()
{
	while true; do
		read -n 1 -p &quot;Will you get (g) or offer (o) help? [g/o] &quot; -e ans
		case $ans in
			g) mode=&quot;helpee&quot;; break;;
			o) mode=&quot;helper&quot;; break;;
			q) exit 0;;
			*) echo &quot;Please enter a valid choice or q to quit&quot;;;
		esac
	done
	echo &quot;&quot;
}

check-internet()
{
	printf &#039;%-50s&#039; &quot;Checking for internet connection...&quot;
	if ping -c 1 8.8.8.8 &amp;&gt;/dev/null; then
		printf &quot;${green}PASS${nc}\n&quot;
	else
		printf &quot;${red}FAIL${nc}\n&quot;
		printf &quot;No internet connection. This script requires an internet connection.\n&quot;
		exit 1
	fi
}

check-port-forwarding()
{
	printf &#039;%-50s&#039; &quot;Checking for port $sshd_port forwarding...&quot;
	local_response=$(timeout 1 ncat -v localhost $sshd_port 2&gt;/dev/null | grep -i ssh)
	remote_response=$(timeout 1 ncat -v $helper_public_ip $sshd_port 2&gt;/dev/null | grep -i ssh)
	if [ &quot;$local_response&quot; = &quot;$remote_response&quot; ] &amp;&amp; grep -iq ssh &lt;&lt;&lt;&quot;$remote_response&quot;; then
		printf &quot;${green}PASS${nc}\n&quot;
	else
		printf &quot;${red}FAIL${nc}\n&quot;
		echo &quot;Port $sshd_port not forwarded correctly.
Things to check:
- Router is forwarding port $sshd_port to your machine&#039;s local ip?
- Your local ip matches the ip address in router&#039;s port forward rule?
- Firewall off (or on with port $sshd_port open) on your machine?
- VPN off?&quot; | pretty
		exit 1
	fi
}

check-sshd-running()
{
	printf &#039;%-50s&#039; &quot;Checking for running sshd...&quot;
	if ps -ef | grep -q [s]shd; then
		printf &quot;${green}PASS${nc}\n&quot;
	else
		printf &quot;${red}FAIL${nc}\n&quot;
		echo &quot;sshd is not running. Please install openssh-server and/or start it (on Devuan/SysVinit, it can be started with this command: sudo service ssh start).&quot; | pretty
		exit 1
	fi
}

check-sshd-port()
{
	printf &#039;%-50s&#039; &quot;Checking that script uses system&#039;s sshd port...&quot;
	system_port=$(nmap localhost | grep ssh | grep -Eo &quot;^[0-9]+&quot;)
	if [ $sshd_port -eq $system_port ]; then
		printf &quot;${green}PASS${nc}\n&quot;
	else
		printf &quot;${red}FAIL${nc}\n&quot;
		echo &quot;Your sshd is listening on port $system_port, but this script is configured to use $sshd_port. Please change one or the other so that they match.&quot;
		exit 1
	fi
}

check-dependencies()
{
	for dep in &quot;$@&quot;; do
		printf &#039;%-50s&#039; &quot;Checking for $dep...&quot;
		if which $dep &gt;/dev/null; then
			printf &quot;${green}PASS${nc}\n&quot;
		else
			printf &quot;${red}FAIL${nc}\n&quot;
			echo &quot;Please install $dep then try again.&quot;
			exit 1
		fi
	done
}

initial-instructions()
{
	if [ &quot;$mode&quot; = &quot;helpee&quot; ]; then
		printf &quot;\nTo initiate an encrypted remote desktop session, simply answer these three questions:\n\n&quot; | pretty
	elif [ &quot;$mode&quot; = &quot;helper&quot; ]; then
		printf &quot;\nYour public ip address is $helper_public_ip\n\n&quot;
	fi
}

load-variables()
{
	if [ ! -f $savefile ]; then # initial/default values go here
		echo &quot;helper_username=&#039;gnuser&#039;
helper_password=&#039;linuxrocks&#039;
helper_public_ip=&#039;123.45.123.45&#039;
helpee_username=&#039;motherinlaw&#039;
helpee_password=&#039;windowsnomore&#039;&quot; &gt;$savefile
	fi
	. $savefile
}

confirm()
{
	var_name=$1
	current_value=&quot;$(eval echo \$$1)&quot;
	read -n 1 -p &quot;Is $var_name &#039;$current_value&#039;? [y/n] &quot; -e ans
	if [ &quot;$ans&quot; = &quot;n&quot; ]; then
		read -p &quot;Enter $var_name: &quot; -e new_value
		eval $var_name=\&quot;$new_value\&quot;
	fi
}

save-variables()
{
	echo &quot;helper_username=&#039;$helper_username&#039;
helper_password=&#039;$helper_password&#039;
helper_public_ip=&#039;$helper_public_ip&#039;
helpee_username=&#039;$helpee_username&#039;
helpee_password=&#039;$helpee_password&#039;&quot; &gt;$savefile
}

final-instructions()
{
	if [ &quot;$mode&quot; = &quot;helpee&quot; ]; then
		printf &quot;\nPress Enter to connect, then tell helper when things stop scrolling by in this terminal...&quot; | pretty
		read
	elif [ &quot;$mode&quot; = &quot;helper&quot; ]; then
		printf &quot;\nHelpee initiates the connection. Once they are connected, they&#039;ll say things have stopped scrolling by in their terminal. At that point, go ahead and press Enter to complete the connection and view/control their destkop...&quot; | pretty
		read
	fi
}

connect()
{
	if [ &quot;$mode&quot; = &quot;helpee&quot; ]; then
		x11vnc &amp; sshpass -p &quot;$helper_password&quot; ssh -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null -R 7000:localhost:$sshd_port &quot;$helper_username&quot;@&quot;$helper_public_ip&quot;
	elif [ &quot;$mode&quot; = &quot;helper&quot; ]; then
		{ sleep 3; vinagre localhost:5901; } &amp; sshpass -p &quot;$helpee_password&quot; ssh -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null -L 5901:localhost:5900 &quot;$helpee_username&quot;@localhost -p 7000
	fi
}

main</code></pre></div>]]></description>
			<author><![CDATA[dummy@example.com (GNUser)]]></author>
			<pubDate>Mon, 11 Sep 2017 16:44:54 +0000</pubDate>
			<guid>http://dev1galaxy.org/viewtopic.php?pid=5005#p5005</guid>
		</item>
		<item>
			<title><![CDATA[Re: free software alternative to Teamviewer? [SOLVED]]]></title>
			<link>http://dev1galaxy.org/viewtopic.php?pid=5000#p5000</link>
			<description><![CDATA[<p>Ralph, please forgive me for asking a newbie question (I don&#039;t have much experience with SSH). </p><p>Can you confirm that using this setup the VNC connection would be encrypted?</p>]]></description>
			<author><![CDATA[dummy@example.com (GNUser)]]></author>
			<pubDate>Mon, 11 Sep 2017 12:15:42 +0000</pubDate>
			<guid>http://dev1galaxy.org/viewtopic.php?pid=5000#p5000</guid>
		</item>
		<item>
			<title><![CDATA[Re: free software alternative to Teamviewer? [SOLVED]]]></title>
			<link>http://dev1galaxy.org/viewtopic.php?pid=4999#p4999</link>
			<description><![CDATA[<p>@ralph.ronnquist - I briefly played with this this morning. It is MUCH nicer than what I had proposed, but I needed to make two tweaks for it to work:</p><p>a. The 5901 &lt;-&gt; 5900 forwarding only seems to work if done from helper&#039;s computer<br />b. The ssh command on helpee&#039;s computer doesn&#039;t seem to like running in the background, so I reversed the order of the commands</p><p>In summary, a cleaned-up version of #16 would involve:</p><p>1. Setting up key-based authentication for helpee, to ssh to helper without password (see <a href="http://www.rebol.com/docs/ssh-auto-login.html)" rel="nofollow">http://www.rebol.com/docs/ssh-auto-login.html)</a>. ~/.ssh/config on helpee&#039;s computer would look something like this:</p><div class="codebox"><pre><code>Host help
   hostname &lt;helper&#039;s public ip address&gt;
   user gnuser
   identityfile ~/.ssh/myserver.rsa
   remoteforward 7000 localhost:22</code></pre></div><p>2. Helpee runs this command in a single terminal and leaves the terminal open:</p><div class="codebox"><pre><code>helpee$ x11vnc &amp; ssh help</code></pre></div><p>3. Helper runs this command in a single terminal and leaves the terminal open:</p><div class="codebox"><pre><code>helper$ ssh -L 5901:localhost:5900 helpee@localhost -p 7000</code></pre></div><p>4. Helper opens up vinagre and connects to localhost:5901 using VNC protocol</p>]]></description>
			<author><![CDATA[dummy@example.com (GNUser)]]></author>
			<pubDate>Mon, 11 Sep 2017 12:07:48 +0000</pubDate>
			<guid>http://dev1galaxy.org/viewtopic.php?pid=4999#p4999</guid>
		</item>
		<item>
			<title><![CDATA[Re: free software alternative to Teamviewer? [SOLVED]]]></title>
			<link>http://dev1galaxy.org/viewtopic.php?pid=4992#p4992</link>
			<description><![CDATA[<p>If I may suggest a couple of &quot;improvements&quot; within that scheme, to in particular simplify the picture for the helpee.</p><p>Firstly that you set up key based authentication for helpee, to ssh to you without password.</p><p>Secondly that you set up <span class="bbu">~/.ssh/config</span> for helpee with a short logical hostname to your host. In that you would also reverse forward to both ports 22 and 5900 in the single ssh link. E.g. like the following stanza</p><div class="codebox"><pre><code>Host help
   hostname ...
   user ...
   identityfile ...
   remoteforward 7000 localhost:22
   remoteforward 5901 localhost:5900</code></pre></div><p>Thirdly a script for the helpee to run the two things as one:</p><div class="codebox"><pre><code>ssh help &amp; x11vnc</code></pre></div><p>With the second forwarding, you, the helper, would only need to run <span class="bbu">vinagre</span> against <span class="bbu">localhost:5901</span>, or indeed <span class="bbu">xvnc4viewer</span> against <span class="bbu">:1</span>, and also have the ssh back link on <span class="bbu">localhost:7000</span>.</p>]]></description>
			<author><![CDATA[dummy@example.com (ralph.ronnquist)]]></author>
			<pubDate>Mon, 11 Sep 2017 01:32:08 +0000</pubDate>
			<guid>http://dev1galaxy.org/viewtopic.php?pid=4992#p4992</guid>
		</item>
		<item>
			<title><![CDATA[Re: free software alternative to Teamviewer? [SOLVED]]]></title>
			<link>http://dev1galaxy.org/viewtopic.php?pid=4989#p4989</link>
			<description><![CDATA[<p>@ralph.ronnquist - Haha, I think I found enough magic to go around! Read on...</p><p>There was one reason to keep pursuing the old-fashioned way: With gitso the connection is unencrypted. So I kept pushing and finally figured it out. It&#039;s a bit complicated--involves leaving two terminals open on each end--but it works, requires no configuration on helpee&#039;s end, is through an encrypted tunnel, and uses only free software. Totally worth my splitting headache <img src="http://dev1galaxy.org/img/smilies/smile.png" width="15" height="15" alt="smile" /></p><p><strong>Setup:</strong><br />- Packages on gnuser/helper&#039;s computer: ssh and vinagre<br />- Configuration on gnuser/helper&#039;s router: Forward ports 22 and 5500 to gnuser/helper&#039;s machine</p><p>- Necessary packages on motherinlaw/helpee&#039;s computer: ssh and x11vnc<br />- Configuration steps on motherinlaw/helpee&#039;s computer/router: none <img src="http://dev1galaxy.org/img/smilies/smile.png" width="15" height="15" alt="smile" /></p><p><strong>Steps:</strong><br />1. Helpee opens up a terminal:</p><div class="codebox"><pre><code>motherinlaw$ x11vnc</code></pre></div><p>2. Helpee opens up a second terminal:</p><div class="codebox"><pre><code>motherinlaw$ ssh -R 7000:localhost:22 gnuser@&lt;gnuser&#039;s public ip address&gt;
[motherinlaw types gnuser&#039;s password]</code></pre></div><p>Helpee leaves her two terminals open and waits.</p><p>3. Helper opens up a terminal:</p><div class="codebox"><pre><code>gnuser$ ssh motherinlaw@localhost -p 7000
[gnuser enters motherinlaw&#039;s password]</code></pre></div><p>4. Helper opens up a second terminal:</p><div class="codebox"><pre><code>gnuser$ ssh -L 5901:localhost:5900 motherinlaw@localhost -p 7000
[gnuser enters motherinlaw&#039;s password again]</code></pre></div><p>Helper leaves his two terminals open.</p><p>5. Now helper goes to application menu, internet submenu, and selects &quot;Remote Desktop Viewer&quot; (that&#039;s how vinagre shows up in the menus).<br />Click &quot;Connect&quot;<br />Choose &quot;VNC&quot; protocol<br />in Host window, type: localhost:5901<br />click Connect</p><p>Bingo!</p>]]></description>
			<author><![CDATA[dummy@example.com (GNUser)]]></author>
			<pubDate>Mon, 11 Sep 2017 00:50:29 +0000</pubDate>
			<guid>http://dev1galaxy.org/viewtopic.php?pid=4989#p4989</guid>
		</item>
		<item>
			<title><![CDATA[Re: free software alternative to Teamviewer? [SOLVED]]]></title>
			<link>http://dev1galaxy.org/viewtopic.php?pid=4986#p4986</link>
			<description><![CDATA[<p>... a bit sad to learn there was no magic <img src="http://dev1galaxy.org/img/smilies/tongue.png" width="15" height="15" alt="tongue" /></p><p>As for the reverse port forwarding, you might have overlooked the option of reverse-forwarding port 5900, which is the default port <span class="bbu">vnc</span> uses for the <span class="bbu">:0</span> display. Though, with <span class="bbu">gitso</span> working for you, there&#039;s no need to pursue this.</p>]]></description>
			<author><![CDATA[dummy@example.com (ralph.ronnquist)]]></author>
			<pubDate>Sun, 10 Sep 2017 22:52:21 +0000</pubDate>
			<guid>http://dev1galaxy.org/viewtopic.php?pid=4986#p4986</guid>
		</item>
		<item>
			<title><![CDATA[Re: free software alternative to Teamviewer? [SOLVED]]]></title>
			<link>http://dev1galaxy.org/viewtopic.php?pid=4985#p4985</link>
			<description><![CDATA[<p>Thank you for the thoughtful recommendation, nixer. It turned out to be exactly what I was looking for <img src="http://dev1galaxy.org/img/smilies/smile.png" width="15" height="15" alt="smile" /></p><p>A quick follow-up: I discovered that the ufw package (firewall application) was installed on my laptop. Disabling the firewall with &quot;sudo ufw disable&quot; did the trick. I&#039;ve updated the summary steps in post #12 accordingly.</p><p>I&#039;m not sure how ufw ended up on my system. My guess is that ufw came with the Star live desktop iso that I used many months ago when I installed Devuan on this laptop.</p>]]></description>
			<author><![CDATA[dummy@example.com (GNUser)]]></author>
			<pubDate>Sun, 10 Sep 2017 21:38:50 +0000</pubDate>
			<guid>http://dev1galaxy.org/viewtopic.php?pid=4985#p4985</guid>
		</item>
		<item>
			<title><![CDATA[Re: free software alternative to Teamviewer? [SOLVED]]]></title>
			<link>http://dev1galaxy.org/viewtopic.php?pid=4977#p4977</link>
			<description><![CDATA[<p>Glad you got it working GNUser!</p><p>Thanks for the instructions that you used to get it working.&#160; I have not had the issue with the closed port before, but if I do I will know what to do to open that port.</p>]]></description>
			<author><![CDATA[dummy@example.com (nixer)]]></author>
			<pubDate>Sun, 10 Sep 2017 03:15:22 +0000</pubDate>
			<guid>http://dev1galaxy.org/viewtopic.php?pid=4977#p4977</guid>
		</item>
		<item>
			<title><![CDATA[Re: free software alternative to Teamviewer? [SOLVED]]]></title>
			<link>http://dev1galaxy.org/viewtopic.php?pid=4976#p4976</link>
			<description><![CDATA[<p>I played around for many hours today. I was able to establish a reverse SSH connection, but couldn&#039;t get VNC to work over it.</p><p>However, I managed to get gitso to work and it is perfect for what I need: Nothing for my MIL to do other than type in my public IP address (which I&#039;d tell her over the phone) <img src="http://dev1galaxy.org/img/smilies/smile.png" width="15" height="15" alt="smile" /></p><p>The problem was that despite forwarding of port 5500 being setup in my router and, on my laptop, &quot;nmap &lt;mylocalip&gt;&quot; showing 5500 open while gitso is running, a remote desktop connection could not be established. Also, canyouseeme.org kept saying that port 5500 was closed. I was on the verge of calling my ISP to see if they were blocking traffic on this port for some reason.</p><p>After hours going round and round, typing this into a terminal on my laptop fixed everything:</p><div class="codebox"><pre><code>sudo iptables -I INPUT -p tcp -m tcp --dport 5500 -j ACCEPT</code></pre></div><p>It&#039;s odd that nmap lies about the port being open. It&#039;s also odd that the kernel was blocking traffic on that port even though I&#039;m not running a firewall on the laptop. (EDIT: It turned out that there was a firewall running on my laptop after all. &quot;sudo ufw disable&quot; turned it off, and now I no longer need the above iptables command.)</p><p><strong>To summarize, gitso turned out to be exactly what I was looking for, and this is how to make it work:<br />1. Get a static local ip for your machine (many ways to do this--either through router or, probably easier, through your network manager)<br />2. Configure your router to forward port 5500 to your machine&#039;s static local ip (how to do this varies depending on your router firmware)<br />3. Make sure you don&#039;t have a firewall running on your machine (e.g., if &quot;sudo ufw status&quot; says firewall is active, do this: &quot;sudo ufw disable&quot;)<br />4. Install gitso from Devuan&#039;s official repository, start it (in MATE, it shows up in the Internet submenu), chose &quot;Give support&quot;<br />5. Ask your friend who needs help to install gitso, start it, choose &quot;Get help&quot;, and enter your public ip address (output of &quot;wget <a href="http://ipinfo.io/ip" rel="nofollow">http://ipinfo.io/ip</a> -q -O -&quot; on your machine)</strong></p>]]></description>
			<author><![CDATA[dummy@example.com (GNUser)]]></author>
			<pubDate>Sun, 10 Sep 2017 01:59:26 +0000</pubDate>
			<guid>http://dev1galaxy.org/viewtopic.php?pid=4976#p4976</guid>
		</item>
		<item>
			<title><![CDATA[Re: free software alternative to Teamviewer? [SOLVED]]]></title>
			<link>http://dev1galaxy.org/viewtopic.php?pid=4974#p4974</link>
			<description><![CDATA[<p>On your machine, install openssh-server. I&#039;m not sure if that&#039;s needed on MIL&#039;s computer.</p><p>I haven&#039;t figured out how to combine the reverse tunneling with x11vnc. If you can&#039;t open a port on Mom&#039;s rounter (why not?) you can still get access, and you don&#039;t have to walk her through installing anything. (I think.) You will need to have port forwarding set up on your own router. Redirect port 22 to your computer.</p><p>You will need to walk her through this command:</p><div class="codebox"><pre><code>ssh -X -R12345:localhost:22 gnuuser@gnuhost</code></pre></div><p>After she does that, you can get shell access to her computer with : </p><div class="codebox"><pre><code>ssh -X -p12345 mom@localhost</code></pre></div><p>Get root and do whatever you need to do.</p><p>Some guides I looked at said you (MIL) should add -f and -N to the command to set up the tunnel, but I didn&#039;t do that in my tests. The -X means you can run x-apps that are installed on her machine. </p><p>Anyway, once you get in, if you think you&#039;ll be doing this again some time (i.e. if you don&#039;t set up port forwarding on her router) make a script that contains the command she uses to create the tunnel, make it executable, put it in /usr/local/bin/ then make a .desktop file that has the path to that script on the Exec line (look at examples) and put it with the others in /usr/share/applications, and it will appear in the apps menu. You could also put the .desktop file on her desktop if that&#039;s easier for her. </p><p>I haven&#039;t tried this yet, but her script might need to open a terminal and run the command inside the terminal. It might look like this:</p><div class="codebox"><pre><code>#!/usr/bin/env bash

xterm -hold -e ssh -X -R 12345:localhost:22 gnuuser@gnuhost</code></pre></div><p>If you want to see my notes on vnc over ssh (not reverse), go here and scroll down near the bottom of the page.<br /><a href="http://www.ibiblio.org/refracta/docs/Release_Notes_8.2.txt" rel="nofollow">http://www.ibiblio.org/refracta/docs/Re … es_8.2.txt</a><br />If you have two machines at home, you can play with controlling two computers on opposite sides of the room or house without getting up. You would need to install x11vnc and a vncviewer. I use xtightvncviewr and Ralph uses a different one that I&#039;ve never tried. And if we figure out how to do vnc with a reverse tunnel, (or if you open a port for ssh on the remote router) then MIL&#039;s computer will need x11vnc.</p>]]></description>
			<author><![CDATA[dummy@example.com (fsmithred)]]></author>
			<pubDate>Sat, 09 Sep 2017 22:01:42 +0000</pubDate>
			<guid>http://dev1galaxy.org/viewtopic.php?pid=4974#p4974</guid>
		</item>
		<item>
			<title><![CDATA[Re: free software alternative to Teamviewer? [SOLVED]]]></title>
			<link>http://dev1galaxy.org/viewtopic.php?pid=4973#p4973</link>
			<description><![CDATA[<p>@fsmithred, is there a how-to on getting this to work? If not, would you kindly share what would need to be running on my machine and what command mom-in-law would need to run?</p><p>I cannot do any configuration on her router, but could walk her through installing packages and doing minimal configuration on her laptop.</p>]]></description>
			<author><![CDATA[dummy@example.com (GNUser)]]></author>
			<pubDate>Sat, 09 Sep 2017 19:25:10 +0000</pubDate>
			<guid>http://dev1galaxy.org/viewtopic.php?pid=4973#p4973</guid>
		</item>
		<item>
			<title><![CDATA[Re: free software alternative to Teamviewer? [SOLVED]]]></title>
			<link>http://dev1galaxy.org/viewtopic.php?pid=4972#p4972</link>
			<description><![CDATA[<p>@ralph.ronnquist @fsmithred - I&#039;d love to learn that approach, catch is that I need to figure out how to set it up with reverse tunneling, the way gitso does it. I can&#039;t expect MIL to be of any help on her end. I&#039;m going to have to chew on this. </p><p>I really appreciate all your input. Until this thread, I didn&#039;t even know that doing a reverse connection with all the configuration on the &quot;helper&quot; end was possible. That&#039;s exactly what I&#039;m looking for!</p><p>Many thanks!</p>]]></description>
			<author><![CDATA[dummy@example.com (GNUser)]]></author>
			<pubDate>Sat, 09 Sep 2017 17:59:42 +0000</pubDate>
			<guid>http://dev1galaxy.org/viewtopic.php?pid=4972#p4972</guid>
		</item>
	</channel>
</rss>
