Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'd like to achieve following:

  1. no gnome-desktop
  2. auto login a user and load .bashrc
  3. auto startx and run my custom chromium


  1. I'm able to start with text only, by adding "text" into /etc/default/grub
  2. I'm able to login root, by editing /etc/init/tty1.conf (ref1) but how to login as another user? say 'ubuntu' user and successfully load .bashrc?
  3. how to auto invoke my app I am running after step2 login?

ref1: Auto-login to console as root - no Xserver

share|improve this question

Install "Slim" desktop manager. Download for the Ubuntu Software Center:

Install via the software center

Or Install with the Terminal:

sudo apt-get update
sudo apt-get install slim

Slim can automatically login a user. Just change /etc/slim.conf as described here.

Slim then starts all services in .xinitrc which lies in the home directory of the user that automatically logged in, e.g., /home/some_user/.xinitrc.

In this file you just put the line:


That should be all.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.