#852 Goto->Network: Added ':22' to found server addresses cause endless login loop

1.2
closed-invalid
5
2014-05-04
2014-03-20
Renegat
No

PCManFM 1.2.0 / LXDE on ArchLinux 3.13.5-1 i686 GNU/Linux + 3.13.6-1 x86_64 + 3.8.13.18-2 armv7l.
libfm 1.2.0-3
avahi 0.6.31-11
nss-mdns 0.10-5

Mounting sftp-server found under menu-item:Goto->Network ends up in endless login-loop because of auto added ':22' ssh-port specification.

Using avahi+nss-mdns for name resolution within my network the clients appear in PCManFM under menu item: Goto->Network with their hostname.
If you klick on one of the clients found, a sftp-link is created in the address bar like: 'sftp://servername.local:22/' and the login dialogue appears asking for username and password to log in. The ':22' seems to stand for the ssh port.
When typing the requested the computer hangs for ca. 10 seconds using 100% of one cpu-core and the login dialogue appears again.
This repeats forever until you cancel the password prompt and than the error message appears:
'The given location is not mounted'- while in the left column under 'locations' the server appears as mounted.
By clicking on the generated link on the left for the mounted share the address changes to one without the ':22' and you can access the files on the server without logging in again.

Discussion

  • Lonely Stranger

    Lonely Stranger - 2014-03-28
    • labels: --> isn't related to libfm or pcmanfm
    • assigned_to: Lonely Stranger
     
  • Lonely Stranger

    Lonely Stranger - 2014-03-28

    Does that server link appear in network:/// folder? If it is then we cannot do anything with it because that ':22' is added by nss-mdns. But anyway that should not cycle login. And login itself is done by glib/gvfs, not by PCManFM, the PCManFM just uses it. I'm sure the same problem will appear in other file managers as well and it should be reported to nss-mdns and to gvfs.
    Thank you very much.

    P.S. BTW, I cannot reproduce that problem on my system which is older than yours - if I go to sftp://somehost:22/ I just enter it, asked for password only once but yes, the mounted location does not contain ':22' so when I go to home/ from sftp://somehost:22/ I end up in sftp://somehost/home instead. So it's for sure bug in your version of gvfs.

     
  • Lonely Stranger

    Lonely Stranger - 2014-05-04
    • status: open --> closed-invalid
     

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks