Skip to content

Instantly share code, notes, and snippets.

@gwsu2008
Created February 24, 2018 16:35
Show Gist options
  • Save gwsu2008/cbc09de970a9e3afa1b661a62f81a2ee to your computer and use it in GitHub Desktop.
Save gwsu2008/cbc09de970a9e3afa1b661a62f81a2ee to your computer and use it in GitHub Desktop.
x11vnc-xinet-config
/etc/xinetd.d/x11vnc
service x11vnc
{
port = 5900
type = UNLISTED
socket_type = stream
protocol = tcp
wait = no
user = jenkins
server = /usr/bin/x11vnc
server_args = -inetd -ncache 10 -o /home/jenkins/log/x11vnc.log -display :0 -auth /run/gdm/auth-for-gdm-TRru6P/database -many -bg
disable = no
}
NOTE: /run/gdm/auth-for-gdm-TRru6P/database need to run ps wwwaux | grep auth
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment