Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Troubles with Airsnort
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
epretorious
Apprentice
Apprentice


Joined: 04 Jul 2003
Posts: 191
Location: Truckee, CA

PostPosted: Fri Oct 01, 2004 10:13 pm    Post subject: Troubles with Airsnort Reply with quote

Hello, All:

I'm attempting to use Airsnort (airsnort-0.2.1b) with pcmcia_cs (airsnort-0.2.1b) but Airsnort barfs when I try to start it:
Code:
zippy root # airsnort

Gtk-WARNING **: cannot open display:

Kismet works correctly so I know that GTK and the orinoco_cs driver (orinoco-13e) are correctly configured/patched.

What might I be doing wrong?
_________________
Eric P.
Sunnyvale, CA
Back to top
View user's profile Send private message
darfsnuzal
n00b
n00b


Joined: 07 Aug 2003
Posts: 36

PostPosted: Sat Oct 02, 2004 3:09 am    Post subject: Reply with quote

If you are running a X based program from a shell as one user (say, root), but you are logged into your window manager (KDE, gnome) as another user (say, bob) then you need to issue:
Code:

$ xhost +

as your window manger user (bob). This tells X windows to accept connections from any machine or user and show windows on your display. This all stems from the fact that X is network aware.

If you computer is directly attached to the internet and not behind a firewall, you don't want to run this command. Anyone would be able to display windows on your screen for you.

Darf
_________________
"Born to Compile"
Back to top
View user's profile Send private message
epretorious
Apprentice
Apprentice


Joined: 04 Jul 2003
Posts: 191
Location: Truckee, CA

PostPosted: Tue Oct 05, 2004 11:06 pm    Post subject: Reply with quote

Quote:
If you are running a X based program from a shell as one user...

Oops - I've confused the ncurses display (of Kismet) with the GTK+ display. :oops:
_________________
Eric P.
Sunnyvale, CA
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum