?
Solved

Displaying a picture on another linux machine remotely.

Posted on 2006-06-14
4
Medium Priority
?
390 Views
Last Modified: 2010-04-20
I have added:  "xhost +xxx.xx.xxx.xx > /dev/null" into the .bashrc of the machine I want to display the picture.  Where xxx.xx.xxx.xx is the Ip address of the machine with the picture.  

If I'm on the machine with the picture, how would I display this picture remotely on the machine with the modified .bashrc.

I have done it before but I can't remember how.
0
Comment
Question by:cameron_schuler
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
4 Comments
 
LVL 15

Accepted Solution

by:
DonConsolio earned 340 total points
ID: 16908242
--------------------- display.sh ----------
:
DISPLAY=yyy.yyy.yyy.yyy:0
export DISPLAY
xv /tmp/mypicture.png
--------------------- END ----------------

0
 
LVL 51

Assisted Solution

by:ahoffmann
ahoffmann earned 160 total points
ID: 16909652
or better:
  xv -display yyy.yyy.yyy.yyy:0  /tmp/mypicture.png
0
 

Author Comment

by:cameron_schuler
ID: 16912759
I get the following error:  xv: Can't open display

Does xv have to be installed on the machine that I want the picture displayed or just on the machine I am executing the command?  If xv has to be installed is there an alternative?

Is putting the "xhost +xxx.xx.xxx.xx > /dev/null" in the .bashrc file of the user logged in enough to get this to work?
0
 

Author Comment

by:cameron_schuler
ID: 16913135
Sorry I got it to work on another machine so please ignore last comment.
0

Featured Post

How Blockchain Is Impacting Every Industry

Blockchain expert Alex Tapscott talks to Acronis VP Frank Jablonski about this revolutionary technology and how it's making inroads into other industries and facets of everyday life.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Join Greg Farro and Ethan Banks from Packet Pushers (http://packetpushers.net/podcast/podcasts/pq-show-93-smart-network-monitoring-paessler-sponsored/) and Greg Ross from Paessler (https://www.paessler.com/prtg) for a discussion about smart network …
In part one, we reviewed the prerequisites required for installing SQL Server vNext. In this part we will explore how to install Microsoft's SQL Server on Ubuntu 16.04.
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
Suggested Courses
Course of the Month9 days, 23 hours left to enroll

762 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question