LinuxQuestions.org
Visit Jeremy's Blog.
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 06-12-2013, 04:08 AM   #1
unclesamcrazy
Member
 
Registered: May 2013
Posts: 188

Rep: Reputation: 1
How to show zenity pop up box on remote system


I want to show the zenity pop up box on remote system.
I can connect the system through ssh, now I am on command prompt of other system.
if I run zenity command here, it does not show the pop up box on remote computer instead it shows info-box on my computer.
I have connected to remote computer using
Code:
ssh -X 192.168.1.10
Now I am on command prompt of other system.
now if I run
Code:
zenity --info --text="Come here"
It shows the info-box on my system although I am executing the command on remote's command prompt.

Please suggest me to display the pop up on remote host.

Thanks
 
Old 06-12-2013, 04:13 AM   #2
evo2
LQ Guru
 
Registered: Jan 2009
Location: Japan
Distribution: Mostly Debian and Scientific Linux
Posts: 5,753

Rep: Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288
Hi,

did you set your DISPLAY environment variable?
eg
Code:
ssh 192.168.1.10
DISPLAY=:0 zenity --info --text="Come here"
Evo2.
 
1 members found this post helpful.
Old 06-12-2013, 07:19 AM   #3
unclesamcrazy
Member
 
Registered: May 2013
Posts: 188

Original Poster
Rep: Reputation: 1
Thanks evo2 for your answer.
But we are executing DISPLAY=:0 on remote host, doesn't it mean we are setting it on remote host?
and second, I used ssh -X, so i am setting display using this then why didn't it open the pop up on remote host.
Can you please explain?
Thanks for your help.
 
Old 06-12-2013, 06:48 PM   #4
evo2
LQ Guru
 
Registered: Jan 2009
Location: Japan
Distribution: Mostly Debian and Scientific Linux
Posts: 5,753

Rep: Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288Reputation: 1288
Hi,
Quote:
Originally Posted by unclesamcrazy View Post
But we are executing DISPLAY=:0 on remote host, doesn't it mean we are setting it on remote host?
Yes...
Quote:
and second, I used ssh -X, so i am setting display using this then why didn't it open the pop up on remote host.
Using -X will enable x11 forwarding so that an x11 client from the remote host can be shown on the local x11 server. Your first post indicates that you want the remote client to display on the remote server.

Evo2.
 
1 members found this post helpful.
Old 06-12-2013, 07:11 PM   #5
marthagibs
LQ Newbie
 
Registered: Jun 2013
Posts: 1

Rep: Reputation: Disabled
Quote:
Originally Posted by evo2 View Post
Hi,

Yes...

Using -X will enable x11 forwarding so that an x11 client from the remote host can be shown on the local plr x11 server. Your first post indicates that you want the remote client to display on the remote server.

Evo2.
Thank you very much for the answers. Really appreciate it. Your answers helped me too!

Last edited by marthagibs; 06-22-2013 at 06:07 AM.
 
Old 06-13-2013, 03:07 AM   #6
unclesamcrazy
Member
 
Registered: May 2013
Posts: 188

Original Poster
Rep: Reputation: 1
@evo2
Thanks for your help
 
  


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
GUI Dialog Box w/embedded terminal window. eg. Zenity? ... Sean Moran Linux - Software 2 06-23-2011 04:16 AM
Remote GUI notification - using kdialog or zenity kdelover Programming 3 06-05-2010 04:54 PM
show for-loop result in one zenity dialog Dr_Death_UAE Programming 3 11-01-2009 04:04 PM
Improve the zenity dialog box....... shivarajM Linux - Software 1 05-02-2009 07:08 AM
How to generate option selection box using zenity........? shivarajM Linux - Software 1 04-29-2009 08:07 AM


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