LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 09-02-2005, 10:11 AM   #1
bruse
Member
 
Registered: Feb 2005
Location: internet
Distribution: Debian
Posts: 821

Rep: Reputation: 30
popup message/


mandrake 10.0
is ther any command or packages for popup message.

rwall and wall are not usefull.

IS THERE ANY GRAPHICAL POPUP SOFTWARE.
 
Old 09-02-2005, 03:17 PM   #2
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 66
Take a look at kdialog if you are using kde or the more generic xmessage.
 
Old 09-02-2005, 10:13 PM   #3
cs-cam
Senior Member
 
Registered: May 2004
Location: Australia
Distribution: Gentoo
Posts: 3,544
Blog Entries: 4

Rep: Reputation: 57
There is also gmessage as well, I know in Arch it's a seperate package on AUR but you might already hvae it depending on your distro. If you use GNOME/GTK rather than KDE/Qt, you could have a look at gtk-server as well which will let you create all kinds of GTK widgets from shell scripts etc.
 
Old 09-03-2005, 03:34 AM   #4
bruse
Member
 
Registered: Feb 2005
Location: internet
Distribution: Debian
Posts: 821

Original Poster
Rep: Reputation: 30
the popup up message should be in a remote system that running kde or gnome.
i know the IP address of the remote system.
#kdialog --msgbox "hai"

working in my system.
i want to display this in remote system.
is there any option for that to specify the IP address.

or could u please give me the shell script for that?
 
Old 09-03-2005, 03:34 AM   #5
bruse
Member
 
Registered: Feb 2005
Location: internet
Distribution: Debian
Posts: 821

Original Poster
Rep: Reputation: 30
the popup up message should be in a remote system that running kde or gnome.
i know the IP address of the remote system.
#kdialog --msgbox "hai"

working in my system.
i want to display this in remote system.
is there any option for that to specify the IP address.

or could u please give me the shell script for that?
 
Old 09-03-2005, 06:31 AM   #6
cs-cam
Senior Member
 
Registered: May 2004
Location: Australia
Distribution: Gentoo
Posts: 3,544
Blog Entries: 4

Rep: Reputation: 57
Does the remote system have sshd running? You could pretty easily write a shell script to login via ssh and then run that command which would pop up the dialog on the remote desktop
 
Old 09-03-2005, 07:17 AM   #7
bruse
Member
 
Registered: Feb 2005
Location: internet
Distribution: Debian
Posts: 821

Original Poster
Rep: Reputation: 30
i am not expert in that?
and it should ask me for the ip address of the system?

so please any one give me the shell code ?
 
Old 09-03-2005, 07:45 AM   #8
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 66
kdialog will take a --display argument that will let you choose which X server to display it on.
 
Old 09-03-2005, 08:03 AM   #9
bruse
Member
 
Registered: Feb 2005
Location: internet
Distribution: Debian
Posts: 821

Original Poster
Rep: Reputation: 30
sir i have this error.


[root@localhost staff]# kdialog --display 10.255.240.102
kdialog: cannot connect to X server 10.255.240.102

[root@localhost staff]# kdialog --display 10.255.240.102:0
Xlib: connection to "10.255.240.102:0.0" refused by server
Xlib: No protocol specified

kdialog: cannot connect to X server 10.255.240.102:0

[root@localhost staff]# kdialog --display 10.255.240.102:1
Xlib: connection to "10.255.240.102:1.0" refused by server
Xlib: No protocol specified

kdialog: cannot connect to X server 10.255.240.102:1
 
Old 09-03-2005, 08:15 AM   #10
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 66
You will need to allow connections on the other X server.

On the destination machine run:
xhost +ip.of.your.machine

That will allow your machine to connect to the machine with the X server.
 
Old 09-03-2005, 08:42 AM   #11
bruse
Member
 
Registered: Feb 2005
Location: internet
Distribution: Debian
Posts: 821

Original Poster
Rep: Reputation: 30
sir please look this result.

i want to popup the message in my system alone.

it is also not working.


[staff@localhost staff]$ xhost +10.255.240.102
10.255.240.102 being added to access control list

[staff@localhost staff]$ kdialog --display 10.255.240.102
kdialog: cannot connect to X server 10.255.240.102

[staff@localhost staff]$ /sbin/ifconfig
eth0 Link encap:Ethernet HWaddr 00:11:09:74:CC0
inet addr:10.255.240.102 Bcast:10.255.255.255 Mask:255.0.0.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:145667 errors:0 dropped:0 overruns:0 frame:0
TX packets:9684 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:19430560 (18.5 Mb) TX bytes:1472839 (1.4 Mb)
Interrupt:11 Base address:0x9000

lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:1156 errors:0 dropped:0 overruns:0 frame:0
TX packets:1156 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:101326 (98.9 Kb) TX bytes:101326 (98.9 Kb)



THIS IS M SYSTEM.WHY NOT WORKING?
 
Old 09-03-2005, 08:46 AM   #12
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 66
Is your X server listening for tcp connections?
netstat -nlp | grep 600
 
Old 09-03-2005, 08:59 AM   #13
bruse
Member
 
Registered: Feb 2005
Location: internet
Distribution: Debian
Posts: 821

Original Poster
Rep: Reputation: 30
yes


[staff@localhost staff]$ netstat -nlp | grep 600
(Not all processes could be identified, non-owned process info
will not be shown, you would have to be root to see it all.)
tcp 0 0 0.0.0.0:6000 0.0.0.0:* LISTEN -
tcp 0 0 0.0.0.0:6001 0.0.0.0:* LISTEN -
[staff@localhost staff]$
 
Old 09-05-2005, 09:13 AM   #14
bruse
Member
 
Registered: Feb 2005
Location: internet
Distribution: Debian
Posts: 821

Original Poster
Rep: Reputation: 30
is any one help me for remote message?
 
Old 09-05-2005, 01:53 PM   #15
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 66
Well, if the server is listening and you have allowed it with xhost, I can only assume it is a firewall problem.

Do you have any firewall rules in place:
iptables -nL
 
  


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
Irritating plugin popup message in mozilla downfall Linux - Software 2 10-29-2005 05:01 PM
How do I make a message box popup for all users? Joey.Dale Linux - General 3 04-09-2004 01:49 AM
Need to generate popup message on Linux machines professorfrink Linux - General 4 11-14-2003 11:46 AM
popup/ad blocker bitterjack Linux - Software 4 10-09-2003 08:01 AM
popup blocker meeh Linux - Software 9 01-18-2003 03:45 PM


All times are GMT -5. The time now is 11:01 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration