Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 431102 - x11-misc/x11vnc-0.9.13 - Add init scripts
Summary: x11-misc/x11vnc-0.9.13 - Add init scripts
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: Low enhancement (vote)
Assignee: Alex Xu (Hello71)
URL:
Whiteboard:
Keywords: EBUILD, PATCH
: 489778 (view as bug list)
Depends on: 566828
Blocks:
  Show dependency tree
 
Reported: 2012-08-12 16:07 UTC by Sal Gonzalez
Modified: 2015-11-27 17:44 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
x11vnc.conf.d (x11vnc.conf.d,1.40 KB, text/plain)
2012-08-12 16:08 UTC, Sal Gonzalez
Details
x11vnc.init.d (x11vnc.init.d,1.56 KB, text/plain)
2012-08-12 16:08 UTC, Sal Gonzalez
Details
x11vnc-0.9.13-r1.ebuild (x11vnc-0.9.13-r1.ebuild,2.08 KB, text/plain)
2012-08-12 16:08 UTC, Sal Gonzalez
Details
x11vnc.init.d (x11vnc.init.d,1.69 KB, text/plain)
2012-08-12 16:42 UTC, Sal Gonzalez
Details
x11vnc.service (file_431102.txt,173 bytes, text/plain)
2013-11-14 18:46 UTC, C. Wijtmans
Details
x11vnc.socket (file_431102.txt,115 bytes, text/plain)
2013-11-14 18:47 UTC, C. Wijtmans
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Sal Gonzalez 2012-08-12 16:07:19 UTC
I thought it would be useful to have x11vnc the ability run at bootup, thus allowing VNC connections before logging in to the DM

Reproducible: Always
Comment 1 Sal Gonzalez 2012-08-12 16:08:04 UTC
Created attachment 321126 [details]
x11vnc.conf.d

Configuration file
Comment 2 Sal Gonzalez 2012-08-12 16:08:29 UTC
Created attachment 321128 [details]
x11vnc.init.d

Init script
Comment 3 Sal Gonzalez 2012-08-12 16:08:53 UTC
Created attachment 321130 [details]
x11vnc-0.9.13-r1.ebuild

Updated ebuild
Comment 4 Sal Gonzalez 2012-08-12 16:17:43 UTC
This init works with lighdm.  I am currently investigating whether it will work properly with other DMs.  Any help is appreciated :)
Comment 5 Sal Gonzalez 2012-08-12 16:42:55 UTC
Created attachment 321132 [details]
x11vnc.init.d

Updated, works on lightdm & kdm-4
Comment 6 Jeroen Roovers (RETIRED) gentoo-dev 2012-08-13 12:59:03 UTC
Comment on attachment 321130 [details]
x11vnc-0.9.13-r1.ebuild

--- x11vnc-0.9.13.ebuild        2012-07-18 02:14:18.000000000 +0200
+++ -   2012-08-13 14:58:55.929943702 +0200
@@ -69,6 +69,10 @@
 src_install() {
        emake DESTDIR="${D}" install
        dodoc x11vnc/{ChangeLog,README}
+
+       newconfd "${FILESDIR}"/x11vnc.conf.d x11vnc
+       newinitd "${FILESDIR}"/x11vnc.init.d x11vnc
+
        # Remove include files, which conflict with net-libs/libvncserver
        rm -rf "${D}"/usr/include
 }
Comment 7 Jeroen Roovers (RETIRED) gentoo-dev 2013-10-29 16:43:16 UTC
*** Bug 489778 has been marked as a duplicate of this bug. ***
Comment 8 C. Wijtmans 2013-10-30 09:44:30 UTC
cool script can we have it in portage?
Comment 9 Jeroen Roovers (RETIRED) gentoo-dev 2013-11-02 17:06:30 UTC
*** Bug 489778 has been marked as a duplicate of this bug. ***
Comment 10 C. Wijtmans 2013-11-14 18:46:25 UTC
Created attachment 363272 [details]
x11vnc.service
Comment 11 C. Wijtmans 2013-11-14 18:47:08 UTC
Created attachment 363274 [details]
x11vnc.socket
Comment 12 Alex Xu (Hello71) 2015-09-24 22:16:31 UTC
(In reply to C.J. Wijtmans from comment #10)
> Created attachment 363272 [details]
> x11vnc.service

I don't believe this is suitable for inclusion as is because it enables anyone to connect without any authentication.

(In reply to Sal Gonzalez from comment #5)
> Created attachment 321132 [details]
> x11vnc.init.d
> 
> Updated, works on lightdm & kdm-4

This seems OK; I'm assuming that OpenRC automatically sources matching conf.d files.