On Fri, Jul 12, 2002 at 03:54:04PM +0200 Marco Fioretti <[EMAIL PROTECTED]> wrote:
> Hello, > > here at work I've been finally given a PC with Linux Red Hat 7.2 > and blackbox-0.61.1-2. Distro and/or blackbox version cannot be > changed because of company policies too shameful to discuss them > here. Also, I have no root password. > > The problem: the PC has been configured with initlevel 5, and GNOME. > > How can I use blackbox as my wm? If I put /usr/bin/blackbox in .xsession > and the WINDOW_MANAGER environment variable, GNOME croaks because I > am not using a GNOME compliant WM, and I'm left with an unusable desktop > > Keep in mind that I don't need GNOME at all, I just got it with the PC, > and, again, requests to change the "default" install, i.e. to mess with > gdm or such, are going to be ignored, for the more or less right reason > that other people may use this PC, and they would get lost without icons > and such. Any clues? > > TIA, > Marco Fioretti try the following (it works on my test-box (rh 7.3; gdm) but I don't know what system files *I* have changed from defaults and what has changed from RedHat 7.2 to 7.3): create a file ~/.Xclients make it executable chmod 0755 ~/.Xclients put in: #!/bin/sh /usr/local/bin/blackbox (or xtoolwait things first, ...) /etc/X11/xinit/xinitrc reads ~/.Xclients first. After that you should be able to login in using gdm; gdm starts executes ~/.Xclients and does not try to run the system file /etc/X11/xinit/Xclients. What also might help (don't know yet) is setting a environment variable in your ~/.bashrc: export PREFERRED=/usr/local/bin/blackbox Hope this will help; we'll know monday... :-) -- Gerrit Hoetzel http://www.hzhome.mine.nu
