From: "Adam Price" <adam+usenet@pappnase.co.uk>
Subject: Re: Graphic session on console
Date: Wed, 29 May 2002 17:14:52 +0100 [thread overview]
Message-ID: <ad2upq$u310q$1@ID-138239.news.dfncis.de> (raw)
In-Reply-To: d85f7b1b.0205290616.57f117e8@posting.google.com
"Fabrice Rafart" <frafart@chez.com> wrote in message news:d85f7b1b.0205290616.57f117e8@posting.google.com...
> Timo Felbinger <Timo.Felbinger@quantum.physik.uni-potsdam.de> wrote in message
news:<Pine.LNX.4.33.0205281804010.480-100000@uranos.quantum.physik.uni-potsdam.de>...
> > On 28 May 2002, Fabrice Rafart wrote:
> >
> > > bastion_diode@yahoo.com wrote in message news:<ts66fus9m2pv8qvk5b4kv81gvnbje54676@4ax.com>...
> > > > cd /sbin/init.d/ and fire up the xlogin startup script.
> > >
> > > I don't really understand the meanning of "fire up" but this script
> > > serve to launch a graphical login session, I just want a graphical
> > > session, like I launch startx on linux.
> > >
> > > Yet, I do :
> > > /sbin/init.d/xlogin start, works ... then exit for CDE and
> > > /sbin/ini.d/xlogin/stop but I found it isn't very clean.
> >
> > Well, if you want to do it in a _very_ basic way, you must, at a
> > minimum, achieve two things:
> > - start the X server
> > - start (at least) one first client
> > You could start experimenting with a script like like this:
> >
> > #!/bin/sh
> >
> > DISPLAY=:0.0
> > export DISPLAY
> > Xdec &
> > xpid=$!
> > sleep 5
> > dxterm
> > kill $xpid
>
> Ok, it's work but it isn't really usable. I try with mwm but there do
> nothing and dtwm, it's work but I can't launch dxterm (via the icon).
> I think I will use /sbin/init.d/xlogin start|stop for the very few
> time I need graphical session.
>
> Thnaks.
Try reading the man pages for dtsession and dxsession and see if they
do what you want...
Try something like this as your startx script...
#!/bin/ksh
export DISPLAY=:0.0
Xdec &
sleep 5
dtsession
kill %%
Hope this gets a bit closer to what you want.
Adam
prev parent reply other threads:[~2002-05-29 16:14 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-05-27 14:16 Graphic session on console Fabrice Rafart
2002-05-28 5:54 ` bastion_diode
2002-05-28 13:15 ` Fabrice Rafart
2002-05-28 17:12 ` Timo Felbinger
2002-05-29 14:16 ` Fabrice Rafart
2002-05-29 16:14 ` Adam Price [this message]
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox