Re: [PLUG] ssh -X "Could not parse arguments: Cannot open display:"

2019-01-05 Thread King Beowulf
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

Re: [PLUG] ssh -X "Could not parse arguments: Cannot open display:"

2019-01-03 Thread Nat Taylor
Ok I just tested this (something different) from an Ubuntu VM on my laptop to my Arch server in the other room I started by trying: ssh -Y 192.168.0.2 it gave me a message: X11 forwarding request failed on channel 0 , and logged me into the machine without x so I Edited /etc/ssh/sshd_config

Re: [PLUG] ssh -X "Could not parse arguments: Cannot open display:"

2019-01-03 Thread John Meissen
biob...@gmail.com said: > In my experience, I need to be logged into X on the machine I'm ssh -Xing > into, and then you need to (you could also add this to your .bashrc file) > export DISPLAY=:0.0 That would be very much the wrong thing to do, and would break things. Set up correctly, the

Re: [PLUG] ssh -X "Could not parse arguments: Cannot open display:"

2019-01-03 Thread Nat Taylor
In my experience, I need to be logged into X on the machine I'm ssh -Xing into, and then you need to (you could also add this to your .bashrc file) export DISPLAY=:0.0 On Thu, Jan 3, 2019 at 10:22 AM Dick Steffens wrote: > On 1/2/19 10:31 PM, Larry Brigman wrote: > > Maybe I'm stating the

Re: [PLUG] ssh -X "Could not parse arguments: Cannot open display:"

2019-01-03 Thread Dick Steffens
On 1/2/19 10:31 PM, Larry Brigman wrote: Maybe I'm stating the obvious. Normally you would be running this command from a local X client where the shell would have the $DISPLAY value set. Like this: echo $DISPLAY 127.0.0.1:0.0 I was sitting at my Slackware laptop in the living room, my first

Re: [PLUG] ssh -X "Could not parse arguments: Cannot open display:"

2019-01-02 Thread Larry Brigman
Maybe I'm stating the obvious. Normally you would be running this command from a local X client where the shell would have the $DISPLAY value set. Like this: echo $DISPLAY 127.0.0.1:0.0 Once I connect via ssh -X, the same command produces this output: echo $DISPLAY localhost:10.0 You have three

Re: [PLUG] ssh -X "Could not parse arguments: Cannot open display:"

2019-01-02 Thread Dick Steffens
On 1/2/19 6:28 PM, Ben Koenig wrote: Ran some DDG searches, found a few old articles, maybe give this one a read? https://www.linuxquestions.org/questions/slackware-14/x-forwarding-in-slack-over-ssh-unable-to-open-display-451697-print/ Thanks. I see some lines I haven't looked at in my

Re: [PLUG] ssh -X "Could not parse arguments: Cannot open display:"

2019-01-02 Thread Ben Koenig
Ran some DDG searches, found a few old articles, maybe give this one a read? https://www.linuxquestions.org/questions/slackware-14/x-forwarding-in-slack-over-ssh-unable-to-open-display-451697-print/ On Wed, Jan 2, 2019 at 11:39 AM Dick Steffens wrote: > On 1/2/19 11:26 AM, David wrote: > >

Re: [PLUG] ssh -X "Could not parse arguments: Cannot open display:"

2019-01-02 Thread David
On 1/2/19 11:07 AM, Dick Steffens wrote: On 1/2/19 10:51 AM, David wrote: On 1/2/19 10:42 AM, Dick Steffens wrote: On 1/2/19 10:26 AM, David wrote: <...> In my config file: $ sudo grep X11Forwarding /etc/ssh/sshd_config X11Forwarding yes If you have a "no" (which I think is the default)

Re: [PLUG] ssh -X "Could not parse arguments: Cannot open display:"

2019-01-02 Thread Dick Steffens
On 1/2/19 11:05 AM, Rich Shepard wrote: On Wed, 2 Jan 2019, David wrote: If you edit that file to read as I have it, you will need to restart the service.   Which on Slackware is done by root: # /etc/rc.d/rc.sshd restart Yes. Thanks. -- Regards, Dick Steffens

Re: [PLUG] ssh -X "Could not parse arguments: Cannot open display:"

2019-01-02 Thread Dick Steffens
On 1/2/19 10:51 AM, David wrote: On 1/2/19 10:42 AM, Dick Steffens wrote: On 1/2/19 10:26 AM, David wrote: <...> Sounds like I need to figure out how to set DISPLAY. Your sshd configuration may explicitly deny the variable from being set. In my config file: $ sudo grep X11Forwarding

Re: [PLUG] ssh -X "Could not parse arguments: Cannot open display:"

2019-01-02 Thread Rich Shepard
On Wed, 2 Jan 2019, David wrote: If you edit that file to read as I have it, you will need to restart the service. Which on Slackware is done by root: # /etc/rc.d/rc.sshd restart Happy New Year, Rich ___ PLUG mailing list PLUG@pdxlinux.org

Re: [PLUG] ssh -X "Could not parse arguments: Cannot open display:"

2019-01-02 Thread David
On 1/2/19 10:42 AM, Dick Steffens wrote: On 1/2/19 10:26 AM, David wrote: <...> Sounds like I need to figure out how to set DISPLAY. Your sshd configuration may explicitly deny the variable from being set. In my config file: $ sudo grep X11Forwarding /etc/ssh/sshd_config X11Forwarding

Re: [PLUG] ssh -X "Could not parse arguments: Cannot open display:"

2019-01-02 Thread Dick Steffens
On 1/2/19 10:26 AM, David wrote: <...> When you connect each way, what is the response from the command:    echo $DISPLAY In each case echo $DISPLAY returns a blank line. If you get back a blank line, something is preventing the variable from being set. If you get a line similar to

Re: [PLUG] ssh -X "Could not parse arguments: Cannot open display:"

2019-01-02 Thread Dick Steffens
On 1/2/19 10:17 AM, Dick Steffens wrote: Another doh situation, but it doesn't change everything. I managed to mistype the url when attempting to connect from the Ubuntu machine to the Slackware machine. When I redid it with the right address I got an error message telling me that the host

Re: [PLUG] ssh -X "Could not parse arguments: Cannot open display:"

2019-01-02 Thread David
On 1/2/19 10:17 AM, Dick Steffens wrote: On 1/2/19 10:04 AM, David wrote: 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

Re: [PLUG] ssh -X "Could not parse arguments: Cannot open display:"

2019-01-02 Thread Dick Steffens
On 1/2/19 10:04 AM, David wrote: 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:

Re: [PLUG] ssh -X "Could not parse arguments: Cannot open display:"

2019-01-02 Thread David
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$ Try looking at the -Y flag

[PLUG] ssh -X "Could not parse arguments: Cannot open display:"

2019-01-02 Thread Dick Steffens
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