Go Back   The macosxhints Forums > OS X Help Requests > UNIX - X11



Reply
 
Thread Tools Rate Thread Display Modes
Old 04-19-2005, 04:10 AM   #1
calvin80
Registered User
 
Join Date: Apr 2005
Posts: 1
X11 error using webspy on Mac OS X

I am trying to run webspy (from dsniff) on Max OS X - but getting some errors regarding X11.

I assume that webspy is sending a command to netscape and trying to launch the netscape browser on X11 where its getting this error:

Here is the error:
----------------------------------------------
My-Computer:~ calvin80$ sudo /usr/local/sbin/webspy -i en1 192.168.0.100
webspy: listening on en1
openURL(http://216.239.39.99/)
webspy: not running on display localhost:0.0
My-Computer:~ calvin80$
----------------------------------------------

I am trying to run webspy here from an xterm terminal that launches once you start Utilities/X11.app

I even tried xhost+ to disable X11 authentication - that did not help either.

Looking at the source code of webspy, it seems it is sending a command to mozilla remote control to launch the window with the specific URL - but before launching the window - there is some check about the display which fails.

Has anyone been able to go around this?

-calvin80
calvin80 is offline   Reply With Quote
Old 06-06-2005, 02:58 AM   #2
gunnmjk
Prospect
 
Join Date: Dec 2003
Location: CA
Posts: 4
the OpenURL command is looking for a web browser configured in x11, but sicnce there isn't one, it fails. I'm pretty sure there is a way to do this, but I am not sure. I have to do some research.
gunnmjk is offline   Reply With Quote
Reply

Thread Tools
Display Modes Rate This Thread
Rate This Thread:

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 On
HTML code is Off

Forum Jump


All times are GMT -5. The time now is 01:50 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Site design © Mac Publishing LLC; individuals retain copyright of their postings
but consent to the possible use of their material in other areas of Mac Publishing LLC.