]> git.hoellein.online Git - pi-dgl-wand/commitdiff
committing changes in /etc after apt run
authormhoellein <mhoellein@freenet.de>
Sun, 19 Apr 2020 08:13:13 +0000 (10:13 +0200)
committermhoellein <mhoellein@freenet.de>
Sun, 19 Apr 2020 08:13:13 +0000 (10:13 +0200)
Package changes:
+realvnc-vnc-server 6.1.1.28093
+realvnc-vnc-viewer 6.1.1.28093

.etckeeper
gconf/gconf.xml.defaults/%gconf-tree.xml
mailcap
pam.d/vncserver [new file with mode: 0644]
vnc/config [new file with mode: 0644]
vnc/get_primary_ip4 [new symlink]
vnc/vncelevate [new symlink]
vnc/vncelevatecfg [new file with mode: 0644]
vnc/xstartup [new file with mode: 0755]

index a419828bca0043cfefe9913383a3f89ee2e4199a..f319d134a8aba661341070e5375dec32f80c1e74 100755 (executable)
@@ -814,6 +814,7 @@ maybe chmod 0644 'pam.d/sshd'
 maybe chmod 0644 'pam.d/su'
 maybe chmod 0644 'pam.d/sudo'
 maybe chmod 0644 'pam.d/systemd-user'
+maybe chmod 0644 'pam.d/vncserver'
 maybe chmod 0644 'papersize'
 maybe chmod 0644 'passwd'
 maybe chmod 0600 'passwd-'
@@ -1098,11 +1099,14 @@ maybe chmod 0644 'vim/vimrc'
 maybe chmod 0644 'vim/vimrc.tiny'
 maybe chmod 0755 'vnc'
 maybe chmod 0644 'vnc/cacerts.pem'
+maybe chmod 0644 'vnc/config'
 maybe chmod 0755 'vnc/config.d'
 maybe chmod 0644 'vnc/config.d/common'
 maybe chmod 0755 'vnc/licensekeys'
 maybe chmod 0755 'vnc/licensekeys/vncserver'
 maybe chmod 0644 'vnc/updateid'
+maybe chmod 0644 'vnc/vncelevatecfg'
+maybe chmod 0755 'vnc/xstartup'
 maybe chmod 0644 'wgetrc'
 maybe chmod 0755 'wildmidi'
 maybe chmod 0644 'wildmidi/wildmidi.cfg'
index 68fdaad9373c855c7e03b9cc23e631c31b79cf61..365cff9d8b67a0e88d2a5a98f98aa430e2540bc7 100644 (file)
@@ -5,6 +5,23 @@
                        <dir name="gnome">
                                <dir name="url-handlers">
                                        <dir name="vnclicenseserver">
+                                               <entry name="need-terminal" mtime="1587283988" type="schema" stype="bool" owner="vnclicenseserver">
+                                                       <local_schema locale="C">
+                                                               <default type="bool" value="false"/>
+                                                       </local_schema>
+                                               </entry>
+                                               <entry name="command" mtime="1587283988" type="schema" stype="string" owner="vnclicenseserver">
+                                                       <local_schema locale="C">
+                                                               <default type="string">
+                                                                       <stringvalue>/usr/local/bin/vnclicensewiz %s</stringvalue>
+                                                               </default>
+                                                       </local_schema>
+                                               </entry>
+                                               <entry name="enabled" mtime="1587283988" type="schema" stype="bool" owner="vnclicenseserver">
+                                                       <local_schema locale="C" short_desc="Set to true to enable handling of vnclicenseserver:// URLs">
+                                                               <default type="bool" value="true"/>
+                                                       </local_schema>
+                                               </entry>
                                        </dir>
                                </dir>
                        </dir>
@@ -14,6 +31,9 @@
                <dir name="gnome">
                        <dir name="url-handlers">
                                <dir name="vnclicenseserver">
+                                       <entry name="need-terminal" mtime="1587283988" schema="/schemas/desktop/gnome/url-handlers/vnclicenseserver/need-terminal"/>
+                                       <entry name="command" mtime="1587283988" schema="/schemas/desktop/gnome/url-handlers/vnclicenseserver/command"/>
+                                       <entry name="enabled" mtime="1587283988" schema="/schemas/desktop/gnome/url-handlers/vnclicenseserver/enabled"/>
                                </dir>
                        </dir>
                </dir>
