[Bug 481203] Re: Hardy 8.04.3 openssh does not forward X11 always cannot open display

2009-12-05 Thread Jose L. VG
Openssh forwards X sessions correctly after the /etc/hosts is fixed with
a correct localhost IP (127.0.0.1 instead of 127.0.1.1)

** Changed in: openssh (Ubuntu)
   Status: Incomplete => Invalid

-- 
Hardy 8.04.3 openssh does not forward X11 always  cannot open display
https://bugs.launchpad.net/bugs/481203
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 481203] Re: Hardy 8.04.3 openssh does not forward X11 always cannot open display

2009-11-16 Thread Jose L. VG
X11Forwarding is ON:
...
X11Forwarding yes
X11DisplayOffset 10
...

And xauth is installed, when I connect (the first time or after removing 
.Xauthority) I get:
/usr/bin/X11/xauth:  creating new authority file /home/admin/.Xauthority

The Display variable is OK:
$ echo $DISPLAY
localhost:10.0

The port 6010 is listening (I guess this maps to X display #10):
$ netstat -pan |grep 6010
(Not all processes could be identified, non-owned process info
 will not be shown, you would have to be root to see it all.)
tcp0  0 127.0.0.1:6010  0.0.0.0:*   LISTEN  
-   
tcp6   0  0 ::1:6010:::*LISTEN  
-   

I can even connect manually to port 6010:

OOOPps!

I got it!

I could do telnet 127.0.0.1 6010 BUT NOT telnet localhost 6010...

The problem was my /etc/hosts!!!
It was:
127.0.1.1   madcvd01lnx.rfranco.com localhost madcvd01lnx
Now I have fixed it to:
127.0.0.1   madcvd01lnx.rfranco.com localhost madcvd01lnx

And gedit starts up correctly.

What does 127.0.1.1 mean anyway? (I think that value was there in the defaul 
config for /etc/hosts)
Does it have a reason or is it just an errata? Does it have anything to do with 
IPv6?

-- 
Hardy 8.04.3 openssh does not forward X11 always  cannot open display
https://bugs.launchpad.net/bugs/481203
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 481203] Re: Hardy 8.04.3 openssh does not forward X11 always cannot open display

2009-11-16 Thread Jose L. VG
# Package generated configuration file
# See the sshd(8) manpage for details

# What ports, IPs and protocols we listen for
Port 22
# Use these options to restrict which interfaces/protocols sshd will bind to
#ListenAddress ::
#ListenAddress 0.0.0.0
Protocol 2
# HostKeys for protocol version 2
HostKey /etc/ssh/ssh_host_rsa_key
HostKey /etc/ssh/ssh_host_dsa_key
#Privilege Separation is turned on for security
UsePrivilegeSeparation yes

# Lifetime and size of ephemeral version 1 server key
KeyRegenerationInterval 3600
ServerKeyBits 768

# Logging
SyslogFacility AUTH
LogLevel INFO

# Authentication:
LoginGraceTime 120
PermitRootLogin no
StrictModes yes

RSAAuthentication yes
PubkeyAuthentication yes
#AuthorizedKeysFile %h/.ssh/authorized_keys

# Don't read the user's ~/.rhosts and ~/.shosts files
IgnoreRhosts yes
# For this to work you will also need host keys in /etc/ssh_known_hosts
RhostsRSAAuthentication no
# similar for protocol version 2
HostbasedAuthentication no
# Uncomment if you don't trust ~/.ssh/known_hosts for RhostsRSAAuthentication
#IgnoreUserKnownHosts yes

# To enable empty passwords, change to yes (NOT RECOMMENDED)
PermitEmptyPasswords no

# Change to yes to enable challenge-response passwords (beware issues with
# some PAM modules and threads)
ChallengeResponseAuthentication no

# Change to no to disable tunnelled clear text passwords
#PasswordAuthentication yes

# Kerberos options
#KerberosAuthentication no
#KerberosGetAFSToken no
#KerberosOrLocalPasswd yes
#KerberosTicketCleanup yes

# GSSAPI options
#GSSAPIAuthentication no
#GSSAPICleanupCredentials yes

X11Forwarding yes
X11DisplayOffset 10
PrintMotd no
PrintLastLog yes
TCPKeepAlive yes
#UseLogin no

#MaxStartups 10:30:60
#Banner /etc/issue.net

# Allow client to pass locale environment variables
AcceptEnv LANG LC_*

Subsystem sftp /usr/lib/openssh/sftp-server

UsePAM yes

-- 
Hardy 8.04.3 openssh does not forward X11 always  cannot open display
https://bugs.launchpad.net/bugs/481203
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 481203] Re: Hardy 8.04.3 openssh does not forward X11 always cannot open display

2009-11-13 Thread Chuck Short
Please attach your /etc/ssh/sshd_config.

Thanks
chuck

** Changed in: openssh (Ubuntu)
   Importance: Undecided => Low

** Changed in: openssh (Ubuntu)
   Status: New => Incomplete

-- 
Hardy 8.04.3 openssh does not forward X11 always  cannot open display
https://bugs.launchpad.net/bugs/481203
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 481203] Re: Hardy 8.04.3 openssh does not forward X11 always cannot open display

2009-11-12 Thread Jose L. VG
Ah, something a forgot to mention.

I compared a ssh -vvv session against a working fedora server and could
not see any difference except for that in the hardy server, once the ssh
connection is established, when I do gedit (or xhost +) I just get the
error 'can't open display' and no debug info messages... whereas in the
fedora box I get ssh debug messages (levels 1,2 and 3) just before the
gedit pops up.

-- 
Hardy 8.04.3 openssh does not forward X11 always  cannot open display
https://bugs.launchpad.net/bugs/481203
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs