Using Debian 7 (Wheezy)

Post tags: | debian | linux |

Overview - Switch from Lubuntu to Debian

Disruptive motivators:

Netinstall - then …


Compiler and build tools

        sudo apt-get install build-essential checkinstall libtool automake uuid-dev

vim (or vim-gtk),tmux,git

        sudo apt-get install vim tmux git

Personalize git

        git config --global "Your Name Here"
         # Sets the default name for git to use when you commit
        git config --global ""
         # Sets the default email for git to use when you commit

Install the rsa public key on my github account


Then clone the vim config and install

        git clone
        cd ~/dotfiles_again/linux

Look at /home/craig/dotfiles_again/windows/vimfiles/bundle/Readme.txt for setting up the vim bundles.

arrange for mounting windows shares

        apt-get install cifs-utils winbind

Add the shares to mount. Sample entry in /etc/fstab

        //gcs3/f$/GIT /media/gcsgit cifs rw,noauto,credentials=/home/craig/gcsww_canderson.txt,uid=craig 0 0

Template credentials file


Java SE 8u20

Extracted jdk tar to /opt/java. Make external link.

        /opt/java/jdk -> /opt/java/jdk1.8.0_20/

Modified /etc/profile

        if [ "`id -u`" -eq 0 ]; then


Unpacked to /opt/jruby. Make symbolic link:

        /opt/ruby/jruby -> /opt/ruby/jruby-1.7.15/

Added /opt/ruby/jruby/bin to path in /etc/profile

vm guest use xorg dummy driver

xfce desktop

        sudo apt-get install xorg xfce4 gdm3 xfce4-goodies

Package: xserver-xorg-video-dummy (1:0.3.5-2 and others) X.Org X server – dummy display driver This package provides a ‘dummy’ display driver, which does not actually display anything.

HOWTO: headless, custom xorg resolution/modeline with vnc access to display 0 console

(This HOWTO will cover different aspects you might not need all of this, but if you need a) a custom resolution b) setup headless access c) access to the console (display :0)remotely part of this may be useful to you.)

So this was going to be a question but it turned into a HOWTO after spending hours on this.

PROBLEM #1: I needed remote access to the console (display :0) of a server from a laptop because I needed to access the audio hardware (though I’m sure there are different reasons one needs access to :0) so nx, tightvnc, xvnc were all out. PROBLEM #2: The server had no monitor attached PROBLEM #3: I was connecting with a laptop that had a resolution of 1280x800 but of course windows (and other OSes) have a task bar, so the actually workable area is less than that. I needed a resolution of 1224x685 (not your typical resolution). PROBLEM #4: need the vnc server to start at boot to allow login from the server (no monitor).

1) Install x11vnc (this seems to be the only vnc server I found that allows console access, nomachine 4 (coming soon) and nomachine 3 have some form of ‘physical screen’ access, but I had a hard time with managing the audio hardware with that so I needed to use vnc.

Headless VNC-Server using xvfb

Xvfb on Debian 7

How to use RDP from Windows to connect to Debian or Ubuntu machine


Desktop howto

XFCE desktop

Use xfce 4.10 on Debian 7

Config notes

multiple monitors

arandr to generate monitor set script

Windows netbios names

Virtual Box autostart guest

Debian service management