gnome/kde from terminal

Fragger

Lorem Ipsum
I don't actually have the beta yet... in fear of killing my fathers g3. But was wondering if it would be possible to run some form of x-windows (gnome in particular) from the terminal window. I know ./ing an aqua program launches it in aqua, so i don't see why if you install an x-windows package that it wouldn't launch unhindered.

I've read lots of posts about this, but can't make any general sense of them.
~Graham

________
Hi! I'm a .signature virus!
Copy me into your ~/.signature to help me spread!
________
 

zpincus

Registered
X windows and especially KDE/Gnome are in some sense an implementation of a various set of APIs (application programmer interfaces) that allow programs to call certain functions and get certain things to appear on the screen, behave in certain manners, pass signals around, etc.
Aqua has totally different APIs. A compiled KDE program isn't going to run under Aqua any more than code written for a windows machine would run if compiled in a mac environment. Code that just accesses the CLI is usually far more portable because there is a much smaller set of assumptions to make about the system. That's why its no problem to recompile Lynx for the terminal, but people have been spending a lot more time getting a GIU implementation of say, renice.
Now, Tenon has made a program called Xtools that allows X windows programs to run in aqua and have the aqua look and feel. This was no small effort, and while you can download a trial version, the full verison will cost around $400. And Xtools doesn't have KDE/Gnome installed, so you'd have to rigure out how to compile them for the mac, and then install them under Xtools' implementation of X windows. Heh.

Also, some folk have installed Xfree86 on their OSX boxes, and run an X session offscreen (display:1 or something) and then using a VNC server running under the X session, send the screen to the OSX display, where they are running a VNC client. Confused yet?
VNC (virtual network computing) is a free utility that allows you to control obne computer from another over a network. Except that someone has managed to use it to control a differnt windows system (Xfree86) running behind the scenes on their OSX box. I wish I could remember the link about this... the server binary can be found at
http://www.uk.research.att.com/vnc
or on stepwise.
Again, as far as KDE and Gnome go, I think you're on your own.

The final option is to just install Xfree86 in the CLI, and then each time you want to use X windows programs, you just have to log out and log in as >console, and then you can start up an X session. http://mrcla.com/XonX/
deals with this.

Hope this helps a little,

zach
 

zpincus

Registered
Here is the page with instructions and links about how to get Xfree86, VNC server, VNC viewer, and some popular X programs all cooperating under OSX.
This guy knows his ... ahem, stuff.
http://www.cdc.noaa.gov/~jsw/macosx_xvnc/

darwinfo has a good howto for getting X running on darwin, most of which should be directly applicable to OSX (you'll need the dev tools, though)
http://www.darwinfo.com/howto/x.shtml

Yeah, this whole VNC thing is a kludge. But its a free, and fairly painless kludge.
I still have no idea about KDE and Gnome for Xfree86 on the mac. An adventerous soul might try for gnome, seeing as it nominally only depends on the GTK+ libs, which I think have been ported, or compile relatively painlessly once you have Xfree86 or Xtools installed.
Has anyone seen anything about Gnome for Darwin?
KDE might be a bit more tough, because I don't know the port/compile status of the qt libraries on which it depends.

[Edited by zpincus on 11-22-2000 at 10:36 PM]
 

MacHoo

Registered
Again, as far as KDE and Gnome go, I think you're on your own.

The final option is to just install Xfree86 in the CLI, and then each time you want to use X windows programs, you just have to log out and log in as >console, and then you can start up an X session. http://mrcla.com/XonX/
deals with this.

Hope this helps a little,

zach [/B][/QUOTE]

Ive read here http://forums.macnn.com/cgi-bin/Forum3/HTML/001900.html that AfterStep http://www.afterstep.org/ was successfully compiled for X11R6 under Darwin. At http://www.darwinfo.org/ you can find more information.

//Marcus

 

Fragger

Lorem Ipsum
This does help a lot...
My only project now is to actually get OS X... and a box that will support it. Thanks a lot,
Graham
 

strobe

Puny Member
Ideally unix apps would start using GNUstep then they could be recompiled to use with OS X.
 
Top