Re: [gentoo-user] how to start wm from console

2003-06-06 Thread Joel Brauer
If you want kde to be your default wm, then make sure there is a startup
script in /etc/X11/Sessions.  Probably something like kde-3.1.2.  Then
in your /etc/rc.conf file set XSESSION=kde-3.1.2 or whatever script you
want to be run from the /etc/X11/Sessions dir. Make sure you don't have
a .xinitrc in your home dir, because it supercedes all other methods.

Hope that helps!
-- 
Joel Brauer
La Sierra University
Programmer/Analyst
909-785-2308

-- this email is certified virus free! How? Because it didn't
-- come from any Micro$oft based platform or product.

GPG Public Key: http://www.lasierra.edu/~jbrauer/Joel-Brauer-gpg-Public.key
--- Begin Message ---
Hi,

How can I start my favorite wm (KDE) from the console after login as a second 
user. My SuSE command: WINDOWMANAGER=kde3; startx -- :1
doesn't seem to work. With it I end up in twm instead.
-- 
Best regards,
Klaus
--
Gentoo Linux = the better choice!


--
[EMAIL PROTECTED] mailing list

--- End Message ---


signature.asc
Description: This is a digitally signed message part


Re: [gentoo-user] how to start wm from console

2003-06-05 Thread David Dorward
On Wed, Jun 04, 2003 at 10:23:32PM -0700, Klaus D. Neumann wrote:

> How can I start my favorite wm (KDE) from the console after login as
> a second user. My SuSE command: WINDOWMANAGER=kde3; startx -- :1
> doesn't seem to work. With it I end up in twm instead.

Something like this in ~/.xinitrc should do the trick:

#!/bin/bash
if [ -n "$WINDOWMANAGER" ]; then
exec $WINDOWMANAGER
else
exec startkde
fi

... but give the name of the excutable rather then a keyword
(startkde, not kde3) and lose the semi-colon.

-- 
David Dorward http://david.us-lot.org/
 Redesign in progress: http://stone.thecoreworlds.net/
  Microsoft announces IE is dead (so upgrade):
http://minutillo.com/steve/weblog/2003/5/30/microsoft-announces-ie-is-dead

--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] how to start wm from console

2003-06-05 Thread Louis C. Candell
"Klaus D. Neumann" <[EMAIL PROTECTED]> writes:

> Hi,
>
> How can I start my favorite wm (KDE) from the console after login as a second 
> user. My SuSE command: WINDOWMANAGER=kde3; startx -- :1
> doesn't seem to work. With it I end up in twm instead.
> -- 

  * echo exec startkde >> ~/.xinitrc
  * startx

-- 
Louis C. Candell

--
[EMAIL PROTECTED] mailing list



[gentoo-user] how to start wm from console

2003-06-05 Thread Klaus D. Neumann
Hi,

How can I start my favorite wm (KDE) from the console after login as a second 
user. My SuSE command: WINDOWMANAGER=kde3; startx -- :1
doesn't seem to work. With it I end up in twm instead.
-- 
Best regards,
Klaus
--
Gentoo Linux = the better choice!


--
[EMAIL PROTECTED] mailing list