![]() |
x11vnc dying/killed ( how to keep it alive? )
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! |
Re: x11vnc dying/killed ( how to keep it alive? )
Quote:
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. |
Re: x11vnc dying/killed ( how to keep it alive? )
Awesome its working perfect right now :)
|
Re: x11vnc dying/killed ( how to keep it alive? )
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? |
Re: x11vnc dying/killed ( how to keep it alive? )
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. |
All times are GMT. The time now is 19:29. |
vBulletin® Version 3.8.8