Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
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.
hi,
I've been using the kde desktop, and decided to try the gnome desktop (by choosing gnome under session (i think) when I entered my password on boot up.)
After i shut down the system and re-started all i get now is a dos type prompt asking for a login. i can enter my user name, but all i get is a command line.
how do I get my desktop back??
thanks.
The startx command works, but only gives me the kde desktop. (typing kde also produces the same results).
I found the inittab file, but am unable to edit it as its a readonly file. I tried changing the properties of the file to make it writeable, but it won't let me.
any ideas?
Also, where would i find this gdm file.
thanks again.
gdm is the gnome display manager, it always you to select which window manager you want to use (KDE, Gnome, IceWM, etc.). You probably have kdm or gdm on your computer already. To edit that file you probably need to be logged in as root. To start gdm, just type gdm at the command prompt where you would have typed startx, or try kdm.
startkde will start KDE - startgnome will start Gnome, IIRC.
gdm/xdm are those pretty login pages you get when your system boots into init level 5, and usually you get to pick with desktop you want (kde/gnome, etc), .
Configuring those is in /etc/X11/gdm/gdm.conf or /etc/X11/xdm/xdm.conf...both are very well documented.
You can make a file: ~/.xinitrc that will run when you type startx. If you put " exec gnome-session " in there, it would start Gnome up automatically for you.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.