POV-Ray : Newsgroups : povray.unix : Sharing the X display Server Time
31 Oct 2024 14:10:47 EDT (-0400)
  Sharing the X display (Message 1 to 5 of 5)  
From: Peter Popov
Subject: Sharing the X display
Date: 26 Aug 2001 17:42:07
Message: <okqhotoqk2a5lk2iltliljvjkrldiasn9o@4ax.com>
I have two machines running Linux. One of them is running X and the
other is not (it has it installed but I don't want to run it since I'm
testing a program I'm writing which is using svgalib). How do I go
about making a X application from one machine use the screen on the
other machine? I've set DISPLAY, of course, but it complains about
permissions. How do I set those?

The machine running X has Slackware Linux 8.0, XFree86 4.0.3 and KDE
2.1, if that's of any help.

Another issue I have is with ssh. I have sshd running on both machines
but I can only log on in one of them, the other is refusing the
connection (this is kinda annoying since I want to use CVS over ssh.)
What could be wrong?


Peter Popov ICQ : 15002700
Personal e-mail : pet### [at] vipbg
TAG      e-mail : pet### [at] tagpovrayorg


Post a reply to this message

From: Warp
Subject: Re: Sharing the X display
Date: 26 Aug 2001 18:05:26
Message: <3b8972a5@news.povray.org>
Peter Popov <pet### [at] vipbg> wrote:
: I've set DISPLAY, of course, but it complains about
: permissions. How do I set those?

man xhost

-- 
#macro N(D,I)#if(I<6)cylinder{M()#local D[I]=div(D[I],104);M().5,2pigment{
rgb M()}}N(D,(D[I]>99?I:I+1))#end#end#macro M()<mod(D[I],13)-6,mod(div(D[I
],13),8)-3,10>#end blob{N(array[6]{11117333955,
7382340,3358,3900569407,970,4254934330},0)}//                     - Warp -


Post a reply to this message

From: Peter Popov
Subject: Re: Sharing the X display
Date: 26 Aug 2001 18:50:12
Message: <a6viot4q0upjlt2bg65if1qd9dhv4pl23c@4ax.com>
On 26 Aug 2001 18:05:26 -0400, Warp <war### [at] tagpovrayorg> wrote:

>Peter Popov <pet### [at] vipbg> wrote:
>: I've set DISPLAY, of course, but it complains about
>: permissions. How do I set those?
>
>man xhost

Thanks, this should do the trick.

*rebooting...*


Peter Popov ICQ : 15002700
Personal e-mail : pet### [at] vipbg
TAG      e-mail : pet### [at] tagpovrayorg


Post a reply to this message

From: Daniel Matthews
Subject: Re: Sharing the X display
Date: 26 Aug 2001 18:53:56
Message: <2125650.nlVU6TSbVV@3-e.net>
I use SSH ( secure shell) on our LAN.
I just set the SSH config on the remote system to allow X forwarding, 

Then it is as simple as 
ssh machinename (plus any options you want )

Once you are logged on to a shell on the remote system, running a program 
that uses X will cause it to run it's GUI on your LOCAL X Server.

It just pops up as if it were local.
Dead easy and ssh will compress the data stream for you if you want.

Peter Popov wrote:

> I have two machines running Linux. One of them is running X and the
> other is not (it has it installed but I don't want to run it since I'm
> testing a program I'm writing which is using svgalib). How do I go
> about making a X application from one machine use the screen on the
> other machine? I've set DISPLAY, of course, but it complains about
> permissions. How do I set those?
> 
> The machine running X has Slackware Linux 8.0, XFree86 4.0.3 and KDE
> 2.1, if that's of any help.
> 
> Another issue I have is with ssh. I have sshd running on both machines
> but I can only log on in one of them, the other is refusing the
> connection (this is kinda annoying since I want to use CVS over ssh.)
> What could be wrong?
> 
> 
> Peter Popov ICQ : 15002700
> Personal e-mail : pet### [at] vipbg
> TAG      e-mail : pet### [at] tagpovrayorg


Post a reply to this message

From: Peter Popov
Subject: Re: Sharing the X display
Date: 26 Aug 2001 19:49:17
Message: <0j2jot41l59kgu3fdjdp9nu09vsgvhepna@4ax.com>
On Mon, 27 Aug 2001 08:53:35 +1000, Daniel Matthews
<lig### [at] bigpondnetau> wrote:

>I use SSH ( secure shell) on our LAN.
>I just set the SSH config on the remote system to allow X forwarding, 

This has been set up. The problem is that ssh itself refuses the
connection in one direction (from bozo: to home:). In the other
direction (from home: to bozo:) everything works ok.

Oh, and Warp's two words worked like magic, so I only need to fix that
ssh now.


Peter Popov ICQ : 15002700
Personal e-mail : pet### [at] vipbg
TAG      e-mail : pet### [at] tagpovrayorg


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.