coolrazor
October 4th, 2010, 12:51 PM
I've read a number of web pages on this and scoured a few forums, but I can't seem to get it to work. Here's the low down so far:
[don't know if this matters] server has a bridge interface
Edited /etc/ssh/sshd_config
X11Forwarding yes
X11DisplayOffset 10
Edited /etc/ssh/ssh_config
Host *
ForwardAgent yes
ForwardX11 yes
ForwardX11Trusted yes
# RhostsRSAAuthentication no
# RSAAuthentication yes
Putty: X11 page
checked the "enable X11 forwarding" checkbox
X Display Location: localhost:0
Checked /etc/hosts file and it has "127.0.0.1 localhost" (some other people had a problem with this)
When I log in via Putty, as the user I'll try xterm and get:
tim@matrixreloaded:~$ xterm
xterm Xt error: Can't open display: localhost:10.0
If I sudo to root and try it I get:
root@matrixreloaded:/home/tim# xterm
PuTTY X11 proxy: wrong authentication protocol attemptedWarning: This program is an suid-root program or is being run by the root user.
The full text of the error or warning message cannot be safely formatted
in this environment. You may get a more descriptive message by running the
program as a non-root user or by removing the suid bit on the executable.
xterm Xt error: Can't open display: %s
Any ideas on what to do? Brand new server install too. :???:
[don't know if this matters] server has a bridge interface
Edited /etc/ssh/sshd_config
X11Forwarding yes
X11DisplayOffset 10
Edited /etc/ssh/ssh_config
Host *
ForwardAgent yes
ForwardX11 yes
ForwardX11Trusted yes
# RhostsRSAAuthentication no
# RSAAuthentication yes
Putty: X11 page
checked the "enable X11 forwarding" checkbox
X Display Location: localhost:0
Checked /etc/hosts file and it has "127.0.0.1 localhost" (some other people had a problem with this)
When I log in via Putty, as the user I'll try xterm and get:
tim@matrixreloaded:~$ xterm
xterm Xt error: Can't open display: localhost:10.0
If I sudo to root and try it I get:
root@matrixreloaded:/home/tim# xterm
PuTTY X11 proxy: wrong authentication protocol attemptedWarning: This program is an suid-root program or is being run by the root user.
The full text of the error or warning message cannot be safely formatted
in this environment. You may get a more descriptive message by running the
program as a non-root user or by removing the suid bit on the executable.
xterm Xt error: Can't open display: %s
Any ideas on what to do? Brand new server install too. :???: