Difference between revisions of "Ubuntu 16 04 modifications"
From RobotinoWiki
(→lighttpd) |
(→allow root to run X11 apps) |
||
Line 15: | Line 15: | ||
echo "export XAUTHORITY=/home/robotino/.Xauthority" >> /etc/profile | echo "export XAUTHORITY=/home/robotino/.Xauthority" >> /etc/profile | ||
</pre> | </pre> | ||
+ | |||
+ | ==VNC== | ||
+ | <pre> | ||
+ | apt-get install x11vnc | ||
+ | x11vnc -storepasswd KENNWORT /etc/x11vnc.pass | ||
+ | </pre> | ||
+ | |||
+ | /etc/systemd/system/x11vnc.service | ||
+ | <pre> | ||
+ | [Unit] | ||
+ | Description="x11vnc" | ||
+ | |||
+ | [Service] | ||
+ | ExecStart=/usr/bin/x11vnc -auth /home/robotino/.Xauthority -forever -loop -noxdamage -repeat -rfbauth /etc/x11vnc.pass -rfbport 5900 -shared | ||
+ | Restart=on-failure | ||
+ | |||
+ | [Install] | ||
+ | WantedBy=display-manager.service | ||
+ | </pre> | ||
+ | systemctl enable x11vnc.service |
Revision as of 11:49, 27 June 2016
Disable Apport
echo "enabled=0" > /etc/default/apport
lighttpd
apt-get install lighttpd php php-cgi lighty-enable-mod cgi lighty-enable-mod fastcgi-php
allow root to run X11 apps
echo "export XAUTHORITY=/home/robotino/.Xauthority" >> /etc/profile
VNC
apt-get install x11vnc x11vnc -storepasswd KENNWORT /etc/x11vnc.pass
/etc/systemd/system/x11vnc.service
[Unit] Description="x11vnc" [Service] ExecStart=/usr/bin/x11vnc -auth /home/robotino/.Xauthority -forever -loop -noxdamage -repeat -rfbauth /etc/x11vnc.pass -rfbport 5900 -shared Restart=on-failure [Install] WantedBy=display-manager.service
systemctl enable x11vnc.service