LINUX.IE, website of the Irish Linux Users' Group
Tux rules!

   
Home
New Users
Articles
Download
Projects
Community
Vendors

  Print Version
 
Archives:


planetILUG

Recent News

News Archive


Join the
ILUG
on FaceBook


Join the
ILUG
on LinkedIn


Join the
ILUG SETI
Group



















 
 :: Mailing Lists

[ILUG] X Windows Query

[ILUG] X Windows Query

Conor Wynne mariconor at gmail.com
Wed Apr 16 10:01:47 IST 2008


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
> from
> > > 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
> my
> > >  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
> your
> app that you are interested in.
>
> As mentioned you could also use ssh +x
>
> J.
>

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.

Regards
Conor.



More information about the ILUG mailing list
Read this without the formatting.
                                                                                                    

 

Hosted by HEAnet


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!
RSS Version
Powered by Dell