在 Debian 上打不开 FileZilla,常见原因和对应的排查/解决办法如下:
which filezilla
或
dpkg -l | grep filezilla
如果没有安装:
sudo apt update
sudo apt install filezilla
filezilla
根据报错判断:
常见报错类似:
error while loading shared libraries: libxxx.so.x: cannot open shared object file
解决:
sudo apt install -f
sudo apt --fix-broken install
如果是 纯命令行 / 服务器版 Debian,没有 X11:
Unable to init server: Could not connect: Connection refused
解决:
FileZilla 在 Wayland 下可能打不开或闪退:
GDK_BACKEND=x11 filezilla
如果这样可以打开,可设为默认:
echo "export GDK_BACKEND=x11" >> ~/.xprofile
mv ~/.config/filezilla ~/.config/filezilla.bak
filezilla
查看日志:
journalctl -xe | grep filezilla
重装:
sudo apt remove filezilla
sudo apt install filezilla
lftpfilezilla-cli(非官方)WinSCP(Windows)如果你愿意,可以把 终端里运行 filezilla 后的完整报错贴出来,我可以直接帮你定位原因。