Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow VNC copy/paste #162

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions layers/centos-7:gui/@target/install
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,16 @@ sed -i -e '/load-module.*bluetooth/ s/^/#/' /etc/pulse/default.pa

sed -i -e 's/"dateMenu", //' /usr/share/gnome-shell/modes/classic.json

mkdir -p /home/demo/.config/autostart
cat >>/home/demo/.config/autostart/vncconfig.desktop <<EOF
[Desktop Entry]
Name=vncconfig
Type=Application
Exec=vncconfig -nowin
X-GNOME-Autostart-enabled=true
EOF
chown -R demo:demo /home/demo/.config

cat >>/usr/local/bin/demobuilder-cleanup.sh <<EOF
rm -f /var/lib/NetworkManager/dhclient-*-eth0.lease
EOF
10 changes: 10 additions & 0 deletions layers/fedora-21-32:gui/@target/install
Original file line number Diff line number Diff line change
Expand Up @@ -48,3 +48,13 @@ for dest in password-auth system-auth; do
cp pam-auth-demobuilder /etc/pam.d/$dest-demobuilder
ln -sf $dest-demobuilder /etc/pam.d/$dest
done

mkdir -p /home/demo/.config/autostart
cat >>/home/demo/.config/autostart/vncconfig.desktop <<EOF
[Desktop Entry]
Name=vncconfig
Type=Application
Exec=vncconfig -nowin
X-GNOME-Autostart-enabled=true
EOF
chown -R demo:demo /home/demo/.config
10 changes: 10 additions & 0 deletions layers/fedora-22:gui/@target/install
Original file line number Diff line number Diff line change
Expand Up @@ -43,3 +43,13 @@ sed -i -e '/-A INPUT -i lo -j ACCEPT/ a\
-A INPUT -p tcp -m state --state NEW -m tcp --dport 5900 -j ACCEPT' /etc/sysconfig/iptables

ln -sf /lib/systemd/system/graphical.target /etc/systemd/system/default.target

mkdir -p /home/demo/.config/autostart
cat >>/home/demo/.config/autostart/vncconfig.desktop <<EOF
[Desktop Entry]
Name=vncconfig
Type=Application
Exec=vncconfig -nowin
X-GNOME-Autostart-enabled=true
EOF
chown -R demo:demo /home/demo/.config
10 changes: 10 additions & 0 deletions layers/fedora-23-32:gui/@target/install
Original file line number Diff line number Diff line change
Expand Up @@ -48,3 +48,13 @@ for dest in password-auth system-auth; do
cp pam-auth-demobuilder /etc/pam.d/$dest-demobuilder
ln -sf $dest-demobuilder /etc/pam.d/$dest
done

mkdir -p /home/demo/.config/autostart
cat >>/home/demo/.config/autostart/vncconfig.desktop <<EOF
[Desktop Entry]
Name=vncconfig
Type=Application
Exec=vncconfig -nowin
X-GNOME-Autostart-enabled=true
EOF
chown -R demo:demo /home/demo/.config
10 changes: 10 additions & 0 deletions layers/rhel-server-6:gui/@target/install
Original file line number Diff line number Diff line change
Expand Up @@ -27,3 +27,13 @@ lokkit -p 22:tcp
lokkit -p 5900:tcp

sed -i -e 's/id:3:initdefault:/id:5:initdefault:/' /etc/inittab

mkdir -p /home/demo/.config/autostart
cat >>/home/demo/.config/autostart/vncconfig.desktop <<EOF
[Desktop Entry]
Name=vncconfig
Type=Application
Exec=vncconfig -nowin
X-GNOME-Autostart-enabled=true
EOF
chown -R demo:demo /home/demo/.config
10 changes: 10 additions & 0 deletions layers/rhel-server-7:gui/@target/install
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,16 @@ sed -i -e '/load-module.*bluetooth/ s/^/#/' /etc/pulse/default.pa

sed -i -e 's/"dateMenu", //' /usr/share/gnome-shell/modes/classic.json

mkdir -p /home/demo/.config/autostart
cat >>/home/demo/.config/autostart/vncconfig.desktop <<EOF
[Desktop Entry]
Name=vncconfig
Type=Application
Exec=vncconfig -nowin
X-GNOME-Autostart-enabled=true
EOF
chown -R demo:demo /home/demo/.config

cat >>/usr/local/bin/demobuilder-cleanup.sh <<EOF
rm -f /var/lib/NetworkManager/dhclient-*-eth0.lease
EOF