Thank all.

I copied the enclosed .xinitrc (from David Fox's email, thanks David) and
created the file, it worked. The other suggestion about modifying a .wmrc
file did not work.

Thanks for all who replied.

Any idea why I didn't have a .xinitrc to begin with? There must be anothe
config file somewhere thar gets superceded by .xinitrc.

thanks

George.

On Sun,  1 Jul 2001 04:33, David E. Fox wrote:
> > In old version of Mandrake, there used to be a .xinitrc in the home
> > directory where I can specify the WM I want to use.
>
> Unless you blew away /home, it should still be there. It's not something
> the distribution creates (it might the first time), but I've been using
> a stock .xinitrc for years, and I've done several installs over that time.
>
> > I want to start twm (yes the bare minimum) without having to start
> > kdm/gdm and all that goes with them.
>
> Start up your box in runlevel 3, by editing /etc/inittab, look for a line
> saying 'initdefault' and change the 5 to a 3. Save the file, and restart
> init (kill -1 1) or reboot the system. You should then be booted up to a
> console. You can start X with the 'startx' command and bypass all the
> kdm/gdm etc. stuff.
>
> Edit / create .xinitrc and at the bottom of the file there should be a line
> saying 'exec twm ' - that starts the window manager. I'll include my
> .xinitrc so you can see an example. I've basically used it for several
> different window managers, and each time I want to switch, I just comment
> out (with a # at the beginning of the line) the old wm and take the comment
> off the new wm line.
>
> > George
>
> #!/bin/sh
> # $XConsortium: xinitrc.cpp,v 1.4 91/08/22 11:41:34 rws Exp $
>
> userresources=$HOME/.Xdefaults
> usermodmap=$HOME/.Xmodmap
> sysresources=/usr/X11R6/lib/X11/xinit/.Xresources
> sysmodmap=$HOME/.Xmodmap
>
> # merge in defaults and keymaps
>
> if [ -f $sysresources ]; then
>     xrdb -merge $sysresources
> fi
>
> if [ -f $sysmodmap ]; then
>     xmodmap $sysmodmap
> fi
>
> if [ -f $userresources ]; then
>     xrdb -merge $userresources
> fi
>
> if [ -f $usermodmap ]; then
>     xmodmap $usermodmap
> fi
>
> # turn on screen blanking (save $$)
>
> /usr/X11R6/bin/xset s blank
>
> # start some nice programs
>
> # exec /usr/X11R6/bin/afterstep
>
> # gnome
>
> # exec /usr/bin/gnome-session
>
> #k window manager
> exec /usr/local/kde/bin/startkde
> # stable
> # exec /usr/bin/startkde
> ------------------------------------------------------------------------
> David E. Fox                              Thanks for letting me
> [EMAIL PROTECTED]                            change magnetic patterns
> [EMAIL PROTECTED]               on your hard disk.
> -----------------------------------------------------------------------

-------------------------------------------------------

Reply via email to