LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 02-12-2003, 01:07 AM   #1
zindadilfaiz
LQ Newbie
 
Registered: Feb 2003
Location: Pune, India
Distribution: Redhat 7.3
Posts: 3

Rep: Reputation: 0
xmessage origin


How can I find out from where (which machine)
the xmessages I get on my machine are coming?
(I know how to prevent it, I want to know which
machine on internal LAN is sending them if I
have allowed many machines, by using xhost +.)
 
Old 02-12-2003, 05:54 AM   #2
vladkrack
Member
 
Registered: Oct 2002
Location: Curitiba - Brazil
Distribution: Conectiva
Posts: 334

Rep: Reputation: 30
You can use:

# netstat -a

and

search for a line like:

tcp 0 0 <your machine>:6000 <the machine you want to find out>:1033 ESTABLISHED

Hope that helps ...
 
Old 02-19-2003, 03:10 AM   #3
zindadilfaiz
LQ Newbie
 
Registered: Feb 2003
Location: Pune, India
Distribution: Redhat 7.3
Posts: 3

Original Poster
Rep: Reputation: 0
Thanks for reply vladkrack.
But I found follwing is superior:
xlsclients -display <my IP address>:0.0
It directly gives name and IP of machine posting xmessage, including the command that invoked xmessage.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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



Similar Threads
Thread Thread Starter Forum Replies Last Post
cronjob and xmessage esteeven Linux - Software 3 09-14-2005 04:25 AM
Newline in xmessage? scottjwoodford Linux - General 2 06-09-2005 03:17 PM
xmessage on network masand Programming 0 04-09-2004 09:09 AM
xmessage vs mandrake perdesiz Linux - Software 2 09-17-2003 03:52 AM
xmessage installation and howto x2000koh Linux - General 0 07-30-2003 09:09 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 04:22 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration