mtpraveen / connectbot

Automatically exported from code.google.com/p/connectbot
Apache License 2.0
0 stars 0 forks source link

SSH Connections disconnected frequently when using VNC #188

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Connect to a host (with VNC forwarding enabled)
2. Open androidVNC, connect through SSH forwarded port
3. Frequently androidVNC reports failure during the connection phase,
sometimes drops during use.  Returning to connectbot after disconnection,
connectbot will open a new connection to the host

What is the expected output? What do you see instead?
Previously (I am *not* sure if this started since a recent upgrade)
connections were very stable and would not drop during use of the
androidVNC connection

What version of the product are you using (you can see this by using Menu
-> About in the Host List)?
1.5.4 (r346 2009.06.30)

What type of system are you trying to connect to?
Ubuntu 8.04 desktop

If you are able to connect, what is the output of "echo $TERM", "uname -a",
and any other relevant information on the host?
N/A - connection is fine, it just goes away

Please provide any additional information below.
I am not sure when this problem started, but I noticed that rebooting my
phone seems to make the problem go away at least until I have opened
applications other than androidVNC and connectbot.  I am wondering if the
OS is causing the connection to close by trying to free up resources?

The use of Wifi/3G does not appear to be a factor as it will drop from
either.  An additional test was to run SSH/VNC from laptop to the desktop
over wifi and the connection from the laptop does not drop.

I have tried long pressing HOME to switch applications to see if it helps,
but does not appear to.  Are there any known workarounds for this issue? 
Please let me know if I can do any additional testing to help.

Original issue reported on code.google.com by aaaho...@gmail.com on 26 Aug 2009 at 4:44

GoogleCodeExporter commented 9 years ago
It has been suggested to use
[http://developer.android.com/reference/android/app/Service.html#setForeground(b
oolean)
Service.setForeground(true)] to prevent the phone from reaping the service. I 
think
adding an optional setting to enable this is a good idea. I'm not sure whether 
it
should default to on or off, but I'm leaning toward on.

Original comment by kenny@the-b.org on 3 Sep 2009 at 12:01

GoogleCodeExporter commented 9 years ago

Original comment by kenny@the-b.org on 3 Sep 2009 at 12:01

GoogleCodeExporter commented 9 years ago
This was added a while ago.

Original comment by kenny@the-b.org on 13 Mar 2010 at 9:36