Seems minimal X11 installations typically do not come with the `xauth`
program, which is needed by ssh to setup the tunnel with proper
security. In my experience, just install `xauth` and `ssh -X` works
fine. At least, this applies for Ubuntu LXC containers. `ssh -X` is
not only secure, but also works if your display is on a machine that
is behind a firewall, NAT networking, etc.
Cheers --- Jan
On 08/25/2015 12:11 AM, Douglas Miles wrote:
>
> I personally never tunnel my X thru ssh.. but just rely only on the
> export DISPLAY=192.168.50.163:0.0
>
> Make sure you can at least run "xeyes" from the headless host to your
> non headless desktop.
>
> what i mean by that is the command line "xeyes &" (the & to background
> it) .. On your desktop a pair of eyeballs should now be following your
> mouse around
> If you can get that to happen all you'll need it to do is type "swipl"
> to make SWI-Prolog to work.
>
> This will help you trouble shoot all the security issues you'l have to
> solve with xhost (myself i disable all security since it is just over
> my local network)
>
> Here is a random OK artical off the web that wshould get you
> going
http://www.cyberciti.biz/tips/how-to-display-remote-applications-on-my-local-linux-x-server.html
>
>
>
> (Most Xservers are set up to allow only local host until you relax the
> security)
>
> Here is an artical showing someone having to relax that
> security
http://www.softpanorama.org/Xwindows/Troubleshooting/can_not_open_display.shtml
>
>
>
> Make sure on the the machine with graphics card you have
>
>
>
>
> On Saturday, August 22, 2015 at 7:51:25 AM UTC-7, Pal Csanyi wrote:
>
> Hello,
>
> I just installed Swi-Prolog on my Gentoo linux system.
>
> In swi-prolog, I can't run emacs:
> b2 ~ # swipl
> Welcome to SWI-Prolog (Multi-threaded, 32 bits, Version 6.6.6)
> Copyright (c) 1990-2013 University of Amsterdam, VU Amsterdam
> SWI-Prolog comes with ABSOLUTELY NO WARRANTY. This is free software,
> and you are welcome to redistribute it under certain conditions.
> Please visit
http://www.swi-prolog.org for details.
>
> For help, use ?- help(Topic). or ?- apropos(Word).
>
> ?- emacs.
> ERROR: toplevel: Undefined procedure: emacs/0 (DWIM could not
> correct goal)
>
> What is the solution?
>
> --
> You received this message because you are subscribed to the Google
> Groups "SWI-Prolog" group.
> To unsubscribe from this group and stop receiving emails from it, send
> an email to
swi-prolog+...@googlegroups.com
> <mailto:
swi-prolog+...@googlegroups.com>.
> Visit this group at
http://groups.google.com/group/swi-prolog.
> For more options, visit
https://groups.google.com/d/optout.