diff --git a/mailcap b/mailcap
index aad3e0a177a072d5c00993dd9160b9ab93cca07f..bc50fbf643eeed2114f6c3130d9ee1225709f820 100644 (file)
--- a/mailcap
+++ b/mailcap
@@ -153,6 +153,8 @@ application/x-rpm; pi-gpk-install-local-file %s; test=test -n "$DISPLAY"
 application/x-redhat-package-manager; pi-gpk-install-local-file %s; test=test -n "$DISPLAY"
 application/x-deb; pi-gpk-install-local-file %s; test=test -n "$DISPLAY"
 application/x-app-package; pi-gpk-install-local-file %s; test=test -n "$DISPLAY"
+application/vnclicense-key; vnclicensehelper -key %s; test=test -n "$DISPLAY"
+application/vnc-shortcut; vncviewer %s; test=test -n "$DISPLAY"
 application/x-image; squeak %s; test=test -n "$DISPLAY"
 application/squeak-image; squeak %s; test=test -n "$DISPLAY"
 application/squeak-project; squeak %s; test=test -n "$DISPLAY"
diff --git a/pam.d/vncserver b/pam.d/vncserver
new file mode 100644 (file)
index 0000000..b197735
--- /dev/null
@@ -0,0 +1,13 @@
+# Default VNC Server PAM configuration.
+# This file is automatically generated. DO NOT EDIT.
+# To make changes, create a file named vncserver.custom in this
+# directory and create or edit /etc/vnc/config.d/common.custom to
+# add 'PamApplicationName=vncserver.custom'
+auth required pam_unix.so
+account required pam_unix.so
+session required pam_selinux.so
+session optional pam_umask.so
+session optional pam_limits.so
+session required pam_unix.so
+session optional pam_systemd.so
+session optional pam_env.so
diff --git a/vnc/config b/vnc/config
new file mode 100644 (file)
index 0000000..8670f82
--- /dev/null
@@ -0,0 +1,10 @@
+# Default X Server command-line parameters for VNC Server.
+#
+# This file is automatically generated. DO NOT EDIT.
+# To override settings in this file, create or edit /etc/vnc/config.custom.
+
+# Continue even if standard ports fail
+-pn
+
+# Default font path (from xset)
+-fp "/usr/share/fonts/X11/misc,/usr/share/fonts/X11/Type1,built-ins"
diff --git a/vnc/get_primary_ip4 b/vnc/get_primary_ip4
new file mode 120000 (symlink)
index 0000000..5e8b317
--- /dev/null
@@ -0,0 +1 @@
+/usr/lib/vnc/get_primary_ip4
\ No newline at end of file
diff --git a/vnc/vncelevate b/vnc/vncelevate
new file mode 120000 (symlink)
index 0000000..41b908c
--- /dev/null
@@ -0,0 +1 @@
+/usr/lib/vnc/vncelevate
\ No newline at end of file
diff --git a/vnc/vncelevatecfg b/vnc/vncelevatecfg
new file mode 100644 (file)
index 0000000..dc94b1a
--- /dev/null
@@ -0,0 +1,24 @@
+# Default elevation commands for VNC Server.
+#
+# This file is automatically generated. DO NOT EDIT.
+# To override settings in this file, create or edit /etc/vnc/vncelevatecfg.custom.
+#
+# When the process launches we rely on the fact we don't return from elevation
+# command until the authentication finishes
+
+# Uncomment the next line to add your custom command
+#CUSTOM_COMMAND=
+
+SU_LAUNCHCMD=xterm -T DESCRIPTION -e su - root -c COMMAND_SINGLE_ARG
+SU_LAUNCHCMD=gnome-terminal --title DESCRIPTION --disable-factory -x su - root -c COMMAND_SINGLE_ARG
+SU_LAUNCHCMD=gksu -u root -t DESCRIPTION COMMAND_SINGLE_ARG
+# The old konsole commands did not use --nofork option. Please remove it if needed.
+SU_LAUNCHCMD=konsole --title DESCRIPTION --nofork -e su - root -c COMMAND_SINGLE_ARG
+#SU_LAUNCHCMD=kdesu -u root -c COMMAND_SINGLE_ARG
+
+SUDO_LAUNCHCMD=gksudo -D DESCRIPTION -- COMMAND
+SUDO_LAUNCHCMD=kdesudo --comment DESCRIPTION -- COMMAND
+SUDO_LAUNCHCMD=xterm -T DESCRIPTION -e sudo COMMAND
+SUDO_LAUNCHCMD=gnome-terminal --title DESCRIPTION --disable-factory -x sudo COMMAND
+# The old konsole commands did not use --nofork option. Please remove it if needed.
+SUDO_LAUNCHCMD=konsole --title DESCRIPTION --nofork -e sudo COMMAND
diff --git a/vnc/xstartup b/vnc/xstartup
new file mode 100755 (executable)
index 0000000..65782b5
--- /dev/null
@@ -0,0 +1,71 @@
+#!/bin/sh
+
+# Default VNC Server (Virtual-Mode) start-up script.
+#
+# This file is automatically generated. DO NOT EDIT.
+# To override settings in this file, create or edit /etc/vnc/xstartup.custom
+# and make it executable. This will then be executed instead of this file.
+
+# The following keymap code is designed to support VNC Viewers with US and
+# Western European keyboards. If you expect VNC Viewers to have different
+# keyboards, override this file as described above, making sure to preserve all
+# this code. You can then change the variable assignment appropriately. For
+# example, setting:
+#
+# targetkbMap="pc+cz+ru:2+gr:3+fr:4"
+#
+# ...provides support for Czech, Russian, Greek and French keyboards.
+targetkbMap="pc+us+us(intl):2"
+if which setxkbmap > /dev/null 2>&1 && \
+  which sed > /dev/null 2>&1 && \
+  which xkbcomp > /dev/null 2>&1 ; then
+  setxkbmap -symbols "$targetkbMap" -print | sed -n '/xkb_keymap {/,$p' | xkbcomp - $DISPLAY
+fi
+# End of keymap code
+
+[ -r $HOME/.Xresources ] && xrdb $HOME/.Xresources
+xsetroot -solid grey
+
+if [ -f /usr/bin/gnome-session ]; then
+  # Some gnome session types won't work with Xvnc, try to pick a sensible
+  # default.
+  for SESSION in "ubuntu-2d" "2d-gnome" "gnome-classic" "gnome-fallback"; do
+    if [ -f /usr/share/gnome-session/sessions/$SESSION.session ]; then
+      DESKTOP_SESSION=$SESSION; export DESKTOP_SESSION
+      GDMSESSION=$SESSION; export GDMSESSION
+      STARTUP="/usr/bin/gnome-session --session=$SESSION"; export STARTUP
+    fi
+  done
+fi
+
+unset SESSIONBIN
+XTERM_COMMAND="xterm -geometry 80x24+10+10 -ls"
+
+if   [ -x /etc/X11/Xsession ]; then SESSIONBIN="/etc/X11/Xsession"
+elif [ -x /etc/X11/xdm/Xsession ]; then SESSIONBIN="/etc/X11/xdm/Xsession"
+elif [ -x /etc/X11/xinit/Xsession ]; then SESSIONBIN="/etc/X11/xinit/Xsession"
+elif [ -x /etc/X11/gdm/Xsession ]; then SESSIONBIN="/etc/X11/gdm/Xsession gnome-session"
+elif [ -x /etc/gdm/Xsession ]; then SESSIONBIN="/etc/gdm/Xsession gnome-session"
+elif [ -x /etc/kde/kdm/Xsession ]; then SESSIONBIN="/etc/kde/kdm/Xsession"
+elif [ -x /usr/dt/bin/Xsession ]; then
+  XSTATION=1
+  DTXSERVERLOCATION=local
+  export XSTATION DTXSERVERLOCATION
+  SESSIONBIN="/usr/dt/bin/Xsession"
+elif [ -x /usr/dt/bin/dtsession ]; then SESSIONBIN="/usr/dt/bin/dtsession"
+elif which twm > /dev/null 2>&1; then
+  $XTERM_COMMAND &
+  SESSIONBIN="twm"
+fi
+
+if [ "x${SESSIONBIN}" = "x" ]; then
+  echo "No session located; just starting a terminal"
+  $XTERM_COMMAND
+  echo "Terminal closed with return code $?"
+else
+  echo "Starting session: $SESSIONBIN"
+  $SESSIONBIN
+  echo "Session terminated with return code $?"
+fi
+
+vncserver-virtual -kill $DISPLAY