Linux - DistributionsThis forum is for Distribution specific questions.
Red Hat, Slackware, Debian, Novell, LFS, Mandriva, Ubuntu, Fedora - the list goes on and on...
Note: An (*) indicates there is no official participation from that distribution here at LQ.
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.
Ok, I know you are all probably thinking this is a question that has been asked hundreds of times over, but I've spent the last 45 minutes searching for something to help me and couldn't find anything, so I'm going to ask. I just finished getting Gentoo installed, and it's been a long time since I've used linux so I feel like a newbie again. I know that the file to start X automatically on boot is inittab, and the graphical runlevel is generally 5. so i changed the runlevel to 5. When I'm starting up, it says it's switching to runlevel 5, but it I get no graphical interface. I don't mind starting X manually, but sometimes I just like to start up to GDM. If I changed the default runlevel to 5, what am I missing that keeps it from starting up to X?
Indeed, inittab used to be the place where the graphical session got started. It seems that the current trend, however, is to create a system service (init.d/dm) that gets started only in runlevel 5.
Your choice.
Either you create a line that starts GDM on boot in /etc/inittab (copy-paste a line from a virtual terminal and adapt it), or you create a 'dm' init script that starts/stop/restart GDM depending on the value of $1.
@_@ Wow. That's way different from when I used it before. How would I go about writing a 'dm' init script to start GDM? I'm not that great at bash scripting, and I'm having to learn to use linux all over again. I think I was lucky to successfuly bootstrap my gentoo installation. >_< Any help would be awesome.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.