ssh -Y problem...X11 forwarding request failed on channel 0

Joined
Dec 1, 2015
Messages
1
Reaction score
0
Need to remote login to my mac. I do/get the following:

en4102194:bin thomas$ ssh -X (e-mail address removed) xterm (real numbers in for xxx, yyy, zzz)
Password:
X11 forwarding request failed on channel 0
bash: xterm: command not found
en4102194:bin thomas$

Preferences->sharing-> remote login is enabled
X11 (the app itself) ->preferences -> security, both "authenticate connections" and "allow connections from network clients" are selected.

Upon changing X11 preferences, unchecking "authenticate connections", I then do/get

en4102194:~ thomas$ ssh -X (e-mail address removed)
Password:
Last login: Tue Dec 1 12:33:32 2015 from en4102194.ecee.dhcp.asu.edu
en4102194:~ thomas$ xterm &
[1] 99685
en4102194:~ thomas$ xterm: Xt error: Can't open display:
xterm: DISPLAY is not set

[1]+ Exit 1 xterm
en4102194:~ thomas$ DISPLAY


Helps?

Thanks!
Tom
 

Cory Cooper

Moderator
Joined
May 19, 2004
Messages
11,098
Reaction score
500
Hello and welcome.

Sorry we didn't get back to you sooner.

I don't have much experience with this situation. I did find a discussion on the Apple Support Communities that may help:

x11 Forwarding

Hope that helps,

C
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top