User Tools

Site Tools


xubuntu-14.04-vm

This is an old revision of the document!


Xubuntu minimal graphical VM

Installation

apt-get install openssh-server
/etc/network/interfaces
# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).

# The loopback network interface
auto lo
iface lo inet loopback

# The primary network interface
auto eth0
iface eth0 inet static
address 172.16.6.4
netmask 255.255.255.0
gateway 172.16.6.1

iface eth0 inet6 static
address 2a02:898:126:6::4
netmask 64
gateway 2a02:898:126:6::1

auto eth1
iface eth1 inet static
address 172.16.7.4
netmask 255.255.255.0

iface eth1 inet6 static
address 2a02:898:126:7::4
netmask 64

dns-nameservers 2a00:1630:59::242 2a02:22a0:bbb7:400::178
dns-search mngt.ams.helux.nl

up ip route add 172.16.3.0/24 via 172.16.7.1 || true
up ip route add 172.16.5.0/24 via 172.16.7.1 || true
up ip route add 2a02:22a0:bbb7:403::/64 via 2a02:898:126:7::1 || true
up ip route add 2a00:1630:59:5::/64  via 2a02:898:126:7::1 || true

sudo apt-get install –no-install-recommends \ xubuntu-desktop \ xfce4-terminal \ xfce4-power-manager \ xfce4-volumed \ xfce4-indicator-plugin \ xfce4-datetime-plugin \ xfce4-screenshooter \ xfce4-cpugraph-plugin \ xfce4-netload-plugin \ xfce4-xkb-plugin \ xubuntu-icon-theme \ xfwm4-themes \ alacarte \ pavucontrol \ file-roller \ plymouth-theme-xubuntu-logo \ mousepad \ gvfs-fuse \ thunar-archive-plugin \ catfish \ indicator-sound-gtk2

sudo apt-get install \ open-vm-tools \ openssh-server \ ntp \ xinetd \ tightvncserver \ gdebi \ humanity-icon-theme \ xubuntu-wallpapers \ firefox \ flashplugin-nonfree \ chromium-browser \ pepperflashplugin-nonfree

vi /etc/xinetd.d/vnc service vnc-1366×768 {

 disabled    = no
 socket_type = stream
 protocol    = tcp
 wait        = no
 user        = nobody
 server      = /usr/bin/Xvnc
 server_args = -inetd -once -query localhost -geometry 1366x768 -depth 24
 type        = UNLISTED
 port        = 5900

}

service vnc-1600×900 {

 disabled    = no
 socket_type = stream
 protocol    = tcp
 wait        = no
 user        = nobody
 server      = /usr/bin/Xvnc
 server_args = -inetd -once -query localhost -geometry 1600x900 -depth 24
 type        = UNLISTED
 port        = 5901

}

service vnc-1920×1080 {

 disabled    = no
 socket_type = stream
 protocol    = tcp
 wait        = no
 user        = nobody
 server      = /usr/bin/Xvnc
 server_args = -inetd -once -query localhost -geometry 1920x1080 -depth 24
 type        = UNLISTED
 port        = 5902

}

vi /etc/lightdm/lightdm.conf.d/20-xdmcp.conf [XDMCPServer] enabled=true port=177

#[VNCServer] #enabled=true #port=5900 #width=1366 #height=768 #depth=16

xubuntu-14.04-vm.1425558037.txt.gz · Last modified: by herwarth