X11 forwarding seems not working?
Clash Royale CLAN TAG#URR8PPP
i am using ubuntu 16.04. The Server is also running ubuntu 16.04.
my /etc/ssh/ssh_config
looks so:
Host *
# ForwardAgent no
ForwardX11 yes
ForwardX11Trusted yes
# RhostsRSAAuthentication no
# RSAAuthentication yes
# PasswordAuthentication yes
# HostbasedAuthentication no
# GSSAPIAuthentication no
# GSSAPIDelegateCredentials no
# GSSAPIKeyExchange no
# GSSAPITrustDNS no
# BatchMode no
# CheckHostIP yes
# AddressFamily any
# ConnectTimeout 0
# StrictHostKeyChecking ask
# IdentityFile ~/.ssh/identity
# IdentityFile ~/.ssh/id_rsa
# IdentityFile ~/.ssh/id_dsa
# IdentityFile ~/.ssh/id_ecdsa
# IdentityFile ~/.ssh/id_ed25519
# Port 22
# Protocol 2
# Cipher 3des
# Ciphers aes128-ctr,aes192-ctr,aes256-ctr,arcfour256,arcfour128,aes128-cbc,3des-cbc
# MACs hmac-md5,hmac-sha1,umac-64@openssh.com,hmac-ripemd160
# EscapeChar ~
# Tunnel no
# TunnelDevice any:any
# PermitLocalCommand no
# VisualHostKey no
# ProxyCommand ssh -q -W %h:%p gateway.example.com
# RekeyLimit 1G 1h
SendEnv LANG LC_*
HashKnownHosts yes
GSSAPIAuthentication yes
GSSAPIDelegateCredentials no
server sshd_config
:
X11Forwarding yes
X11DisplayOffset 10
When i connect to a ssh Server :
ssh -vvv -Y server
ssh connects to the server.
When i running something like xclock this happens:
debug3: receive packet: type 90
debug1: client_input_channel_open: ctype x11 rchan 2 win 65536 max 16384
debug1: client_request_x11: request from 127.0.0.1 59790
debug2: fd 7 setting O_NONBLOCK
debug3: fd 7 is O_NONBLOCK
debug1: channel 1: new [x11]
debug1: confirm x11
debug3: send packet: type 91
The terminal also dies after this i have to restart a new terminal.
No clock is showing up on local pc also there is no error... Any idea? When i try the same from Win 10 with xming and putty it works. Server has activated x11 forwarding.
ubuntu ssh x11
add a comment |
i am using ubuntu 16.04. The Server is also running ubuntu 16.04.
my /etc/ssh/ssh_config
looks so:
Host *
# ForwardAgent no
ForwardX11 yes
ForwardX11Trusted yes
# RhostsRSAAuthentication no
# RSAAuthentication yes
# PasswordAuthentication yes
# HostbasedAuthentication no
# GSSAPIAuthentication no
# GSSAPIDelegateCredentials no
# GSSAPIKeyExchange no
# GSSAPITrustDNS no
# BatchMode no
# CheckHostIP yes
# AddressFamily any
# ConnectTimeout 0
# StrictHostKeyChecking ask
# IdentityFile ~/.ssh/identity
# IdentityFile ~/.ssh/id_rsa
# IdentityFile ~/.ssh/id_dsa
# IdentityFile ~/.ssh/id_ecdsa
# IdentityFile ~/.ssh/id_ed25519
# Port 22
# Protocol 2
# Cipher 3des
# Ciphers aes128-ctr,aes192-ctr,aes256-ctr,arcfour256,arcfour128,aes128-cbc,3des-cbc
# MACs hmac-md5,hmac-sha1,umac-64@openssh.com,hmac-ripemd160
# EscapeChar ~
# Tunnel no
# TunnelDevice any:any
# PermitLocalCommand no
# VisualHostKey no
# ProxyCommand ssh -q -W %h:%p gateway.example.com
# RekeyLimit 1G 1h
SendEnv LANG LC_*
HashKnownHosts yes
GSSAPIAuthentication yes
GSSAPIDelegateCredentials no
server sshd_config
:
X11Forwarding yes
X11DisplayOffset 10
When i connect to a ssh Server :
ssh -vvv -Y server
ssh connects to the server.
When i running something like xclock this happens:
debug3: receive packet: type 90
debug1: client_input_channel_open: ctype x11 rchan 2 win 65536 max 16384
debug1: client_request_x11: request from 127.0.0.1 59790
debug2: fd 7 setting O_NONBLOCK
debug3: fd 7 is O_NONBLOCK
debug1: channel 1: new [x11]
debug1: confirm x11
debug3: send packet: type 91
The terminal also dies after this i have to restart a new terminal.
No clock is showing up on local pc also there is no error... Any idea? When i try the same from Win 10 with xming and putty it works. Server has activated x11 forwarding.
ubuntu ssh x11
add a comment |
i am using ubuntu 16.04. The Server is also running ubuntu 16.04.
my /etc/ssh/ssh_config
looks so:
Host *
# ForwardAgent no
ForwardX11 yes
ForwardX11Trusted yes
# RhostsRSAAuthentication no
# RSAAuthentication yes
# PasswordAuthentication yes
# HostbasedAuthentication no
# GSSAPIAuthentication no
# GSSAPIDelegateCredentials no
# GSSAPIKeyExchange no
# GSSAPITrustDNS no
# BatchMode no
# CheckHostIP yes
# AddressFamily any
# ConnectTimeout 0
# StrictHostKeyChecking ask
# IdentityFile ~/.ssh/identity
# IdentityFile ~/.ssh/id_rsa
# IdentityFile ~/.ssh/id_dsa
# IdentityFile ~/.ssh/id_ecdsa
# IdentityFile ~/.ssh/id_ed25519
# Port 22
# Protocol 2
# Cipher 3des
# Ciphers aes128-ctr,aes192-ctr,aes256-ctr,arcfour256,arcfour128,aes128-cbc,3des-cbc
# MACs hmac-md5,hmac-sha1,umac-64@openssh.com,hmac-ripemd160
# EscapeChar ~
# Tunnel no
# TunnelDevice any:any
# PermitLocalCommand no
# VisualHostKey no
# ProxyCommand ssh -q -W %h:%p gateway.example.com
# RekeyLimit 1G 1h
SendEnv LANG LC_*
HashKnownHosts yes
GSSAPIAuthentication yes
GSSAPIDelegateCredentials no
server sshd_config
:
X11Forwarding yes
X11DisplayOffset 10
When i connect to a ssh Server :
ssh -vvv -Y server
ssh connects to the server.
When i running something like xclock this happens:
debug3: receive packet: type 90
debug1: client_input_channel_open: ctype x11 rchan 2 win 65536 max 16384
debug1: client_request_x11: request from 127.0.0.1 59790
debug2: fd 7 setting O_NONBLOCK
debug3: fd 7 is O_NONBLOCK
debug1: channel 1: new [x11]
debug1: confirm x11
debug3: send packet: type 91
The terminal also dies after this i have to restart a new terminal.
No clock is showing up on local pc also there is no error... Any idea? When i try the same from Win 10 with xming and putty it works. Server has activated x11 forwarding.
ubuntu ssh x11
i am using ubuntu 16.04. The Server is also running ubuntu 16.04.
my /etc/ssh/ssh_config
looks so:
Host *
# ForwardAgent no
ForwardX11 yes
ForwardX11Trusted yes
# RhostsRSAAuthentication no
# RSAAuthentication yes
# PasswordAuthentication yes
# HostbasedAuthentication no
# GSSAPIAuthentication no
# GSSAPIDelegateCredentials no
# GSSAPIKeyExchange no
# GSSAPITrustDNS no
# BatchMode no
# CheckHostIP yes
# AddressFamily any
# ConnectTimeout 0
# StrictHostKeyChecking ask
# IdentityFile ~/.ssh/identity
# IdentityFile ~/.ssh/id_rsa
# IdentityFile ~/.ssh/id_dsa
# IdentityFile ~/.ssh/id_ecdsa
# IdentityFile ~/.ssh/id_ed25519
# Port 22
# Protocol 2
# Cipher 3des
# Ciphers aes128-ctr,aes192-ctr,aes256-ctr,arcfour256,arcfour128,aes128-cbc,3des-cbc
# MACs hmac-md5,hmac-sha1,umac-64@openssh.com,hmac-ripemd160
# EscapeChar ~
# Tunnel no
# TunnelDevice any:any
# PermitLocalCommand no
# VisualHostKey no
# ProxyCommand ssh -q -W %h:%p gateway.example.com
# RekeyLimit 1G 1h
SendEnv LANG LC_*
HashKnownHosts yes
GSSAPIAuthentication yes
GSSAPIDelegateCredentials no
server sshd_config
:
X11Forwarding yes
X11DisplayOffset 10
When i connect to a ssh Server :
ssh -vvv -Y server
ssh connects to the server.
When i running something like xclock this happens:
debug3: receive packet: type 90
debug1: client_input_channel_open: ctype x11 rchan 2 win 65536 max 16384
debug1: client_request_x11: request from 127.0.0.1 59790
debug2: fd 7 setting O_NONBLOCK
debug3: fd 7 is O_NONBLOCK
debug1: channel 1: new [x11]
debug1: confirm x11
debug3: send packet: type 91
The terminal also dies after this i have to restart a new terminal.
No clock is showing up on local pc also there is no error... Any idea? When i try the same from Win 10 with xming and putty it works. Server has activated x11 forwarding.
ubuntu ssh x11
ubuntu ssh x11
edited Dec 14 at 9:21
asked Dec 12 at 13:07
Dominik Kaeufer
11
11
add a comment |
add a comment |
1 Answer
1
active
oldest
votes
You need to add ForwardX11 yes
to ssh-users ~/.ssh/config
file
/etc/ssh/sshd_config
needs the setting X11Forwarding yes
i wrote above that both are activated... Posted my ssh_config file also
– Dominik Kaeufer
Dec 13 at 10:18
ForwardX11
is notX11Forwarding
, right?
– Michael D.
Dec 13 at 10:54
On the server x11 Forwarding is activated i wrote this below...I can access via win 10 with xming and putty so it must be activated or am i wrong?
– Dominik Kaeufer
Dec 13 at 11:42
i copied the x11Forwarding from sshd_config into the post so that u can see it is activated
– Dominik Kaeufer
Dec 13 at 11:48
On client side you need to runssh -X
or enable via~/.ssh/config
see unix.stackexchange.com/questions/12755/…
– Michael D.
Dec 13 at 15:35
|
show 3 more comments
Your Answer
StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "106"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);
else
createEditor();
);
function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);
);
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f487572%2fx11-forwarding-seems-not-working%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
You need to add ForwardX11 yes
to ssh-users ~/.ssh/config
file
/etc/ssh/sshd_config
needs the setting X11Forwarding yes
i wrote above that both are activated... Posted my ssh_config file also
– Dominik Kaeufer
Dec 13 at 10:18
ForwardX11
is notX11Forwarding
, right?
– Michael D.
Dec 13 at 10:54
On the server x11 Forwarding is activated i wrote this below...I can access via win 10 with xming and putty so it must be activated or am i wrong?
– Dominik Kaeufer
Dec 13 at 11:42
i copied the x11Forwarding from sshd_config into the post so that u can see it is activated
– Dominik Kaeufer
Dec 13 at 11:48
On client side you need to runssh -X
or enable via~/.ssh/config
see unix.stackexchange.com/questions/12755/…
– Michael D.
Dec 13 at 15:35
|
show 3 more comments
You need to add ForwardX11 yes
to ssh-users ~/.ssh/config
file
/etc/ssh/sshd_config
needs the setting X11Forwarding yes
i wrote above that both are activated... Posted my ssh_config file also
– Dominik Kaeufer
Dec 13 at 10:18
ForwardX11
is notX11Forwarding
, right?
– Michael D.
Dec 13 at 10:54
On the server x11 Forwarding is activated i wrote this below...I can access via win 10 with xming and putty so it must be activated or am i wrong?
– Dominik Kaeufer
Dec 13 at 11:42
i copied the x11Forwarding from sshd_config into the post so that u can see it is activated
– Dominik Kaeufer
Dec 13 at 11:48
On client side you need to runssh -X
or enable via~/.ssh/config
see unix.stackexchange.com/questions/12755/…
– Michael D.
Dec 13 at 15:35
|
show 3 more comments
You need to add ForwardX11 yes
to ssh-users ~/.ssh/config
file
/etc/ssh/sshd_config
needs the setting X11Forwarding yes
You need to add ForwardX11 yes
to ssh-users ~/.ssh/config
file
/etc/ssh/sshd_config
needs the setting X11Forwarding yes
answered Dec 13 at 9:25
Michael D.
1,534816
1,534816
i wrote above that both are activated... Posted my ssh_config file also
– Dominik Kaeufer
Dec 13 at 10:18
ForwardX11
is notX11Forwarding
, right?
– Michael D.
Dec 13 at 10:54
On the server x11 Forwarding is activated i wrote this below...I can access via win 10 with xming and putty so it must be activated or am i wrong?
– Dominik Kaeufer
Dec 13 at 11:42
i copied the x11Forwarding from sshd_config into the post so that u can see it is activated
– Dominik Kaeufer
Dec 13 at 11:48
On client side you need to runssh -X
or enable via~/.ssh/config
see unix.stackexchange.com/questions/12755/…
– Michael D.
Dec 13 at 15:35
|
show 3 more comments
i wrote above that both are activated... Posted my ssh_config file also
– Dominik Kaeufer
Dec 13 at 10:18
ForwardX11
is notX11Forwarding
, right?
– Michael D.
Dec 13 at 10:54
On the server x11 Forwarding is activated i wrote this below...I can access via win 10 with xming and putty so it must be activated or am i wrong?
– Dominik Kaeufer
Dec 13 at 11:42
i copied the x11Forwarding from sshd_config into the post so that u can see it is activated
– Dominik Kaeufer
Dec 13 at 11:48
On client side you need to runssh -X
or enable via~/.ssh/config
see unix.stackexchange.com/questions/12755/…
– Michael D.
Dec 13 at 15:35
i wrote above that both are activated... Posted my ssh_config file also
– Dominik Kaeufer
Dec 13 at 10:18
i wrote above that both are activated... Posted my ssh_config file also
– Dominik Kaeufer
Dec 13 at 10:18
ForwardX11
is not X11Forwarding
, right?– Michael D.
Dec 13 at 10:54
ForwardX11
is not X11Forwarding
, right?– Michael D.
Dec 13 at 10:54
On the server x11 Forwarding is activated i wrote this below...I can access via win 10 with xming and putty so it must be activated or am i wrong?
– Dominik Kaeufer
Dec 13 at 11:42
On the server x11 Forwarding is activated i wrote this below...I can access via win 10 with xming and putty so it must be activated or am i wrong?
– Dominik Kaeufer
Dec 13 at 11:42
i copied the x11Forwarding from sshd_config into the post so that u can see it is activated
– Dominik Kaeufer
Dec 13 at 11:48
i copied the x11Forwarding from sshd_config into the post so that u can see it is activated
– Dominik Kaeufer
Dec 13 at 11:48
On client side you need to run
ssh -X
or enable via ~/.ssh/config
see unix.stackexchange.com/questions/12755/…– Michael D.
Dec 13 at 15:35
On client side you need to run
ssh -X
or enable via ~/.ssh/config
see unix.stackexchange.com/questions/12755/…– Michael D.
Dec 13 at 15:35
|
show 3 more comments
Thanks for contributing an answer to Unix & Linux Stack Exchange!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Some of your past answers have not been well-received, and you're in danger of being blocked from answering.
Please pay close attention to the following guidance:
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f487572%2fx11-forwarding-seems-not-working%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown