Stop Microsoft

Operating Systems => Linux and UNIX => Topic started by: Doogee on 20 October 2002, 08:25

Title: XF86Config
Post by: Doogee on 20 October 2002, 08:25
Well, im up to my video card ive selected the correct one now it wants my video memory i have a 16meg vid card. is that what it wants to know? if it is whats 16 meg in kilobytes?
Title: XF86Config
Post by: voidmain on 20 October 2002, 21:09
I don't remember xf86config asking for memory size in kilobytes but to answer your question it would be 16MB*1024=16,384KB.
Title: XF86Config
Post by: Master of Reality on 20 October 2002, 21:20
i usually just put down 16000.

yes it does ask  for kilobtes, void main.
Title: XF86Config
Post by: voidmain on 20 October 2002, 21:38
I guess it's been quite some time since I've had to enter the memory size as it's always correctly detected my equipment. RedHat found my nVidia Geforce2 w/32MB (and it shows 32MB, not Kilobyte). In fact in my /etc/X11/XF86Config it doesn't list the amount of memory at all, the drivers correctly detect it.

But I'm sure it was in Kilobyte if you say it is, it's been a long time since I used XFree v3.x where the memory was probably required. At any rate, 16,384KB is the same as 16MB, you're shorting yourself if you only specify 16,000KB (not that you'll probably use that extra 384KB anyhoo. You could run 32 bit color at 1600x1400 and only use half that amount. Of course GL video games might want more than that.
Title: XF86Config
Post by: Doogee on 20 October 2002, 21:41
ok so now i have cofigured this xf thingo now how do i fucking well start icewm at login, i dont know which login manager is us but it only says red hat up the top and i installed gnome desktop 1st ive only had kde installed for a week or 2, does that mean im using gnome's login manager.

anyway please help me out.


-D
Title: XF86Config
Post by: voidmain on 20 October 2002, 21:44
If "ps aux | grep gdm" returns anything then you are using the gnome login manager. If "ps aux | grep kdm" returns something you are using KDE login manager. What version of RedHat are you using? Since you are using RedHat then there should be a file called "/etc/sysconfig/desktop". If that file contains the line:

DESKTOP="GNOME"

then it will use gdm (Gnome's login manager), if it has:

DESKTOP="KDE"

then it will use kdm (KDE's login manager).

[ October 20, 2002: Message edited by: void main ]

Title: XF86Config
Post by: Doogee on 20 October 2002, 21:50
well gdm returned 2 results but it said root and kdm returned one but it was my login (Dan)
Title: XF86Config
Post by: voidmain on 20 October 2002, 21:51
What version of RedHat?
Title: XF86Config
Post by: Master of Reality on 20 October 2002, 21:52
there is an easier way to do that but i cant remember how.

[EDIT: The way i was thinkin of only worx in slackware]

[ October 20, 2002: Message edited by: The Master of Reality / Bob ]

Title: XF86Config
Post by: Doogee on 20 October 2002, 21:53
redhat 7.3
Title: XF86Config
Post by: voidmain on 20 October 2002, 21:55
Ok, I assume you just installed IceWM and you want to add that to your list of choices on the login manager right? Where did you get IceWM, what version, and how did you install it (from source? from RPM? etc).
Title: XF86Config
Post by: Doogee on 20 October 2002, 21:59
yes that is excactly what i want to do, void

icewm latest version installed from rpm im not totally sure what the latest version is i think its some pre2 weird version
Title: XF86Config
Post by: voidmain on 20 October 2002, 10:05
Where did you get it? Do you still have the RPMs? As in can you tell me the exact name of the RPM(s)?

Since you are using gdm you will likely have to add a script to the /etc/X11/gdm/Sessions directory and you will probably also have to add a section for IceWM to the /etc/X11/xinit/Xclients script. I was going to go ahead and install it on one of my RH7.3 machines and set it up so I can give you exact instructions (I wanted to check out IceWM myself so it's not a big deal).
Title: XF86Config
Post by: Doogee on 20 October 2002, 10:17
the dependecy files were in:

icewm-common-1.2.2-1.noarch.rpm


and the actual icewm was in

icewm-default-1.2.2-1.i386.rpm
Title: XF86Config
Post by: voidmain on 20 October 2002, 10:27
Ok, looks like you might have got the RPMs from sourceforge (http://sourceforge.net/project/showfiles.php?group_id=31). I am downloading now and will get back with instructions on how to add it to your graphical login manager.

[ October 20, 2002: Message edited by: void main ]

Title: XF86Config
Post by: Doogee on 20 October 2002, 10:34
ok thanks
Title: XF86Config
Post by: voidmain on 20 October 2002, 10:57
Ok, got it working just fine. Here's what I did:

1) Download IceWM from here:
ftp://ftp.rpmfind.net/linux/PLD/current/dists/ra/PLD/i386/PLD/RPMS/icewm-1.2.2-2.i386.rpm (http://ftp://ftp.rpmfind.net/linux/PLD/current/dists/ra/PLD/i386/PLD/RPMS/icewm-1.2.2-2.i386.rpm)

2) Install:
# rpm -Uvh icewm-1.2.2-2.i386.rpm

3) Created an IceWM file for menu:
# cd /etc/X11/gdm/Sessions
# cp GNOME IceWM
Edit the "IceWM" file and change "gnome" to "icewm" at the end of the last line.

4) Edit the "/etc/X11/xdm/Xsession" file
Insert a section right under this section toward the end of the script:

Code: [Select]

to look like this:

Code: [Select]

That's it. Have fun!

P.S. I didn't get the files you got, I would remove those RPMs and install the one I linked at the top since I know it works:

# rpm -e icewm-common
# rpm -e icewm-default

then install the new one:

# rpm -Uvh icewm-1.2.2-2.i386.rpm

[ October 20, 2002: Message edited by: void main ]

Title: XF86Config
Post by: Doogee on 20 October 2002, 11:06
libdb-3.1.so is needed by icewm-yadda yadda yadda.i386.rpm
Title: XF86Config
Post by: voidmain on 20 October 2002, 11:18
Ok, I just realized I installed on my RedHat 7.2 machine which happened to have all the correct libraries installed. However, do not fear, I also just installed it on my RedHat 8.0 system and had the same dependency problem but worked around it. First make sure you have db3 installed by typing:

# rpm -qa | grep db3

Then do this:

# cd /lib
# ln -s libdb-3.3.so libdb-3.1.so

Then when you install the RPM add the "--nodeps" parameter:

rpm -Uvh icewm-1.2.2-2.i386.rpm --nodeps
Title: XF86Config
Post by: Doogee on 20 October 2002, 12:12
Void you are a fucking legend im in and everythings working perfectly. IceWM looks pretty cool aswell, itd be heaps good for my dads old shit box lol. so i spoze if i wanted to install other window managers i would just repeat what u said but with the name of the other manager?
Title: XF86Config
Post by: voidmain on 20 October 2002, 18:59
Yes, you would just add another script to the Sessions directory and add a section for it in the Xsessions file as you did. Obviously each Window manager is different in how it is configured and how it is customized but you didn't ask for help with that.    (http://smile.gif)    IceWM look like a decent light weight Window manager but I'll stick with Gnome and KDE since I have the power to burn. Glad you got it working.

BTW, the little trick we did with db3 and the "ln -s" and the "--nodeps" is not the cleanest way to do it. And I would not suggest getting in the   habbit of doing things that way. It's just the quickest/easiest way I could think of to solve your problem without downgrading your db3. It would have been best to have both versions of db3 installed, or better yet compile IceWM against the newer db3 library as function calls between the different versions could have possibly changed slightly causing problems with IceWM.

I didn't notice any problems, but that doesn't mean there wouldn't be any. I'm not exactly sure what IceWM uses the db3 libraries for.

[ October 20, 2002: Message edited by: void main ]

Title: XF86Config
Post by: Doogee on 21 October 2002, 13:51
err what are the db3 libs for, or is this something i should learn along the course of my Linux fulfilled life  :D
Title: XF86Config
Post by: Doogee on 21 October 2002, 16:01
hey void i installed fvwm from rpm and matched all dependencies and everything and i did exactly what u said up there but changed it all to fvwm instead of icewm and i know fvwm is the exec file cos i tried it in Konsole and it dumped me the manager already running thing. what info do u need to know to help me?
Title: XF86Config
Post by: voidmain on 21 October 2002, 21:25
Ok, here's what I did to get it working, most of which you probably have already done:

1) download and install the following
- fvwm-2.4.9-1.i386.rpm
- fvwm-themes-base-0.6.1-1.noarch.rpm
- wm-icons-0.3.0-1.noarch.rpm
2) Create a /etc/X11/Sessions/FVWM file and set the name to "fvwm" in the file as you said you did.
3) Add an "fvwm" section to /etc/X11/xdm/Xsession as you said you did.
4) Make a couple of symbolic links in /usr/X11R6/bin:
# cd /usr/X11R6/bin
# ln -s /usr/bin/fvwm .
# ln -s fvwm fvwm2

Now you should be able to log in to fvwm from your graphical login manager. You will get a blank screen because you have not configured it yet, click your "right" mouse button on the background where you will be prompted with a configuration preference, then click the "restart fvwm" option to make the new config take effect. Try each of your mouse buttons on the desktop for the different fvwm menus.

If you wanted to try a different configuration you can log off, delete your ~/.fvwm directory and log in to a blank screen again and select a different configuration with your right mouse button.

Good luck.
Title: XF86Config
Post by: Doogee on 22 October 2002, 14:05
it still wont fucken work ive done everything as u said, all the rpms went fine i added everything but it just drops me back in the login screen AAARRRRRRRRRRRGHHH!!!!
Title: XF86Config
Post by: Doogee on 22 October 2002, 14:08
heres my Xsession file :


Code: [Select]


whats wrong with it???
Title: XF86Config
Post by: voidmain on 22 October 2002, 20:39
After it knocks you back to the login prompt take a look at your "~/.xsession-errors" file and see if it provides any clues. It sounds like you don't have the proper symbolic links created in /usr/X11R6/bin. Could you do a "which fvwm" and tell me what it says, and then could you do a "ls -l /usr/X11R6/bin/fv*" and copy/paste the output into this thread?

NOTE on the .xsession-errors, you'll probably want to look at this without logging back in so as to not wipe it out with the good window manager login. To do this you can switch over to a virtual terminal (CTRL+ALT+F1), log in to the text login and do a "more ~/.xsession-errors". Then switch back to the graphical login with "ALT+F7".