Active Topics

 



Notices


Reply
Thread Tools
Posts: 101 | Thanked: 15 times | Joined on Jul 2011
#11
Hi Michaaa62,
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



Originally Posted by michaaa62 View Post
You need to run a server on the maschine, where you want to share the desktop. And you need to have client software on the N900 to actually connect to the PC.
Both shouldt share the same subnet to get the basic s working properly before you might want to extend this for worlwide usage. There might be no firewall tweaks necessary once the server runs on your PC, but you could for testing purposes stop the firewall.

1.To export the N900 to your other device, you need x11vnc application on the N900 installed. Start it from the menu, it will start and close to run in the background. Connect to IP_OF_N900:5800 from your vnc viewer on your PC. After you terminate the connection x11vnc will shut down without any notice and you have to start it again for the next connection.

2. To get the screen of your PC, a VNC server has to run on the PC. Some widely used vnc server applications are: TightVNC, RealVNC or UltraVNC. You need a vnc viewer like PresenceVNC or vncviewer to be installed on the N900. Connect to IP_OF_PC:5800 .
 
Posts: 2,102 | Thanked: 1,937 times | Joined on Sep 2008 @ Berlin, Germany
#12
Did you try to start it 'backgrounded'
Code:
x11vnc -forever -usepw &
You could start it via ssh anytime you need it or even tunnel the traffic through ssh
Code:
ssh -t -L 5900:localhost:5900 far-host 'x11vnc -localhost -display :0'
 

The Following User Says Thank You to michaaa62 For This Useful Post:
Posts: 896 | Thanked: 978 times | Joined on Feb 2011 @ Greece, Athens
#13
oh damn...!

I thought this thread was a Beatles sing-along...
 
zifis's Avatar
Posts: 308 | Thanked: 729 times | Joined on Jan 2010 @ Athens, Greece
#14
Originally Posted by HELLASISGREECE View Post
oh damn...!

I thought this thread was a Beatles sing-along...
LMFAO

you owe me the cup of coffe that just sprung through my nose!
 
Posts: 101 | Thanked: 15 times | Joined on Jul 2011
#15
Thanks Michaaa62!!!!
it did work
x11vnc -forever -usepw &

Thanks again!

Best regards

Last edited by miroslav_s; 2012-01-17 at 00:49.
 
Reply


 
Forum Jump


All times are GMT. The time now is 20:37.