Advertisements

Tag Archives: putty

Received disconnect from host: 2: bind: Permission denied

I was receiving the error message Received disconnect from host: 2: bind: Permission denied when trying to connect using ssh.

Received disconnect from 172.16.36.110: 2: bind: Permission denied

root@linux:~ # rpm -q openssh
openssh-4.2p1-18.38.3

root@linux:~ # cat /etc/*release
SUSE Linux Enterprise Server 10 (x86_64)
VERSION = 10
PATCHLEVEL = 2
LSB_VERSION=”core-2.0-noarch:core-3.0-noarch:core-2.0-x86_64:core-3.0-x86_64″

I solved this problem unchecking Allow agent forwarding
Allow Agent Forwarding

Advertisements

Xlib: PuTTY X11 proxy: wrong authentication protocol attempted

I had this weird error when trying to start an X11 application.

oracle@dbserver:~ $ xclock
xlib: connection to “localhost:12.0” refused by server
Xlib: PuTTY X11 proxy: wrong authentication protocol attempted
Error: Can’t open display: localhost:12.0

Next you try the steps described here to transfer the authorization to the other account. But if you follow the steps and it simply doesnt work, check the filesystem where the home directory is.

oracle@dbserver:~ $ df -h .
Filesystem            Size  Used Avail Use% Mounted on
/dev/mapper/rootvg-homelv
9.9G  9.4G  128K 100% /home

In this particular machine, I was having the authentication protocol error because the OS couldn’t update the .Xauthority file in the home directory.

%d bloggers like this: