Alternative to uninstalling and reinstalling possibly broken macports & xorg installation

Bill Cole macportsusers-20171215 at billmail.scconsult.com
Fri Aug 28 22:22:23 UTC 2020


On 28 Aug 2020, at 4:41, Phil V wrote:

> I did this, and it does remove one error 'xauth not found' from ssh
> -vX, but ssh -X  still results in
> $ xeyes
> Error: Can't open display:
>
> Any other ideas?

This is typical of a system with X forwarding disabled in its 
sshd_config or a broken X environment, e.g. no xauth program installed. 
As a result, no DISPLAY environment variable has been set. If the 
problem was with the local side configuration, but the forwarding was 
working, your xeyes error would be something like:

Error: Can't open display: localhost:10.0

To confirm your X display server is working, "xset q" may be a more 
useful command than "xeyes" because xset is usually part of a package of 
core X utilities that are almost always present in a working X world 
(e.g. in MacPorts the xorg-server port depends on xinit which depends on 
xset.)

-- 
Bill Cole
bill at scconsult.com or billcole at apache.org
(AKA @grumpybozo and many *@billmail.scconsult.com addresses)
Not For Hire (currently)


More information about the macports-users mailing list