![]() |
2012-01-12
, 13:20
|
Posts: 2,102 |
Thanked: 1,937 times |
Joined on Sep 2008
@ Berlin, Germany
|
#12
|
x11vnc -forever -usepw &
ssh -t -L 5900:localhost:5900 far-host 'x11vnc -localhost -display :0'
The Following User Says Thank You to michaaa62 For This Useful Post: | ||
![]() |
2012-01-12
, 13:23
|
Posts: 896 |
Thanked: 978 times |
Joined on Feb 2011
@ Greece, Athens
|
#13
|
![]() |
2012-01-12
, 14:06
|
|
Posts: 308 |
Thanked: 729 times |
Joined on Jan 2010
@ Athens, Greece
|
#14
|
![]() |
2012-01-12
, 15:09
|
Posts: 101 |
Thanked: 15 times |
Joined on Jul 2011
|
#15
|
I want to ask you something.I use x11vnc on my n900 and RealVNC on my comp. Every time I press the x11vnc icon in the n900 menu I establish connection between n900 and RelVNC but WITHOUT RealVNC asking me for the password and the connection only last for one entry so to say. If I close the RealVNC window on my PC and after a sec I want to make the connection again I have to relaunch the x11vnc from my n900 all over again. But, if I start x11vnc from my X term. And type
Sudo gainroot
X11vnc –forever –usepw
Now the realVNC asks me for the password before establishing connection and I can even close/open RealVNC as many times as I want without the need to enter the x11vnc command again. BUT, the x term window has to be open in the background on my n900, cause as soon as I close it the next time I start RealVNC it cannot establish connection. So my question is: Is there a way to do the same thing as with the connection between two PC that are both using RealVNC where I do not have to enter same command every time I want to establish connection between them? What I mean for example: I am sitting on PC1 and want to enter desktop on PC2. The only thing that is needed from PC 2 is to be on the internet and I can make the entry (of course I had to open portforwarding and so). Is there a way to do the same thing with the n900 or not.For example: leaving the phone at home, connected to your network. Then from another PC from another town you want to check if there are sms or missed phonecalls on n900. So you use RealVNC to connect to your phone. I know I can do that by starting the command x11vnc before I leave home but if for some reason x11vnc is shut off there is no way that I can reconnect to the phone from distance, right?
I hope you understood my question.
Thanks in advance and best regards
Mika