DebianThis forum is for the discussion of Debian Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Assuming you installed a window manager, you could enter "startx" to bring it up. ( This assumes X windows is installed. )
If you want to default to booting up to a graphical login, you can edit your /etc/inittab. Read the comments at the start of the file. They will explain which run level to use. On SuSE, Mandrake, Red Hat and others, this would be run level 5.
This is what the relevent part of my /etc/inittab looks like:
# The default runlevel is defined here
id:5:initdefault:
Again, be sure to read the table in the comments at the start of the file. You system may be different than mine.
On my system, the two common run levels are:
# runlevel 3 is Full multiuser with network
# runlevel 5 is Full multiuser with network and xdmh
This is taken from my /etc/inittab file, so you have an idea what it should look like in yours.
You will need to install the X-windows system (XFree86 or Xorg). There are a number of window managers that you can choose to install, if you don't want to install KDE or Gnome. Without the x-windows system, you won't have a desktop.
Originally posted by jschiwal Assuming you installed a window manager, you could enter "startx" to bring it up. ( This assumes X windows is installed. )
If you want to default to booting up to a graphical login, you can edit your /etc/fstab. Read the comments at the start of the file. They will explain which run level to use. On SuSE, Mandrake, Red Hat and others, this would be run level 5.
This is what the relevent part of my /etc/fstab looks like:
# The default runlevel is defined here
id:5:initdefault:
Again, be sure to read the table in the comments at the start of the file. You system may be different than mine.
On my system, the two common run levels are:
# runlevel 3 is Full multiuser with network
# runlevel 5 is Full multiuser with network and xdmh
This is taken from my /etc/inittab file, so you have an idea what it should look like in yours.
you are confusing the newbie with fstab and inittab.
newbie: /etc/inittab is what u want to look at for runlevels (but go a bit deeper and look at the scripts being called) /etc/fstab is what your system will mount, or make available for mounting, at boot.
First of all, this is Debian, not Redhat, so runlevels are somewhat different...
Runlevel 0: Shutdown
Runlevel 1: Single User
Runlevel 2-5: Multi-user
Runlevel 6: Reboot
The default runlevel for debian is 2.
I know in Redhat, the default graphical runlevel is 5, but in debian the switch between console and graphical login is the addition of gdm in /etc/rc2.d/, typically at S99.
If all you have done is install from the basic disks, you probably still need to install Xfree86 (or x.org), gnome or KDE, and GDM or KDM. Those packages are listed below (package type: package name):
Xfree86: xserver-xfree86
X.Org: xserver-xorg
Gnome: gnome
KDE: kdebase
GDM: gdm
KDM: kdm
To get these installed, you can do the following:
$ apt-get install <package-name>
apt will handle all of the dependencies quite handily.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.