From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fa528,9d5d0637a34772d6 X-Google-Attributes: gidfa528,public X-Google-ArrivalTime: 2002-05-29 09:14:52 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!skynet.be!skynet.be!fu-berlin.de!uni-berlin.de!pc3-redc3-0-cust1.bre.cable.ntl.COM!not-for-mail From: "Adam Price" Newsgroups: comp.unix.tru64 Subject: Re: Graphic session on console Date: Wed, 29 May 2002 17:14:52 +0100 Message-ID: References: NNTP-Posting-Host: pc3-redc3-0-cust1.bre.cable.ntl.com (80.3.250.1) X-Trace: fu-berlin.de 1022688890 31556634 80.3.250.1 (16 [138239]) X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2600.0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 Xref: archiver1.google.com comp.unix.tru64:7839 "Fabrice Rafart" wrote in message news:d85f7b1b.0205290616.57f117e8@posting.google.com... > Timo Felbinger wrote in message news:... > > On 28 May 2002, Fabrice Rafart wrote: > > > > > bastion_diode@yahoo.com wrote in message news:... > > > > 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