Author Topic: XF86Config  (Read 1344 times)

Doogee

  • VIP
  • Member
  • ***
  • Posts: 774
  • Kudos: 109
    • http://m-db.info
XF86Config
« Reply #15 on: 20 October 2002, 10:34 »
ok thanks

voidmain

  • VIP
  • Member
  • ***
  • Posts: 5,605
  • Kudos: 184
    • http://voidmain.is-a-geek.net/
XF86Config
« Reply #16 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

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 ]

Someone please remove this account. Thanks...

Doogee

  • VIP
  • Member
  • ***
  • Posts: 774
  • Kudos: 109
    • http://m-db.info
XF86Config
« Reply #17 on: 20 October 2002, 11:06 »
libdb-3.1.so is needed by icewm-yadda yadda yadda.i386.rpm

voidmain

  • VIP
  • Member
  • ***
  • Posts: 5,605
  • Kudos: 184
    • http://voidmain.is-a-geek.net/
XF86Config
« Reply #18 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
Someone please remove this account. Thanks...

Doogee

  • VIP
  • Member
  • ***
  • Posts: 774
  • Kudos: 109
    • http://m-db.info
XF86Config
« Reply #19 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?

voidmain

  • VIP
  • Member
  • ***
  • Posts: 5,605
  • Kudos: 184
    • http://voidmain.is-a-geek.net/
XF86Config
« Reply #20 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.        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 ]

Someone please remove this account. Thanks...

Doogee

  • VIP
  • Member
  • ***
  • Posts: 774
  • Kudos: 109
    • http://m-db.info
XF86Config
« Reply #21 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

Doogee

  • VIP
  • Member
  • ***
  • Posts: 774
  • Kudos: 109
    • http://m-db.info
XF86Config
« Reply #22 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?

voidmain

  • VIP
  • Member
  • ***
  • Posts: 5,605
  • Kudos: 184
    • http://voidmain.is-a-geek.net/
XF86Config
« Reply #23 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.
Someone please remove this account. Thanks...

Doogee

  • VIP
  • Member
  • ***
  • Posts: 774
  • Kudos: 109
    • http://m-db.info
XF86Config
« Reply #24 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!!!!

Doogee

  • VIP
  • Member
  • ***
  • Posts: 774
  • Kudos: 109
    • http://m-db.info
XF86Config
« Reply #25 on: 22 October 2002, 14:08 »
heres my Xsession file :


Code: [Select]


whats wrong with it???

voidmain

  • VIP
  • Member
  • ***
  • Posts: 5,605
  • Kudos: 184
    • http://voidmain.is-a-geek.net/
XF86Config
« Reply #26 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".
Someone please remove this account. Thanks...