On 1/2/19 10:01 AM, Dick Steffens wrote:
> I can run ssh -X on my Slackware machine and connect to my Ubuntu 18
> machine. But I can't run caja on that connection. I get this error message:
> 
> dick@ENU-1$ caja
> Could not parse arguments: Cannot open display:
> dick@ENU-1$
> 
> Is there something else I need to do on the Slackware machine to make
> this work? It works for me when talk between Ubuntu machines.
> 
> Also, when I run ssh -X on my Ubuntu 18 machine and try to connect to my
> Slackware machine, nothing happens. No error message, just the cursor
> sitting on a blank line. <ctrl>C gives me a prompt again, but I have no
> indication as to what's wrong.
> 
> Are these two different problems?
> 

Dick

You are 1/2 way there from the responses so far.

Note to list: Slackware DOES NOT use systemd.

*part 1*
On "server" the box you SSH into, you have /etc/ssh/sshd_config with

X11Forwarding yes

as root (if Slackware, otherwise what ever Unbuntu uses), do
/etc/rc.d/rc.sshd stop
/etc/rc.d/rc.sshd start

(restart isn't enough).

*part 2*
on "client" create $HOME/.ssh/config with

Host server
    ForwardX11Trusted yes

Now you should be able to forward X since the both server and client
trust each other.

ssh -X server

This was tested to work between 2 Slackware boxes.  Boxes with systemd
may have other requirements.

-Ed

Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
PLUG mailing list
[email protected]
http://lists.pdxlinux.org/mailman/listinfo/plug

Reply via email to