LinuxQuestions.org
Help answer threads with 0 replies.
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, 09: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, 02:17 PM   #2
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

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

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, 02: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, 02: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, 05:31 AM   #6
cs-cam
Senior Member
 
Registered: May 2004
Location: Australia
Distribution: Gentoo
Posts: 3,545

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, 06: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, 06:45 AM   #8
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 79
kdialog will take a --display argument that will let you choose which X server to display it on.
 
Old 09-03-2005, 07: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, 07:15 AM   #10
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 79
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, 07: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, 07:46 AM   #12
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 79
Is your X server listening for tcp connections?
netstat -nlp | grep 600
 
Old 09-03-2005, 07: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, 08: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, 12:53 PM   #15
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 79
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 04:01 PM
How do I make a message box popup for all users? Joey.Dale Linux - General 3 04-09-2004 12:49 AM
Need to generate popup message on Linux machines professorfrink Linux - General 4 11-14-2003 10:46 AM
popup/ad blocker bitterjack Linux - Software 4 10-09-2003 07:01 AM
popup blocker meeh Linux - Software 9 01-18-2003 02:45 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 09:38 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