On Tue, Apr 15, 2008 at 8:09 PM, Jason Corcoran <jason at jcorcoran.net> wrote:
> On Tuesday 15 April 2008 12:02:48 James McBoyle wrote:
> > On 15/04/2008, Ian <ianhoweire at gmail.com> wrote:
> > > Just a quick question regarding x windows,
> > > I have 2 linux machines and wondering if i can display applications
> > > one on the other and what is the process for doing this.
> > > i have read a little into this and here is how i understand it to be.
> > > obviously the end result is negative so perhaps someone can point
> > > out where i'm going wrong.
> > >
> > > Server :: 192.168.1.3
> > > Client :: 192.168.1.4
> > >
> > > On the client machine i open a tty2 session (ctrl + alt + f2)
> > > i login as normal and ssh onto the server 192.168.1.3
> > > while connected via ssh, I then issue the command : export display=
> > > 192.168.1.4:0
> > >
> > > What do i need to do after this to open the servers applications on
> > > client.
> > >
> > > Ian
>>> It should be a case of (from you client machine) ensuring that the server
> machine has the right to start X apps so run xhost + <ip>
> Next ssh into the server, export DISPLAY=<clientIp>:0.0 and then start up
> app that you are interested in.
>> As mentioned you could also use ssh +x
It's not very efficient though, vncserver is better -- more lightweight, and
you can tunnel it through ssh for added security.
I had a jihad against vnc for years, but I have seen the light.
Maintained by the ILUG website team. The aim of Linux.ie is to
support and help commercial and private users of Linux in Ireland. You can
display ILUG news in your own webpages, read backend
information to find out how. Networking services kindly provided by HEAnet, server kindly donated by
Dell. Linux is a trademark of Linus Torvalds,
used with permission. No penguins were harmed in the production or maintenance
of this highly praised website. Looking for the
Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!