maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Nokia N810 (https://talk.maemo.org/forumdisplay.php?f=28)
-   -   ssh tunneling: how to ? (https://talk.maemo.org/showthread.php?t=26019)

Benson 2009-01-06 19:13

Re: ssh tunneling: how to ?
 
Quote:

Originally Posted by qole (Post 254940)
Except the browser, sadly, which is why you have to do this convoluted way using about:config instead of the much more elegant tsocks.

There may be a way to restart browserd so that it uses tsocks, but in my experience, restarting browserd tends to have unwanted side effects.

That's where the "if you can get it set up properly" comes in. :D Fortunately, Tear has come a long way towards beta lately.

daperl 2009-01-06 19:47

Re: ssh tunneling: how to ?
 
Quote:

Originally Posted by qole (Post 254940)
There may be a way to restart browserd so that it uses tsocks, but in my experience, restarting browserd tends to have unwanted side effects.

I restart browserd all the time. What kind of unwanted side effects should I be experiencing?

qole 2009-01-06 23:11

Re: ssh tunneling: how to ?
 
I mainly get missing UI elements. Could you post a howto for restarting browserd?

daperl 2009-01-06 23:44

Re: ssh tunneling: how to ?
 
First, I exit all browser windows. Then I watch and wait for the CPU to settle down (forget the name of the status bar plugin). And lastly, in an xterm I type:
Code:

sudo /etc/init.d/ta<tab>restart<return>
Or for the less lazy:
Code:

sudo /etc/init.d/tablet-browser-daemon restart<return>

qole 2009-01-07 00:00

Re: ssh tunneling: how to ?
 
hm, in order to get browserd to work with tsocks, it would involve a
Code:

sudo /etc/init.d/tablet-browser-daemon stop
and
Code:

sudo tsocks /etc/init.d/tablet-browser-daemon start
to work... I wonder if that would be successful? Anyone want to try and report?

BTW: why do you restart browserd "all the time"?

daperl 2009-01-07 00:58

Re: ssh tunneling: how to ?
 
There's a UI bug in there somewhere. Unfortunately, I can't faithfully reproduce it, but it seems to be related to either:

program switching and fast screen tapping

or maybe

page rendering and fast screen tapping

The result is a runaway CPU. It's probably a sight to see as I franticly try and get the program menu up to kill the b*stard(s). But because I'm a fanboy these things don't bother me much. In fact, I have another quirky browser workaround/speed-up:

First off, let me say, the X11 improvements from the last update are very welcome. That said, I have a strange suspicion that they might be involved in the above mentioned bug. Anyway, browser rendering speeds seem to increase when I minimize all browser windows that are in any stage of rendering; especially new ones from a tap-and-hold. It's kind of like a one-dimensional version of Whack-A-Mole, or in your case... I haven't done any formal analysis, but I would be shocked if it was just a busy-body placebo effect.

qole 2009-01-07 05:08

Re: ssh tunneling: how to ?
 
Quote:

Originally Posted by daperl (Post 255033)
The result is a runaway CPU... It's kind of like a one-dimensional version of Whack-A-Mole...

That paints a very interesting picture. daperl, madly whacking moles, as his CPU runs away into the sunset.

daperl 2009-01-07 06:23

Re: ssh tunneling: how to ?
 
Quote:

Originally Posted by qole (Post 255069)
That paints a very interesting picture. daperl, madly whacking moles, as his CPU runs away into the sunset.

Sad, true and funny. I live near the top of a high-rise building, and there have been moments where the n800 could have flown into the sunset.


All times are GMT. The time now is 00:30.

vBulletin® Version 3.8.8