Re: X Window Manager
Re: X Window Manager
- Subject: Re: X Window Manager
- From: Don MacQueen <email@hidden>
- Date: Mon, 5 Apr 2004 08:35:06 -0700
At 8:41 PM -0600 4/2/04, Ron Ripley wrote:
I certainly understand that eXceed is not a client, however I can
use it to connect to a Sun system and run CDE or OpenWindows. I am
mearly trying to accomplish this same task with MacOS and X11.
So far, so good.
I used to do exactly this with MacX and OpenWindows. I just now
tested it with XFree86 and came close. More specifically, I can do
it, and it works, but not entirely satisfactorily. OpenWin's
"FileManager" app comes up, for example, and I can use it to navigate
the file system on the Sun.
First, edit the .xinitrc file in your Mac home directory so that the
last line is something like this:
exec xterm -iconic -ls -sb -sl 500 -geometry 80x10+5-30 -name login
Make sure that .xinitrc does not include commands to start any window manager.
(If you don't have a .xinitrc file, the default one is
/etc/X11/xinit/xinitrc in an XFree86 installation)
Start up Apple's X11, set preferences to include a root window. May
have to restart it.
Start X11. In the xterm window that appears (it will be an ugly
little thing in the upper left hand corner, no scroll bars, no
nothing) login to the remote Sun
ssh -X remotemachine
On the remote machine, put commands like these in a file; this will
be a script you use to start OpenWin on the Sun
(Actually, since the xterm you're in at this point is crippled to the
point of being almost useless, you'll probably want to create and
edit this file ahead of time in a more user-friendly environment. But
having this xterm be crippled is tolerable, because all you ever do
in it is execute this script.)
#---------------------- start OpenWin for display on a remote machine --------
echo Starting olvwm
sleep 15 & pid=$!
olvwm -single -display $DISPLAY -syncpid $pid &
wait $pid
echo Done starting olvwm
echo Altering keyboard modifier map with xmodmap
xmodmap -e "keysym Delete = BackSpace"
xmodmap -e "keycode 125 = Delete"
#---------------------------------------------
# start up some clients
# (this was in .openwin-init)
#---------------------------------------------
echo Starting clients xterms
toolwait xterm -geometry 130x30+435+17 \#+413+878 -sb -bg cornsilk1
-title "xt 2"
toolwait xterm -geometry 135x60+10+125 \#+483+878 -sb -bg cornsilk1
-title "xt 1"
echo Finished starting clients
echo Done with .MacXinit
#----------------------------------------------------------------
Execute the above script on the Sun.
Roughly speaking, it works. Right click in the root window brings up
OpenWin's menu. FileManager can be used to navigate. MailTool
displays, etc.
There are some color mapping problems, and Cmd-Option-A doesn't work
to get out of XFree86 and back into the Finder.
I have absolutely no recollection of what the \#+413+878 is doing in
the toolwait xterm commands, or whether it's needed, and if so, why.
If I can get a window manager running on the Mac that can be
displayed on a PC running eXceed.
Maybe if you make the .xinitrc on your Mac set DISPLAY to point to
the PC before it starts a window manager?
If X11 is properly installed (i am assuming it is), then I must have
something configured incorrectly with eXceed.
eXceed can act as a X server and a client (so to speak), I am fully
aware that it runs on PCs only.
Ron
On 2-Apr-04, at 07:13 PM, Rich Cook wrote:
One thing to keep in mind is that window managers themselves are
merely windowless X client applications that perform special tasks
by communicating to the server.
On Apr 2, 2004, at 4:53 PM, Don MacQueen wrote:
Hummingbird exceed is not a client. It's an X windows server. And
it runs on PCs, not Macs.
( http://www.hummingbird.com/products/nc/exceed/index.html?cks=y )
So your question kind of doesn't make sense.
If you have Apple's X11 (properly) installed, then you do have a
window manager; it's called quartz-wm. Is it not doing the job?
-Don
At 9:35 AM -0600 4/2/04, Ron Ripley wrote:
I have a question that hopefully someone on this list could
answer. I've got MacOSX 10.3.3 with X11 1.0 - XFree86 4.3.0
running. I'd like clients (such as hummingbird exceed) to be
presented with a traditional X window manager. I am not sure if
that is possible.
------------
Ron Ripley, mailto:email@hidden
AIM: ripleydotnet, YIM: stringbean160
_______________________________________________
x11-users mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/x11-users
Do not post admin requests to the list. They will be ignored.
--
--------------------------------------
Don MacQueen
Environmental Protection Department
Lawrence Livermore National Laboratory
Livermore, CA, USA
--------------------------------------
_______________________________________________
x11-users mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/x11-users
Do not post admin requests to the list. They will be ignored.
--
Richard Cook
Lawrence Livermore National Laboratory
Bldg-451 Rm-2043, Mail Stop L-561
7000 East Avenue, Livermore, CA, 94550, USA
phone (925) 423-9605 (work) fax (925) 423-8704
---
Information Management & Graphics Grp., Services & Development
Div., Integrated Computing & Communications Dept.
(opinions expressed herein are mine and not those of LLNL)
_______________________________________________
x11-users mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/x11-users
Do not post admin requests to the list. They will be ignored.
------------
Ron Ripley, mailto:email@hidden
AIM: ripleydotnet, YIM: stringbean160
--
--------------------------------------
Don MacQueen
Environmental Protection Department
Lawrence Livermore National Laboratory
Livermore, CA, USA
--------------------------------------
_______________________________________________
x11-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/x11-users
Do not post admin requests to the list. They will be ignored.