Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 19 Jun 2001 13:40:52 +0400
From:      Igor Robul <igor@mordor.admiral.ru>
To:        freebsd-questions@FreeBSD.ORG
Subject:   Re: X application without starting a desktop
Message-ID:  <20010619134052.C2321@mordor.admiral.ru>
In-Reply-To: <H0000e990837bff6@MHS>; from andrei.popov@citicorp.com on Tue, Jun 19, 2001 at 08:51:59AM %2B0100
References:  <H0000e990837bff6@MHS>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, Jun 19, 2001 at 08:51:59AM +0100, andrei.popov@citicorp.com wrote:
> > Is it possible to run an XWindows application without 
> > starting KDE (or Gnome etc..) ?
> > (Something like launching the application together with the 
> > Xserver at its minimum..)
> 
> put it into your ~/.xinitrc or ~/.xsession file like so:
> 
> #! /bin/sh
> # .xinitrc
> 
> # start fvwm2
> exec fvwm2 &
> 
> # ...and start some nice progs
> exec xterm &
> exec xeyes &

but without 'exec' 
because exec will replace .xinitrc's shell with another program.
So:
export LANG=ru_RU.KOI8-R # <-- this is for xdm started sessions
xsetroot -solid SlateGray
xbiff -geometry -0-65 &
xclock -digital -geometry -0-0 &
xterm &
exec mwm   # <---------------- We don't need .xinitrc anymore



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010619134052.C2321>