[lug] Cannot make remote X connection

Todd Ruskell truskell at Mines.EDU
Thu Aug 30 11:48:18 MDT 2001


If you're connecting via openssh, try this:

ssh -X hostname

The -X explicitly turns on x-forwarding, and takes care of all your xhost and
$DISPLAY variables.  If you're not using
ssh, then you may also need to set your $DISPLAY variable on the remote machine,

export $DISPLAY=displaymachineip:0.0      if using bash, or
setenv $DISPLAY=displaymachineip:0.0      if using a csh environment

TGR

"Dhruva B. Reddy" wrote:

> Hi all,
>
> I am running two Debian boxes, and I can't seem to run X applications between
> the two machines (i.e., running the app on one machine and displaying it on the
> other).  I have tried disabling access control using 'xhost', but it doesn't
> make any difference.
>
> Here is a log entry from one of the machines:
> "AUDIT: Mon Aug 27 11:03:40 2001: 278 X: client 13 rejected from local host"
>
> Can someone tell me what else to check for?
>
> Thanks,
> Dhruva
>
> _______________________________________________
> Web Page:  http://lug.boulder.co.us
> Mailing List: http://lists.lug.boulder.co.us/mailman/listinfo/lug

--
Todd Ruskell, Ph.D.
Lecturer in Physics
Colorado School of Mines
Golden, CO 80401
303-384-2080
Fax: 303-273-3919






More information about the LUG mailing list