Archive for settembre, 2014

thinkpad update bios linux with usb stick

  1. Download the bios iso cdrom from lenovo website
  2. # apt-get install genisoimage
  3. # geteltorito filedownloaded.iso > biosupdate.img
  4. # dd if=biosupdate.img of=/dev/sdc bs=512k
  5. reboot

Check /dev/sdX is the usb stick disk . Note that of=/dev/sdX want disk and not partition (eg. not sdX1 but only sdX).

vnc xstartup metacity

install these packages

# apt-get install gnome-session gnome-panel metacity gnome-terminal –no-install-recommends

xstartup file

xstartup file

#!/bin/sh

export XKL_XMODMAP_DISABLE=1
unset SESSION_MANAGER
unset DBUS_SESSION_BUS_ADDRESS

[ -x /etc/vnc/xstartup ] && exec /etc/vnc/xstartup
[ -r $HOME/.Xresources ] && xrdb $HOME/.Xresources
xsetroot -solid grey
vncconfig -iconic &

gnome-panel &
gnome-settings-daemon &
metacity &
nautilus &
gnome-terminal &