Jeff Hoog Land

  • Subscribe to our RSS feed.
  • Twitter
  • StumbleUpon
  • Reddit
  • Facebook
  • Digg

Thursday, 22 December 2011

HOWTO: Get right to X with No Display Manager

Posted on 21:17 by Unknown
GDM, KDM, LXDM, LightDM - so many display managers so little time! If your not sure what a "Display Manager" does on your Linux system, in short it is the piece of software that starts your graphical user interface and manages your user login.  I've been doing more and more work with ARM hardware of the late and most times with embedded devices there is little (or no) need for a display manager to be present. You want to get right to your desktop and just start using the system.

If you have a single user computer odds are you also have no need for a display manager to be cluttering your system. The solution is to simply have your desktop GUI of choice auto-start when the computer turns on. To do this we are going to use a simple, but effective, piece of software cleverly called "NoDM".

Before we begin, you first need to disable or uninstall any current display managers running on the system (look into your display manager documentation on doing this, it varies with each display manager).

Next you need to install NoDM. On a Debian/Apt based system it is as simple as running:

sudo apt-get install nodm

After your package manager works it's magic you need to edit at least two lines in the NoDM configuration file. Typically this file is located at /etc/default/nodm, to edit it open it as super user with your preferred text editor. For example:

sudo leafpad /etc/default/nodm 

The default configuration file should look something like this. The two lines we need to edit most are:

NODM_ENABLED=false

and

NODM_USER=root

The first line you simply need to change to read:

NODM_ENABLED=true

The second line you need to make equal to the username you want to be logged in with.

Finally you need to tell your system what type of session to start when X is spawned. For instance I prefer to use the Enlightenment desktop, so in my ~/.xsession file I add the following line:

enlightenment_start

To add this line to your .xsession file via the CLI simply run:

echo enlightenment_start > ~/.xsession

If you are using a desktop other than Enlightenment you will need to figure out what that desktop's start up command is. Have any questions feel free to drop a comment below and I'll do my best to help out.

Cheers,
~Jeff Hoogland
Email ThisBlogThis!Share to XShare to FacebookShare to Pinterest
Posted in howto, linux, software | No comments
Newer Post Older Post Home

0 comments:

Post a Comment

Subscribe to: Post Comments (Atom)

Popular Posts

  • Twenty Sleek GTK Themes for your Linux Desktop
    Last month I posted about twenty two different icon sets you could use to class up your Linux desktop. Today I would like to share with you...
  • Ten Linux Distros that use Enlightenment
    In case you haven't noticed I've had a bit of an obsession with the Enlightenment desktop of the late. Even though this desktop is ...
  • Playing Magic the Gathering on Linux with Cockatrice
    If you ask almost anyone that knows me in person they will attest to the fact that I am a huge nerd. Today I would like to give a short tuto...
  • New E17 Stable Snapshot and the First of E18
    You read that title right folks. The first showing of Enlightenment DR18 (or E18 for short) has become a reality. Sure, it is nowhere near w...
  • HOWTO: Enable Compiz under Bodhi (Enlightenment)
    One of the reasons I gave for giving the Enlightenment desktop a try was its elegance. While it is true that Enlightenment has a good numbe...
  • HOWTO: Watch Netflix on Bodhi Linux
    Not being able to utilize the Netflix video streaming service has been an issue on the Linux desktop for the past few years. This is due to...
  • OpenGL vs DirectX - Benchmark Comparison
    I've done a few benchmarks to date and today I am going to add another interesting set of numbers to the list. Unigine is a cross-pla...
  • HOWTO: Test E18, EFL 1.8.0, and Terminology 0.4.0 on Bodhi Linux
    As of this past weekend the testing builds of the Enlightenment window manager DR18 (E18 for short) are in the Bodhi Linux testing repositor...
  • Linux Out Performs Windows in OpenGL
    Late last year I did a posting detailing how Windows 7 crushed Ubuntu 9.10 in the area of 3D performance. Nine months later I am happy to s...
  • Bodhi Linux ARMHF RootFS
    If you've been following my blog (or my updates on Google+ ) then odds are you know I currently have my hands on two ARM devices ( plus ...

Categories

  • 3g modem
  • adobe
  • android
  • appeal
  • apple
  • arm
  • art
  • asus tablet
  • benchmark
  • bodhi
  • bordeaux
  • cedega
  • chakra
  • chrome os
  • chromebook
  • cockatrice
  • codeweavers
  • comic
  • cricket wireless
  • crysis
  • cxgames
  • debian
  • dell duo
  • diablo3
  • distro review
  • dtf
  • e18
  • eandora
  • eccess
  • elementary
  • elive
  • enlightenment
  • fedora
  • firefox
  • gaming
  • genesi
  • gnome
  • google
  • google chrome
  • google wave
  • handheld device
  • hardware
  • helios
  • howto
  • html5
  • ideapad
  • interview
  • ipad
  • jolicloud
  • kde
  • l4d2
  • laptops
  • lenovo
  • linux
  • lxde
  • macbook
  • math
  • maxima
  • media
  • meego
  • milestone
  • mint
  • mir
  • mk802
  • moblin
  • n900
  • netflix
  • nexus 7
  • nvidia
  • open pandora
  • open source
  • opengl
  • opera
  • operating systems
  • palm
  • phones
  • promotion
  • python
  • qt
  • rant
  • raspberry pi
  • reviews
  • sabayon
  • software
  • source games
  • spotlight
  • sprint
  • starcraft2
  • steam
  • t-mobile
  • tutorial
  • ubuntu
  • unigine
  • unity
  • wayland
  • web application
  • windows
  • windows 7
  • wine
  • wxmaxima
  • xfce

Blog Archive

  • ►  2014 (1)
    • ►  January (1)
  • ►  2013 (22)
    • ►  December (3)
    • ►  November (1)
    • ►  September (1)
    • ►  June (1)
    • ►  May (2)
    • ►  March (2)
    • ►  February (3)
    • ►  January (9)
  • ►  2012 (57)
    • ►  December (5)
    • ►  November (4)
    • ►  October (2)
    • ►  September (1)
    • ►  August (4)
    • ►  July (9)
    • ►  June (4)
    • ►  May (4)
    • ►  April (1)
    • ►  March (7)
    • ►  February (6)
    • ►  January (10)
  • ▼  2011 (107)
    • ▼  December (8)
      • Bodhi Linux Release Schedule
      • Dear Open Source Free Loaders
      • HOWTO: Setup Comp-Scale under Enlightenment
      • Bodhi Linux 1.3.0 Releases
      • HOWTO: Get right to X with No Display Manager
      • Linux Desktop Environment Round Up
      • Application Spotlight: Qalculate!
      • HOWTO: Force Skype to use Alsa on Linux
    • ►  November (8)
    • ►  October (5)
    • ►  September (14)
    • ►  August (9)
    • ►  July (8)
    • ►  June (7)
    • ►  May (10)
    • ►  April (9)
    • ►  March (13)
    • ►  February (9)
    • ►  January (7)
  • ►  2010 (122)
    • ►  December (10)
    • ►  November (8)
    • ►  October (10)
    • ►  September (14)
    • ►  August (17)
    • ►  July (10)
    • ►  June (9)
    • ►  May (14)
    • ►  April (8)
    • ►  March (7)
    • ►  February (7)
    • ►  January (8)
  • ►  2009 (27)
    • ►  December (10)
    • ►  November (7)
    • ►  October (10)
Powered by Blogger.

About Me

Unknown
View my complete profile