Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!tut.cis.ohio-state.edu!ukma!sam From: sam@ms.uky.edu (Mike Mills) Newsgroups: comp.sys.amiga Subject: Re: X Windows on A3000! Message-ID: Date: 29 Jul 90 21:57:06 GMT References: <25771@snow-white.udel.EDU> Organization: U of Ky, Math. Sciences, Lexington KY Lines: 74 lawsonse@vttcf.cc.vt.edu (Cy_Borg) writes: >I am the (usually) happy owner of an A3000UX. Wow, you mean Unix for the Amiga is out??? Yay! >My problem is this: >I can't get X to run! I've run oladduser to set up my account to use >Open Look. I've run olinit to (supposedly) set up Open Look. I type >/usr/X/bin/X >and get the X screen (complete with pointer), but no windows open up on it! >I have to log on as root on another console to kill the process. What am I >doing wrong? Hmm, you should also have olwsm (Open Look Workspace Manager) and olwm (Open Look Window Manager) running. And before you get any windows, you need to run a program that opens some, such as xterm. Here, I'll just include a couple of startup files that are placed in every new user's directory where I work. The following lines should be called ".olsetup": *------Cut Here------* OLINVOKE=yes export OLINVOKE #!@ Do not edit this line !@ XNETACCESS=off export XNETACCESS #!@ Do not edit this line !@ DISPLAY=`uname -n`:0 export DISPLAY #!@ Do not edit this line !@ PATH=$PATH:/usr/X/bin export PATH #!@ Do not edit this line !@ if [ "$OLINVOKE" = "yes" -a "$XNETACCESS" != "" -a -r /usr/X/bin/olinit -a -x /usr/X/bin/olinit -a -r /usr/X/bin/olwsm -a -x /usr/X/bin/olwsm ] then /usr/X/bin/olinit -- -xnetaccess $XNETACCESS fi *------End of .olsetup------* The next few lines should be saved as ".olinitrc". It will start a clock, and open up a couple of xterms on the local machine (in this case, your 3000): *-----Cut Here------* xclock -geometry 100x100+50+500 & sleep 3 xterm -fn 9x15 -bw 3 -fg blue -bg white -n `uname` -e /bin/ksh & sleep 3 xterm -fn 9x15 -bw 3 -fg blue -bg white -n `uname` -e /bin/ksh & *------End of .olinitrc------* Now, having placed those files in your directory, add the following line to your .profile (if you are using ksh...if you are using csh, then you would need to modify your .login): . .olsetup & If you plan on logging in from a remote host, you need to put the above line in a test case, so that it is only executed when you are logged in at the console (otherwise, if you logged in from, say, a vt100 terminal, windows would pop up on your 3000's display.) The following would work for ksh: if [ `tty` = "/dev/console" ]; then . .olsetup & fi Hope this helps, and I'd like to know what Amiga Unix is like, so feel free to mail me... -- | Mike Mills (aka "Sam") | sam@ms.uky.edu cn.mike@ukpr.uky.edu | | (606) 255-3583 | BIX: mike... | +-------------------------------------+---------------------------------------+ | "There is always an alternative." --Spock |