Linux/VNC: Difference between revisions

From Wiki
No edit summary
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
== VNC Server ==
* Virtual VNC Desktop
* Virtual VNC Desktop
** /etc/defaults/grub
** /etc/defaults/grub
Line 25: Line 26:
</pre>
</pre>
</blockquote>
</blockquote>
== VNC Recorder ==
<pre>
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
</pre>


[[Category:Linux/Network]]
[[Category:Linux/Network]]
[[Category:Linux]]
[[Category:Linux]]

Latest revision as of 09:38, 17 May 2022

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