LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   xdm loading gnome instead of WindowMaker (SuSE 10.0) (https://www.linuxquestions.org/questions/linux-newbie-8/xdm-loading-gnome-instead-of-windowmaker-suse-10-0-a-428333/)

tiddy 03-25-2006 06:28 AM

xdm loading gnome instead of WindowMaker (SuSE 10.0)
 
Hi, I've been using linux since Jan 06 and I really liked the gnome interface (switched from WinXP), but I thought the gnome apps were really crappy (just my opinion). So I thought that I could have the gnome interface with the KDE apps. I want into the yast sftware manager and decided against it when I saw the (long) list of clashes when I tried to do this. So, then I tried windowmaker and found it better than gnome anyway. So now I use windowmaker. Problem solved - you'd think. Nope. Because my linux partition is only so big, and I'd like to get rid of gnome because it's just sitting there doing nothing. As far as I can see the only way I can get into windowmaker is through the session menu at the gdm login prompt, obviously, if I get rid of gnome (and therefore gdm), I can't get into windowmaker because I'd have to login with xdm and that doesn't allow you to select which session you would like.
Sorry for the long post, any replies are welcome.

Thanks

sub_pop_culture 03-25-2006 10:23 AM

xdm uses what GDM/KDM call "Xsession". There should be a file in your home directory called .xsession. Its a simple shell script, that you can list what you want to do on login. The last line you should put in the script is: exec wmaker. This will execute your window manager and dump you into the WindowMaker settings you've configured. Make sure .xsession is set to be executable (chmod u+x ~/.xesssion), otherwise xdm won't execute it.

tiddy 03-26-2006 08:01 AM

It isn't there (there is .xsession-errors) should I create it?

sub_pop_culture 03-26-2006 11:00 PM

Yes, create it and put
Code:

#!/bin/sh
exec wmaker

in it, setting it executable, and logging in with xdm again.

tiddy 06-17-2006 08:43 AM

thanks! worked brilliantly!


All times are GMT -5. The time now is 11:08 PM.