NetBSD-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: XFCE freeze when opening file over NFS with Vim editor



On Mon, 12 May 2025 at 17:48, Ramiro Aceves <ea1abz%gmail.com@localhost> wrote:
>
> El 12/5/25 a las 13:14, Ramiro Aceves escribió:
> > Hello:
> >
> > Yerterday I found this curious  "problem":
> >
> > I have  a Debian GNU/Linux machine that exports a file system on the
> > local network using NFS.
> >
> > I mount the filesystem on my NetBSD Thinkpad laptop with:
> >
> > #mount 192.168.1.200:/nfsexport /root/directory
> >
> > I start XFCE session in the NetBSD laptop. I open thunar file explorer,
> > it works fine surfing on the Debian machine files. I can edit them fine
> > from the NetBSD computer. It works fine with libreoffice files, for
> > example.
> >
> > If I open a terminal and type "vim file.txt" it works just fine.
> >
> > The problem arises when I right click on a txt file and try to open them
> > by mistake using Vim editor (right click, open with Vim). After doing
> > that, XFCE freezes hard, computer is alive and I end killing all XFCE
> > session to overcome it. I first tried to kill only vim process but it
> > did not solve the crash. Mounting point continues working fine, I
> > restart XFCE and it works normally.
> >
> > Can it be due to the fact that vim command expect to work inside a
> > terminal window and not alone? Why XFCE freezes that way? Have to test
> > what happens with "vim -g", I am out home now.
> >
> > Regards.
> >
> > Ramiro.
>
> Hello,
>
> I confirm that as I suspected "/usr/pkg/bin/vim -g"  instead of
> "/usr/pkg/bin/vim" works just fine.

Interesting...

Is the NFS mount significant in this case? Does it happen if you do
the same thing on a local file system?

If the issue does not occur on a Debian machine then there could be
some extra checks happening on Linux which does not happen on NetBSD

David


Home | Main Index | Thread Index | Old Index