A
A
Andrey Ermolaev2018-07-26 16:36:41
linux
Andrey Ermolaev, 2018-07-26 16:36:41

How to skip X server if Ubuntu says: Could not parse: Cannot open display:?

Can't forward X server from Ubuntu 18 to Winsows 8.1 via Putty.
Xming is running.
Before updating Ubuntu to version 18, everything worked.

[email protected]:~$ ssh -X [email protected]
[email protected]'s password:
Welcome to Ubuntu 18.04.1 LTS (GNU/Linux 4.15.0-29-generic x86_64)

 * Documentation:  https://help.ubuntu.com
 * Management:     https://landscape.canonical.com
 * Support:        https://ubuntu.com/advantage


 * Canonical Livepatch is available for installation.
   - Reduce system reboots and improve kernel security. Activate at:
     https://ubuntu.com/livepatch

0 packages can be updated.
0 updates are security updates.

Last login: Thu Jul 26 16:23:39 2018 from ***.***.***.***
[email protected]:~$ caja
Could not parse arguments: Cannot open display:

Answer the question

In order to leave comments, you need to log in

2 answer(s)
W
Wexter, 2018-07-26
@Wexter

Why do you go from the host to the same host with forward X? Please explain the logic of this nonsense.
Write in putty X display location localhost:0:0 and enable x11 forwarding

A
Andrey Ermolaev, 2018-07-26
@dronsovest

At first, I just connect via SSH, and then I forward Xs. But I already realized that I was wrong.
Enabled x11 forwarding, registered location; same error.

[email protected]:~$ caja
Could not parse arguments: Cannot open display:

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question