|
|
#21 | |||||||||||||||||||
|
Moderator
Join Date: Jan 2002
Location: Singapore
Posts: 4,237
|
Ethereal needs to be run as root. If you are not root, you will not see any devices. Start it from an xterm with 'sudo ethereal'. . |
|||||||||||||||||||
|
|
|
|
|
#22 | |||||||||||||||||||||||
|
Moderator
Join Date: Jan 2002
Posts: 10,677
|
To that I will add, make sure you're running and using an xterm from X11.app when you do it. This won't work it you try to use Terminal.app. |
|||||||||||||||||||||||
|
|
|
|
|
#23 |
|
Moderator
Join Date: Jan 2002
Location: Singapore
Posts: 4,237
|
.
Yes, if you want to start it from Terminal.app set the DISPLAY environment variable in your ~/.bash_profile if you're using bash or in your ~/.zlogin if you're using zsh: Code:
if [[ -z $DISPLAY ]]; then export DISPLAY=:0.0 fi . |
|
|
|
|
|
#24 |
|
Triple-A Player
Join Date: Sep 2004
Posts: 182
|
When I try to run Ethereal from the terminal, I get following error:
(ethereal:501): Gtk-WARNING **: cannot open display: When I try from X11 I get the error: bash: ethereal: command not found |
|
|
|
|
|
#25 |
|
Triple-A Player
Join Date: Sep 2004
Posts: 182
|
When I run sudo ethereal from X11 I get:
sudo: ethereal: command not found |
|
|
|
|
|
#26 |
|
Site Admin
Join Date: Jan 2002
Location: Montreal
Posts: 32,473
|
I think you are having a PATH problem.
Did you insert the ". /sw/bin/init.sh" line in your .profile or .bashrc? Check if ethereal works if you use the full path: /sw/bin/ethereal |
|
|
|
|
|
#27 |
|
All Star
Join Date: Dec 2004
Posts: 678
|
When I try to run Ethereal from the terminal, I get following error:
(ethereal:501): Gtk-WARNING **: cannot open display: Someone already mentioned you gotta do it from an xterm or set your DISPLAY explicitly. When I try from X11 I get the error: bash: ethereal: command not found There's a Fink FAQ entry entitled Q5.15: I get "command not found" errors when I run Fink or anything that I installed with Fink that sounds relevant. |
|
|
|
|
|
#28 |
|
Triple-A Player
Join Date: Sep 2004
Posts: 182
|
When I try to run ethereal with the complete PATH /sw/bin/ I get the error:
No fonts found; this probably means that the fontconfig library is not correctly configured. You may need to edit the fonts.conf configuration file. More information about fontconfig can be found in the fontconfig(3) manual page and on http://fontconfig.org I have now run the command: cp /private/etc/X11/xinit/xinitrc ~/.xinitrc I guess this copy the xinitrc file to my root-directory. What should I do more with the new .xinitrc-file? |
|
|
|
|
|
#29 |
|
Triple-A Player
Join Date: Sep 2004
Posts: 182
|
When I run /sw/bin/pathsetup.sh I get the message that Fink is already setup correctly.
|
|
|
|
|
|
#30 | |||||||||||||||||||
|
Moderator
Join Date: Jan 2002
Location: Singapore
Posts: 4,237
|
Please, read from Fink documentation, "4.3 The .xinitrc File": http://fink.sourceforge.net/doc/x11/...ang=en#xinitrc or http://homepage.mac.com/sao1/fink/index.html#top15 . Last edited by sao; 05-12-2005 at 12:21 PM. |
|||||||||||||||||||
|
|
|
|
|
#31 |
|
Triple-A Player
Join Date: Sep 2004
Posts: 182
|
I think it worked adding . /sw/bin/init.sh to .xinitrc.
Now I can type just ethereal. But it still doesn't start, because of the error of the fonts.conf-file. |
|
|
|
|
|
#32 |
|
Triple-A Player
Join Date: Sep 2004
Posts: 182
|
I've tried to type edit fonts.conf and then in fonts.conf I've added:
<dir>/System/Library/Fonts/</dir> <dir>/Library/Fonts/</dir> <dir>/Users/my-user-name/Library/Fonts/</dir> But it doesn't work? |
|
|
|
|
|
#33 |
|
Moderator
Join Date: Jan 2002
Posts: 10,677
|
Can you please copy and paste the exact output from the xterm when Ethereal fails?
|
|
|
|
|
|
#34 |
|
Triple-A Player
Join Date: Sep 2004
Posts: 182
|
I type sudo ethereal in X11 and get the following error after I've typed the password:
No fonts found; this probably means that the fontconfig library is not correctly configured. You may need to edit the fonts.conf configuration file. More information about fontconfig can be found in the fontconfig(3) manual page and on http://fontconfig.org |
|
|
|
|
|
#35 |
|
Moderator
Join Date: Jan 2002
Posts: 10,677
|
Where did you install X11 from?
|
|
|
|
|
|
#36 | |||||||||||||||||||
|
Moderator
Join Date: Jan 2002
Location: Singapore
Posts: 4,237
|
Nobody knows what causes the problem, exactly, but running: sudo fc-cache should fix it. . |
|||||||||||||||||||
|
|
|
|
|
#37 |
|
Triple-A Player
Join Date: Sep 2004
Posts: 182
|
From the Mac OS X (Tiger) CD.
|
|
|
|
|
|
#38 |
|
Moderator
Join Date: Jan 2002
Posts: 10,677
|
Sao to the rescue! Again!
|
|
|
|
|
|
#39 |
|
Triple-A Player
Join Date: Sep 2004
Posts: 182
|
IT WORKS!
What does sudo fc-cache do? |
|
|
|
|
|
#40 | |||||||||||||||||||||||
|
Site Admin
Join Date: Jan 2002
Location: Montreal
Posts: 32,473
|
Rephrasing your question: What does the command xxxyyyzzz do? Answer: Read the man page on xxxyyyzzz: man xxxyyyzzz |
|||||||||||||||||||||||
|
|
|
![]() |
| Tags |
| ethereal |
|
|