Push image from one computer to another?

If you are new to Linux or new to Sabayon Linux and just not sure where to post, here ya go. Post without fear of being told to RTFM :)

Moderator: Moderators

Post Reply
bowenit
Simple Hen
Posts: 49
Joined: Tue Oct 09, 2007 17:43
Location: Texas

Push image from one computer to another?

Post by bowenit » Thu Oct 28, 2010 21:53

I use Sabayon 5.4 x86. What I would like to know is how to push an X image from a server to a client. Specificaly:

I use Sabayon 5.4 x86 with Pinnacle Classic, from Actual Systems of America, it "lives" on fedora (Unknown version, their choice not mine) and is setup in a workgroup setup, as opposed to LDAP, etc...

Normally while looking through parts (We recycle automobiles) you can pull an image from the server to look at. Under Windows using xming you can view it, and it sends a picture as an xwindow object. Under Sabayon I get 192.168.0.129:0: Can not open display.

We use putty to talk to the server, and interchange with the data, the above message comes across my putty window.
Using Sabayon 5.4 x86 in a business environment.

pepe999
Advanced Hen
Posts: 259
Joined: Fri Mar 06, 2009 19:24
Location: Manchester
Contact:

Re: Push image from one computer to another?

Post by pepe999 » Fri Oct 29, 2010 1:07

Hi,
I'm not a professional but this:
192.168.0.129:0
looks like a port problem. 192.168.0.129 should be your local IP address and :0 means actual port for the application you want to open the image in..
That :0 shouldn't be there, there should be a different port(number) but it's just my guess..
Dell L502X - Core i7-2840QM/8GB DDR3/GF 540M 2GB/Corsair GT 240GB/Full HD
Debian 7
Win 7 still installed
Linux user no. 491024

Stupot
Sagely Hen
Posts: 1799
Joined: Wed Feb 14, 2007 3:44
Location: St. Louis, MO, USA

Re: Push image from one computer to another?

Post by Stupot » Fri Oct 29, 2010 15:18

I don't believe you are correct pepe. The :0 indicates which x session bowenit is trying to connect to.

How are you attempting to connect via Sabayon? I see with Windows you used xming (I don't know anything about it), but I didn't see what app you were attempting to use in Sabayon. I would guess ssh -X

Are you sure the server is permissioned to let the new remote client connect? http://www.linuxquestions.org/questions ... ay-657727/

pepe999
Advanced Hen
Posts: 259
Joined: Fri Mar 06, 2009 19:24
Location: Manchester
Contact:

Re: Push image from one computer to another?

Post by pepe999 » Fri Oct 29, 2010 20:42

The :0 indicates which x session bowenit is trying to connect to.
Ok, I thought that it means a port on a host pc not a server. I study Cisco Academy but am a bit confused. There is lots of stuff so it takes time to understand all.. :)
Dell L502X - Core i7-2840QM/8GB DDR3/GF 540M 2GB/Corsair GT 240GB/Full HD
Debian 7
Win 7 still installed
Linux user no. 491024

Stupot
Sagely Hen
Posts: 1799
Joined: Wed Feb 14, 2007 3:44
Location: St. Louis, MO, USA

Re: Push image from one computer to another?

Post by Stupot » Fri Oct 29, 2010 21:33

Yeah, I understand the confusion. Typically when you see an ip address followed by a semicolon and some number that number indicates the port. Connection to a remote x session follows the same convention, but instead of port it's indicating the x session to connect to.

pepe999
Advanced Hen
Posts: 259
Joined: Fri Mar 06, 2009 19:24
Location: Manchester
Contact:

Re: Push image from one computer to another?

Post by pepe999 » Fri Oct 29, 2010 22:00

Good to know that for the future. I'm going to need it..
Cheers, Stupot
Dell L502X - Core i7-2840QM/8GB DDR3/GF 540M 2GB/Corsair GT 240GB/Full HD
Debian 7
Win 7 still installed
Linux user no. 491024

Fac3kk
Simple Hen
Posts: 67
Joined: Fri Oct 16, 2009 16:26

Re: Push image from one computer to another?

Post by Fac3kk » Sat Oct 30, 2010 15:00

If you wanna connect to some other X server it has to be configured to allows such an operation.

By default in Sabayon X is started with nolisten tcp option, so there is no possibility to connect to it from network.
Note that enabling X to listen on network port is a security flaw. You should most probably set some additional rules on firewall.

Topic about enabling X to listen for connections is here
http://forum.sabayon.org/viewtopic.php? ... 52&start=0

without --nolisten tcp option X server should listen on tcp 6000 by default.

Besides that you`re gonna have to authorize certain host (or hosts/networks/all) to connect to X.

this is done with xhost command.

at first try 'man xhost' :)

gl

Post Reply