Unable to run Filebot over ssh -X

Support for Ubuntu and other Desktop Linux distributions
Post Reply
TomG
Posts: 1
Joined: 10 Jan 2018, 17:48

Unable to run Filebot over ssh -X

Post by TomG »

I'm on Ubuntu 16.04, headlessly on the server. When I ssh -X in from my desktop, I can run xclock and other GUI apps quite happily. But filebot fails with

Code: Select all

Error during startup: java.awt.AWTError: Can't connect to X11 window server using 'everest:11.0' as the value of the DISPLAY variable.
java.awt.AWTError: Can't connect to X11 window server using 'everest:11.0' as the value of the DISPLAY variable.
        at net.filebot.Main.main(Main.java:125)
I installed it using snap.

It might be unrelated, but trying to do a single file symlink from the CLI fails too:

Code: Select all

tom@everest:~⟫ filebot -rename  --db TheMovieDB --action symlink /mnt/BigUnsafe/Torrenting/Downloads/The.Secret.Of.NIMH.1982.720p.BluRay.x264-HALCYON\ \[BTUnhide\]/halcyon-secretofnimh.720p-x264.mkv 
Illegal Argument: java.nio.file.NoSuchFileException: /mnt/BigUnsafe/Torrenting/Downloads/The.Secret.Of.NIMH.1982.720p.BluRay.x264-HALCYON [BTUnhide]/halcyon-secretofnimh.720p-x264.mkv (/mnt/BigUnsafe/Torrenting/Downloads/The.Secret.Of.NIMH.1982.720p.BluRay.x264-HALCYON [BTUnhide]/halcyon-secretofnimh.720p-x264.mkv)
Rename movies using [TheMovieDB]
Auto-detect movie from context: [/mnt/BigUnsafe/Torrenting/Downloads/The.Secret.Of.NIMH.1982.720p.BluRay.x264-HALCYON [BTUnhide]/halcyon-secretofnimh.720p-x264.mkv]
Failed to read xattr: NoSuchFileException: /mnt/BigUnsafe/Torrenting/Downloads/The.Secret.Of.NIMH.1982.720p.BluRay.x264-HALCYON [BTUnhide]/halcyon-secretofnimh.720p-x264.mkv
[SYMLINK] From [/mnt/BigUnsafe/Torrenting/Downloads/The.Secret.Of.NIMH.1982.720p.BluRay.x264-HALCYON [BTUnhide]/halcyon-secretofnimh.720p-x264.mkv] to [/mnt/BigUnsafe/Torrenting/Downloads/The.Secret.Of.NIMH.1982.720p.BluRay.x264-HALCYON [BTUnhide]/The Secret of NIMH (1982).mkv]
[SYMLINK] Failure: java.nio.file.FileSystemException: /mnt/BigUnsafe: Read-only file system
Processed 0 files
/mnt/BigUnsafe: Read-only file system
java.nio.file.FileSystemException: /mnt/BigUnsafe: Read-only file system
        at net.filebot.util.FileUtilities.resolveDestination(FileUtilities.java:116)
        at net.filebot.StandardRenameAction$4.rename(StandardRenameAction.java:56)
        at net.filebot.cli.CmdlineOperations.renameAll(CmdlineOperations.java:616)
        at net.filebot.cli.CmdlineOperations.renameMovie(CmdlineOperations.java:483)
        at net.filebot.cli.CmdlineOperations.rename(CmdlineOperations.java:90)
        at net.filebot.cli.ArgumentProcessor.runCommand(ArgumentProcessor.java:88)
        at net.filebot.cli.ArgumentProcessor.run(ArgumentProcessor.java:26)
        at net.filebot.Main.main(Main.java:115)

Failure (°_°)
The folder and file are perfectly accessible. Calling vlc on it using ssh -X opens it remotely on my client desktop.

The sysinfo call gives:

Code: Select all

tom@everest:~⟫ filebot -script fn:sysinfo
FileBot 4.7.9 (r4986)
JNA Native: 5.1.0
MediaInfo: 0.7.82
7-Zip-JBinding: 9.20
Chromaprint: 1.2.0
Extended Attributes: OK
Unicode Filesystem: OK
GVFS: PlatformGVFS [/run/user/1000/gvfs]
Script Bundle: 2017-11-21 (r512)
Groovy: 2.4.10
JRE: OpenJDK Runtime Environment 1.8.0_121
JVM: 64-bit OpenJDK 64-Bit Server VM
CPU/MEM: 2 Core / 1 GB Max Memory / 42 MB Used Memory
OS: Linux (amd64)
Package: SNAP
uname: Linux everest 4.4.0-21-generic #37-Ubuntu SMP Mon Apr 18 18:33:37 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux
Done ヾ(@⌒ー⌒@)ノ
Any suggestions?
User avatar
rednoah
The Source
Posts: 22923
Joined: 16 Nov 2011, 08:59
Location: Taipei
Contact:

Re: Unable to run Filebot over ssh -X

Post by rednoah »

Sorry, that's out of my league. Developers familiar with the X Window Server and/or SNAP might be able the help you out though.
:idea: Please read the FAQ and How to Request Help.
Post Reply