configure xterm

install the package that contains xrdb binary

apt-get install x11-xserver-utils

show current configuration

xrdb -query -all

set a new configuration, put the lines in ~/.Xresources

vi ~/.Xresources

! set window size
xterm*geometry: 120x34

! set xterm colors
xterm*background:   yellow
xterm*foreground:   black

! set xterm keybindings
xterm.*.translations: #override \n \
        <Key>F1:     string("X") \n \
        <Key>F2:     string("Y") \n \
        <Key>F3:     string(0x1b)    string("[11~") \n \
        <Key>F4:     string(0x1b)    string("[12~")

reload configuration

xrdb ~/.Xresources

remove all configuration

xrdb -remove -all

more about xterm:


make virtualbox vms communicate with host, vms, lan and internet

get name of your VMs (only VMs created with logged user will appear)

vboxmanage list vms

configure first network adapter to work with the same ip range of vboxnet0

vboxmanage modifyvm 'InsertVmNameHere' --nic1 hostonly --nicpromisc1 allow-vms --bridgeadapter1 eth0

configure second network adapter to work with NAT

vboxmanage modifyvm 'InsertVmNameHere' --nic2 nat

show network interfaces avaiable. maybe you need to get IP by dhcp

ip link show
dhclient eth1

to test, ping ip of your VM in virtualbox host


more about virtualbox cli: