Linux/VNC

From Wiki
< Linux
Revision as of 09:38, 17 May 2022 by Marcluer (talk | contribs) (→‎VNC Recorder)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

VNC Server

  • Virtual VNC Desktop
    • /etc/defaults/grub
      • quiet splash text
    • apt-get install vnc4server
    • vncserver
    • vncserver -kill :1
    • vi ~/.vnc/xstartup
#!/bin/sh

# Uncomment the following two lines for normal desktop:
unset SESSION_MANAGER
unset DBUS_SESSION_BUS_ADDRESS
# exec /etc/X11/xinit/xinitrc
#/usr/bin/mate-session

[ -x /etc/vnc/xstartup ] && exec /etc/vnc/xstartup
[ -r $HOME/.Xresources ] && xrdb $HOME/.Xresources
xsetroot -solid grey
vncconfig -iconic &
#x-terminal-emulator -geometry 80x24+10+10 -ls -title "$VNCDESKTOP Desktop" &
mate-session &
#x-window-manager &

VNC Recorder

docker run -it widerin/vnc-recorder --help

docker run -v /srv/test:/srv -it widerin/vnc-recorder --host xxx.xxx.xxx.xxx --password xxxxxx --outfile /srv/output.mp4