Reply
Thread Tools
Posts: 10 | Thanked: 2 times | Joined on May 2011 @ United States
#1
x11vnc is wonderful but the only problem i have is when every i get off of it from my PC it shuts down in my N900,

i want to know a way on how to keep the process alive say if it dies i would want to keep it restart just like a service when killed it should be restarted how do i do it?
a shell script
or a python script thats always running and checks if the process is killed it started x11vnc again not sure
how do i do it using shell script?

Thanks a Lot in advance!
 
Posts: 1,425 | Thanked: 983 times | Joined on May 2010 @ Hong Kong
#2
Originally Posted by peplamb View Post
x11vnc is wonderful but the only problem i have is when every i get off of it from my PC it shuts down in my N900,

i want to know a way on how to keep the process alive say if it dies i would want to keep it restart just like a service when killed it should be restarted how do i do it?
a shell script
or a python script thats always running and checks if the process is killed it started x11vnc again not sure
how do i do it using shell script?

Thanks a Lot in advance!
You'd like to add -forever to keep it running ...forever.

And you'd also like to add -shared in case you'd like to have multiple sessions.

Having it restarted after killed requires a little bit setup. Let see if above serve your purpose first.
 

The Following 2 Users Say Thank You to 9000 For This Useful Post:
Posts: 10 | Thanked: 2 times | Joined on May 2011 @ United States
#3
Awesome its working perfect right now
 
Posts: 101 | Thanked: 15 times | Joined on Jul 2011
#4
Hi guys,
Couple of questions but first this is what I did:
opened x terminal
sudo gainroot
x11vnc –storepasswd
Entered vnc password
Verified the password
Write password to /home/user/.vnc/passwd? I typed Y pressed enter
Then I typed
x11vnc -forever –usepw

I also replaced the line that says "Exec=/usr/bin/x11vnc" with "Exec=/usr/bin/x11vnc -usepw"

My question is: everytime I launch x11vnc through phones menu I am not asked by RealVNC (PC) to type in my password. Also as soon as I shutdown the RealVNC from my PC I have to re-launch x11vnc from my phone. BUT!...if I type in xterm
sudo gainroot
x11vnc -forever -usepw
And then launch RealVNC (pc) I get asked to type in password before connection and I can shutdown and re-launch VNC from PC as many times as I want without loosing connection with my n900.So what is the use of having x11vnc icon in the n900 menu when I can only use it once per time if you understand my thinking?

Best regards

Anyone? Hello?

Last edited by miroslav_s; 2011-12-29 at 13:26.
 
Mr Wolf's Avatar
Posts: 84 | Thanked: 22 times | Joined on Nov 2011 @ Italy
#5
I have instead the problem:
set the password with x11vnc –storepasswd
modified line Exec=/usr/bin/x11vnc -usepw
but, when I connect with UltraVNC from PC, it says wrong password!

EDIT: by the way, there's no icon, or am I wrong? I mean a "personalized" icon, as the other applications, there's only a blue square.
__________________
I'm Winston Wolf, I solve problems

Last edited by Mr Wolf; 2012-01-12 at 15:58.
 
Reply

Thread Tools

 
Forum Jump


All times are GMT. The time now is 19:33.