How To: Installing Debian Etch From a running Debian based system — page 3

less than 1 minute read

##5. Install and Configure Xorg

During your system reboot, you should watch out for any errors and warning message, they might turn out to be usefull :).

Let’s install xserver and xclient:

# apt-get install xserver-common xserver-xorg
# apt-get install x-window-system-core x-window-system
# apt-get install gdm gnome-session 

plus whichever package you might want.

Open /etc/X11/xorg.conf and check that the driver is appropriate to your video card, verify the keyboard layout setting and try X.

X

If this goes wrong, google will be your best friend :).

Suppose X is working fine, you need to create your normal user’s account. On my /home partition, the uid and gid is 1000, therefore I need to create my group user and user with uid and gid 1000:

# addgroup --gid 1000 myuser
# adduser --id 1000 --gid 1000 myuser

start gdm, and login with your normal user account ;).

That’s it, you will still need to install loads of other package (xmms, mplayer, gaim…), but your system is running.

Hope you liked the trip.