Tuesday, April 10, 2007

Ubuntu: Automatgic login and starting up programs setup without gui

To set up auto login, edit this file:
$ sudo vi /etc/gdm/gdm.conf-custom


Make sure this line is present:
[daemon]
AutomaticLogin=djohnson
AutomaticLoginEnable=true


To autostart a program create files in this directory:
./config/autostart

Create files with the name xxxxx.desktop

e.g. to start x11vnc

Create a file called x11vnc.deskstop in ./config/autostart
[Desktop Entry]
Name=No name
Encoding=UTF-8
Version=1.0
Exec=x11vnc -shared -forever
X-GNOME-Autostart-enabled=t

0 Comments:

Post a Comment

<< Home