You are not logged in.

#1 2015-09-08 23:46:36

5ulo
Member
From: Slovakia
Registered: 2012-05-04
Posts: 100

PPTP and GVFS reconnect problem - opens blank files

Hello,
sorry if this topic is not belonging to this category smile

I often need to edit files located in company network. To edit files I have to do these steps:
1. connect my PPTP VPN via network manager (gnome)
2. open Nemo or Files (Nautilus) and connect to server type SSH (i have bookmark for this) - it mounts via gvfs
3. navigate to file, open it in Sublime Text, edit it, save it, close it
4. umount network drive
5. disconnect pptp vpn
Everything worked great smile

When I repeat these steps again, it fails at step 3 - only blank file is opened:

/run/user/1000/gvfs/sftp

This is problem is present in ST2/3, Atom, Nano, Vim. Gedit works well !!!
Accessing files via commandline is also impossible

e@arch /run/user/1000/gvfs $ ls -all
ls: cannot access sftp:host=10.0.0.2,user=e: No such file or directory
total 0
dr-x------  3 e users   0 Sep  3 14:12 .
drwx------ 10 e users 200 Sep  8 21:24 ..
??????????  ? ? ?       ?            ? sftp:host=10.0.0.2,user=e

This is strange, because I can browse files and directories with GUI file manager mentioned above but I can't in cmd (or mc).

What I tried?
My system was completely reinstalled - no backup recovered, all was set from scratch. The error still occurs.

What is my actual solution?
Restarting the whole system before I need to edit some file on the network.

BTW this problem is here only for last two or three months. Maybe some update is causing this problem?

Has anyone any idea how to fix this problem? Thank you all!

Offline

#2 2015-09-09 18:24:41

lucilio
Member
Registered: 2015-09-09
Posts: 1

Re: PPTP and GVFS reconnect problem - opens blank files

Any ideas? I have the same issues here...

Offline

#3 2015-09-09 19:49:19

5ulo
Member
From: Slovakia
Registered: 2012-05-04
Posts: 100

Re: PPTP and GVFS reconnect problem - opens blank files

I don't know why, but it doensn't work anymore after restart sad So mine solution since today is manual mounting with sshfs. This is not a solution for me.

Offline

#4 2015-09-14 08:59:47

GNUino
Member
Registered: 2012-03-29
Posts: 3

Re: PPTP and GVFS reconnect problem - opens blank files

Same problema here. gvfs-mount over SSH doesn not mount anything, but I can navigate through the files with thunar, pcmanfm, or whatever.
When i try to open a file, the file is blank.

I dont know how to give usefull info about this.

Journal gives me:
Sep 14 10:40:54 lenovo org.gtk.vfs.Daemon[2478]: ### SFTP: handle_login #1 - ret_val: 1
Sep 14 10:40:54 lenovo org.gtk.vfs.Daemon[2478]: ### SFTP: handle_login #1 - password_save: 0
Sep 14 10:40:53 lenovo org.gtk.vfs.Daemon[2478]: ### SFTP: handle_login #1 - user: user, host: 192.168.1.10, port: -1
Sep 14 10:40:53 lenovo org.gtk.vfs.Daemon[2478]: ### SFTP: spawn_ssh: ssh -oForwardX11 no -oForwardAgent no -oPermitLocalCommand no -oClearAllForwardings

And mount point is like:
[user@lenovo 1000]$ pwd && ls -l gvfs/
/run/user/1000
ls: cannot access gvfs/sftp:host=192.168.1.10,user=user: No such file or directory
total 0
?????????? ? ? ? ?            ? sftp:host=192.168.1.10,user=user

Any ideas?

Offline

#5 2015-10-26 09:40:31

schubert.konstantin
Member
Registered: 2015-10-26
Posts: 1

Re: PPTP and GVFS reconnect problem - opens blank files

I am having the same problem with certain servers, but not with others. This makes me thing that it might be an issue on the server side somehow?

Offline

Board footer

Powered by FluxBB