'xhost +' does not work in warty

Gavin Costello gavcos at bluewin.ch
Wed Feb 9 11:28:20 UTC 2005


On 09-Feb-2005 12:02PM +0100, Johannes Behr wrote:
> Hi,
> 
> I run warty on my local workstation (pc1228)
> and logged into another machine in our local
> network. 
> 
> On the local machine I disabled the X-access
> control with 'xhost +' so everyone should
> be able to access the XServer on pc1228.
> 
> When I try to start a X application (e.g.
> xterm) on the remote machine with 
> -display pc1228:0.0 the window should
> start on the pc1228 server.
> 
> That's how it works on all kind of
> X-Workstations I used in the last
> years. But not on warty. I always get:
> 
> xterm Xt error: Can't open display: pc1228:0.0
> 
> Can anybody give me a hint? Do I have
> to change some other access/security settings?
---end quoted text---

Did you log in to the remote machine with ssh -X ?

From the man page:

-X      Enables X11 forwarding.  This can also be specified on a per-host basis in a configuration
             file.

             X11 forwarding should be enabled with caution.  Users with the ability to bypass file permis-
             sions on the remote host (for the user's X authorization database) can access the local X11
             display through the forwarded connection.  An attacker may then be able to perform activities
             such as keystroke monitoring.

Hope this helps.

Regards,

Gavin.

-- 
Gavin Costello
gavcos at bluewin.ch


More information about the ubuntu-users mailing list