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 <IPV4-ADDRESS>
netmask <NETMASK>
gateway <GATEWAY>

iface eth0 inet6 static
address <IPV6-ADDRESS>
netmask 64
gateway <GATEWAY>

dns-nameservers 2a00:1630:59::242 2a02:22a0:bbb7:400::178
dns-search <DOMAIN>

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

/etc/xinetd.d/vnc
service vnc-1366x768
{
   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-1600x900
{
   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-1920x1080
{
   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
}
/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.1425558271.txt.gz · Last modified: by herwarth