...
Code Block |
---|
$ mkdir ~/.config/autostart $ cat << EOF > ~/.config/autostart/2x11vncx11vnc.desktop [Desktop Entry] Name=X11VNC Server Comment=Share this desktop by VNC Exec=x11vnc -localhost -forever -shared -ncache Icon=computer Terminal=false Type=Application StartupNotify=false Categories=Network;RemoteAccess; Keywords=VNC;Server;Screencast EOF |
...
Code Block |
---|
$ sudo /etc/systemd/system/getty@tty1.service.d/ $ sudo cat << EOF > /etc/systemd/system/getty@tty1.service.d/2overrideoverride.conf [Service] ExecStart= ExecStart=-/sbin/agetty --autologin ubuntu --noclear %I $TERM EOF $ sudo systemctl enable getty@tty1.service |
...