Difference between revisions of "Vnc server"

From Hawk Wiki
Jump to: navigation, search
(Created page with "== create VNC server on ubuntu == <pre> sudo apt install xfce4 xfce4-goodies sudo apt install tightvncserver vim ~/.vnc/xstartup # add gnome-panel & gnome-settings-daemon &...")
 
(create VNC server on ubuntu)
 
(2 intermediate revisions by the same user not shown)
Line 3: Line 3:
 
sudo apt install xfce4 xfce4-goodies
 
sudo apt install xfce4 xfce4-goodies
 
sudo apt install tightvncserver
 
sudo apt install tightvncserver
 +
 +
vncserver -kill :1
 +
# setup vnc initial config
  
 
vim  ~/.vnc/xstartup
 
vim  ~/.vnc/xstartup
Line 13: Line 16:
 
# continue installation
 
# continue installation
 
sudo apt install -y gnome-panel gnome-settings-daemon metacity nautilus
 
sudo apt install -y gnome-panel gnome-settings-daemon metacity nautilus
 +
 +
cat << EOF > ~/.vnc/xstartup
 +
#!/bin/bash
 +
xrdb $HOME/.Xresources
 +
startxfce4 &
 +
EOF
  
 
chmod +x ~/.vnc/xstartup
 
chmod +x ~/.vnc/xstartup

Latest revision as of 19:41, 5 October 2023

create VNC server on ubuntu

sudo apt install xfce4 xfce4-goodies
sudo apt install tightvncserver

vncserver -kill :1
# setup vnc initial config

vim  ~/.vnc/xstartup
# add
gnome-panel &
gnome-settings-daemon &
metacity &
nautilus &

# continue installation
sudo apt install -y gnome-panel gnome-settings-daemon metacity nautilus

cat << EOF > ~/.vnc/xstartup
#!/bin/bash
xrdb $HOME/.Xresources
startxfce4 &
EOF

chmod +x ~/.vnc/xstartup

vncserver -kill :1
vncserver -localhost

sudo apt install virtualbox
# install ext pack
sudo VBoxManage extpack install  Oracle_VM_VirtualBox_Extension_Pack-6.1.38-153438.vbox-extpack