Linux/VNC: Difference between revisions
< Linux
(Die Seite wurde neu angelegt: „* Virtual VNC Desktop ** /etc/defaults/grub *** <s>quiet splash</s> text“) |
m (→VNC Recorder) |
||
(5 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 | ||
*** <s>quiet splash</s> text | *** <s>quiet splash</s> text | ||
** apt-get install vnc4server | |||
** vncserver | |||
** vncserver -kill :1 | |||
** vi ~/.vnc/xstartup | |||
<blockquote> | |||
<pre> | |||
#!/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 & | |||
</pre> | |||
</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]] |
Latest revision as of 09:38, 17 May 2022
VNC Server
- Virtual VNC Desktop
- /etc/defaults/grub
quiet splashtext
- apt-get install vnc4server
- vncserver
- vncserver -kill :1
- vi ~/.vnc/xstartup
- /etc/defaults/grub
#!/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