Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#11326 - x11vnc has no daemon script

Attached to Project: Arch Linux
Opened by Brad Conte (B-Con) - Wednesday, 27 August 2008, 22:39 GMT
Last edited by Eric Belanger (Snowman) - Wednesday, 25 February 2009, 03:14 GMT
Task Type Feature Request
Category Packages: Extra
Status Closed
Assigned To Tobias Kieslich (tobias)
Aaron Griffin (phrakture)
Architecture All
Severity Medium
Priority Normal
Reported Version None
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 1
Private No

Details

Description:
x11vnc does not come with a daemon script in /etc/rc.d . Since x11vnc is probably used almost exclusively as a daemon, this would be very useful.

Attached is a sample script, the one I wrote for myself. There are many options for x11vnc, but the majority of them can probably be kept as I have them.

(I chose "medium" severity since I believe that this falls under "UNIX standard not respected".)
This task depends upon

Closed by  Eric Belanger (Snowman)
Wednesday, 25 February 2009, 03:14 GMT
Reason for closing:  Implemented
Additional comments about closing:  implemented in x11vnc-0.9.6-1. The daemon script use a /etc/conf.d/x11vnc config file where users can specify options.
Comment by Roman Kyrylych (Romashka) - Thursday, 28 August 2008, 20:00 GMT
You've forgot to attach the script ;-)
Comment by Brad Conte (B-Con) - Friday, 29 August 2008, 01:06 GMT
Oops. My NoScript extension got in the way, I think. Here it is.
   x11vnc (0.6 KiB)
Comment by Damjan Georgievski (damjan) - Wednesday, 28 January 2009, 16:27 GMT
Does this work?
x11vnc connects to a running X server, how does this script connect and authorize to the X server?
Comment by Brad Conte (B-Con) - Thursday, 29 January 2009, 09:02 GMT
From the script:
> VNC_CMD="x11vnc -display :0 -bg -nopw -localhost -ncache 10 -forever -o /var/log/x11vnc.log"

It connects to local display 0, -nopw specifies that it is not to prompt for a password on connection. I use that since I only run it on localhost (hence -localhost) and have no need for VNC's pathetic excuse for password authentication.

One thing I don't have, though, in the script is any sort of "touch /var/run/x11vnc.pid".

Loading...