Difference between revisions of "Ubuntu 18 04 modifications"

From RobotinoWiki
(Created page with "==Graphics drivers== <pre> add-apt-repository ppa:oibaf/graphics-drivers apt-get update apt-get upgrade </pre> ==Mirror display== Use arandr to create screenlayout script and...")
 
Line 8: Line 8:
 
==Mirror display==
 
==Mirror display==
 
Use arandr to create screenlayout script and add it to Startup Applications Alt+F2 and run the gnome-session-properties
 
Use arandr to create screenlayout script and add it to Startup Applications Alt+F2 and run the gnome-session-properties
 +
 +
==VNC==
 +
<pre>
 +
apt-get install x11vnc
 +
</pre>
 +
 +
/etc/systemd/system/x11vnc.service
 +
<pre>
 +
[Unit]
 +
Description="x11vnc"
 +
 +
[Service]
 +
ExecStart=/usr/bin/x11vnc -auth /run/user/1000/gdm/Xauthority -forever -loop -noxdamage -repeat -rfbport 5900 -shared
 +
Restart=on-failure
 +
 +
[Install]
 +
WantedBy=display-manager.service
 +
</pre>
 +
systemctl enable x11vnc.service

Revision as of 12:32, 30 March 2019

Graphics drivers

add-apt-repository ppa:oibaf/graphics-drivers
apt-get update
apt-get upgrade

Mirror display

Use arandr to create screenlayout script and add it to Startup Applications Alt+F2 and run the gnome-session-properties

VNC

apt-get install x11vnc 

/etc/systemd/system/x11vnc.service

[Unit]
Description="x11vnc"

[Service]
ExecStart=/usr/bin/x11vnc -auth /run/user/1000/gdm/Xauthority -forever -loop -noxdamage -repeat -rfbport 5900 -shared
Restart=on-failure

[Install]
WantedBy=display-manager.service

systemctl enable x11vnc.service