SlackwareThis Forum is for the discussion of Slackware 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.
$ su
<enter root password>
# cd /etc/X11/xinit
# mv xinitrc xinitrc.bad (this backs up your old xinitrc which is linked to kde)
# ln -s xinitrc.gnome xinitrc (creates new link to start gnome)
# exit
$ startx (this should start gnome)
From what I can see xinitrc is a link to whatever default desktop that you want to use all of which are listed in /etc/X11/xinit with the names <window manager>.xinitrc. I think it's just a matter of linking to the right file to change your default window manager.
Last edited by kilgoretrout; 01-09-2005 at 10:22 AM.
If you take a look at the startx script in /usr/X11/bin it appears that the script looks first for an xinitrc in your home directory, then proceeds to the global one in /etc/X11/xinit. Actually it's a hidedn file(/home/<username>/.xinitrc). Check to see if there is such a file in your home directory.
that file was there in my home directory, but modifying it isn't enough. Now I can't get a window manager to start at all. I'll just modify it back for now
I do an end-run around that, myself, but it is the default way and should not fail. Have you tried that yet?
Possibly saying what exactly does happen (rather than 'can't get a window manager to start at all') would help. Any particular messages when this happens?
(Also, if you're sticking with Slack, you should update your distro.)
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.