Re: X Window Manager
Re: X Window Manager
- Subject: Re: X Window Manager
- From: Evan Van Dyke <email@hidden>
- Date: Mon, 5 Apr 2004 12:06:18 -0500
- Mail-followup-to: email@hidden
On Mon, Apr 05, 2004 at 08:35:06AM -0700, Don MacQueen wrote:
>
> 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
Changing your .xinitrc like this will prevent window managers from
running at all! Once you've started X11, you can open a shell(any
shell, Terminal.app works just fine) and set the DISPLAY variable if it
isn't already set.
for bash:
export DISPLAY=:0.0
or for TCSH:
set DISPLAY :0.0 <-- I think. Always forget tcsh syntax
now just ssh -X user@remotemachine /usr/X11R6/bin/xterm
will bring up an Xterm running on the remote machine. Change the path
if necessary, of course. just "xterm" should work if your paths are set
up correctly.
--Evan
_______________________________________________
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.