image
image

Go Back   macosx.com > Mac Help Forums > Unix & X11

Reply
 
LinkBack Thread Tools
  #17  
Old December 7th, 2003, 11:55 PM
Registered User
 
Join Date: Dec 2003
Posts: 22
Thanks: 0
Thanked 0 Times in 0 Posts
stefmit is on a distinguished road
Quote:
Originally Posted by dktrickey
stefmit,

Glad you found a solution. I'd urge you to use Apple's version of X11 instead of the one available through Fink (unless they're pointing to Apple's X11).

Apple's has Open GL acceleration, integration with Aqua, etc. It's FASTER! Go to -> http://www.apple.com/macosx/features/x11/download/ (thanks to cfleck).

Doug
Took your advice and got it to work Thank you! I tested as my first app ethereal. I still do not quite understand the mechanics of launching this stuff in Mac: if I am in a "Mac" terminal window, and launch
$ startx
then in the newly created terminal (under Apple's X11) I can launch any X11 program (e.g. ethereal).

If I go by the "book/instructions" way (i.e. Applications>Utilities>X11.app), any application I try to run cannot be found (a path issue of some sort, I would guess). I checked my .profile, and I have the proper "pointer" to /sw/bin/init.sh (I am running bash, of course).
Reply With Quote
  #18  
Old December 8th, 2003, 08:48 AM
mr. k's Avatar
Registered User
 
Join Date: Oct 2002
Location: mpls. mn
Posts: 1,408
Thanks: 0
Thanked 0 Times in 0 Posts
mr. k is on a distinguished road
Etheral can't do anything unless it runs with certain privileges, it has to be able to read a system file somewhere that a normal admin user can't read. Is there any way to use it as root, or give it a new group and authorize that group for reading the certain file? It doesn't do me a lot of good right now...
__________________
iMac G3 600Mhz, 256MB RAM, 40GB HD, 10.3.5
20GB iPod (Click Wheel) w/ Griffin iTrip // AIM:kjell05
Reply With Quote
  #19  
Old December 8th, 2003, 09:38 AM
Registered User
 
Join Date: Dec 2003
Posts: 22
Thanks: 0
Thanked 0 Times in 0 Posts
stefmit is on a distinguished road
Quote:
Originally Posted by mr. k
Etheral can't do anything unless it runs with certain privileges, it has to be able to read a system file somewhere that a normal admin user can't read. Is there any way to use it as root, or give it a new group and authorize that group for reading the certain file? It doesn't do me a lot of good right now...
You are right, but this is not what I am talking about. Launching ethereal is not necessarily related to being able to read off of an interface - I am just talking about the GUI here. In any case, I do "su -" in both cases - and if starting X with startx ethereal is found by both "regular" user, as well as root. If starting X through the "menus" (Applications>Utilities>X.app), neither the user, nor the root (after "su -") could find the executable - and this is what I was refering to.
Reply With Quote
  #20  
Old December 8th, 2003, 11:27 AM
rhg rhg is offline
Registered User
 
Join Date: Dec 2002
Location: Velbert, Germany
Posts: 220
Thanks: 0
Thanked 0 Times in 0 Posts
rhg is on a distinguished road
Do an echo $PATH in the xterm to see what the PATH is set to. If it doesn't contain /sw/bin you probably didn't source (i.e. execute in the calling shell context by putting a . in front of the script) the /sw/bin/init.sh script in .profile:
. /sw/bin/init.sh
Reply With Quote
  #21  
Old December 8th, 2003, 12:02 PM
Registered User
 
Join Date: Dec 2003
Posts: 22
Thanks: 0
Thanked 0 Times in 0 Posts
stefmit is on a distinguished road
Quote:
Originally Posted by rhg
Do an echo $PATH in the xterm to see what the PATH is set to. If it doesn't contain /sw/bin you probably didn't source (i.e. execute in the calling shell context by putting a . in front of the script) the /sw/bin/init.sh script in .profile:
. /sw/bin/init.sh
Actually I had/have . /sw/bin/init.sh in the .profile, but it did not do any good. On the other hand, you were right about the $PATH (how come I didn't check it ;(!!!), so a 'export PATH=$PATH:/sw/bin' in the xterm fixed the problem. I will have to look into the init.sh, to see what is supposed to do, but I can also manually append /sw/bin to the PATH, anyway ... good ... thank you!
Reply With Quote
Reply

Bookmarks

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off

Forum Jump


All times are GMT -5. The time now is 08:59 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.3.0 RC1
Copyright 2000-2010 DigitalCrowd, Inc.