Xibo-layer-test command not found

I’m trying to install xibo player on ubuntu 16.04 Xenial. i have installed xibo through docker.
i’m following this doc

i followed the steps and facing following errors.
1)unable to find linux player in the display settings page
2)after installing the player i get this error “xibo-layer-test” not found when i tried running the following command

xibo-layer-test --host yourcms.example.org --server-key yourkey --hardware-key yourhardwarekey

The command is xibo-player-test.

You should be testing 0.5.1 as that’s the current test release. See:

ok i will check it. one more thing cms patch didn’t work

If the CMS patch isn’t applied then the Player won’t work either.

If you have a 1.8.12 CMS, then you don’t need to apply the patch as it’s already included in the core CMS at that version.

okay, thank you. alex

hi @alex,
i hope you’re fine.
i ran following command
xibo-layer-test --host yourcms.example.org --server-key yourkey --hardware-key yourhardwarekey

i’m logged in with root but still getting this error.

mkdir: cannot create directory ‘/run/user/0’: Permission denied
terminate called after throwing an instance of ‘std::filesystem::__cxx11::filesystem_error’
what(): filesystem error: cannot create directory: Permission denied [/var/lib/snapd/void/resources]
Aborted (core dumped)

if you know about this then please guide.

thanks.

please guide how to solve this

No protocol specified
Failed to connect to Mir: Failed to connect to server socket: No such file or directory
Unable to init server: Could not connect: Connection refused

The command is not xibo-layer-test. It is xibo-player-test, and from the latest release xibo-player.

Newer versions also require you to specify whether you want them to connect over http or https.

Please go to the latest release blog post, and follow the instructions there. You must not be running as the root user, you must be a regular user for it to work.

yes, i used xibo-player-test command. miss typed above.

Thanks for your quick response, i will go through the link.

the version of my cms is 1.8.12
i used http instead of https
xibo-player --host https://yourcms.example.org --server-key yourkey --hardware-key yourhardwarekey
i got this
(gst-plugin-scanner:4790): GStreamer-WARNING **: 12:45:40.213: Failed to load plugin ‘/snap/xibo-player/3/usr/lib/x86_64-linux-gnu/gstreamer-1.0/libgstaasink.so’: libgpm.so.2: cannot open shared object file: No such file or directory

(gst-plugin-scanner:4790): GStreamer-WARNING **: 12:45:41.486: Failed to load plugin ‘/snap/xibo-player/3/usr/lib/x86_64-linux-gnu/gstreamer-1.0/libgstaasink.so’: libgpm.so.2: cannot open shared object file: No such file or directory
[12:45:41.997] [004561] [debug]: Player settings updated
[12:45:41.998] [004798] [debug]: Collection started
[12:45:42.011] [004798] [debug]: Scheme: 0 HostType: 0 Host: localhost Port: 80 Target: /xmds.php?v=5
[12:45:42.469] [004798] [debug]: Display added and is awaiting licensing approval from an Administrator.
[12:45:42.490] [004561] [error]: Error occured: /var/lib/snapd/void/resources/0.xlf: cannot open file

after authorizing the display and tried to run it again

xibo-player --host https://yourcms.example.org --server-key yourkey --hardware-key yourhardwarekey

and got this

[12:49:52.160] [004914] [debug]: Player settings updated
[12:49:52.160] [004997] [debug]: Collection started
[12:49:52.161] [004997] [debug]: Scheme: 0 HostType: 0 Host: localhost Port: 80 Target: /xmds.php?v=5
terminate called after throwing an instance of ‘boost::exception_detail::clone_impl<boost::exception_detail::error_info_injectorboost::property_tree::ptree_bad_path >’
what(): No such node (sizeX)
Aborted (core dumped)

please guide where i’m doing wrong.

Thanks

Can you check that you have a Linux Display Settings Profile setup in your CMS, and that it has a sensible setting for the client size and position settings please.

Alex,

after setting the linux profile in cms
i ran the following command again
xibo-player --host http://localhost --server-key **** --hardware-key mydisplay

logs are following

[14:31:06.350] [006379] [debug]: Player settings updated
[14:31:06.350] [006463] [debug]: Collection started
[14:31:06.350] [006463] [debug]: Scheme: 0 HostType: 0 Host: localhost Port: 80 Target: /xmds.php?v=5
[14:31:06.747] [006463] [debug]: Display is active and ready to start.
[14:31:06.748] [006463] [debug]: Scheme: 0 HostType: 0 Host: localhost Port: 80 Target: /xmds.php?v=5
[14:31:06.748] [006379] [error]: Error occured: /var/lib/snapd/void/resources/settings.xml: cannot open file
[14:31:09.146] [006463] [debug]: Scheme: 0 HostType: 0 Host: localhost Port: 80 Target: /xmds.php?v=5
[14:31:09.367] [006463] [debug]: 19 files and 2 resources to download
[14:31:09.367] [006471] [debug]: Scheme: 0 HostType: 0 Host: localhost Port: 80 Target: /xmds.php?v=5
[14:31:09.367] [006472] [debug]: Scheme: 0 HostType: 0 Host: localhost Port: 80 Target: /xmds.php?file=a922aaac2dfee5b17e83417c9564f6d224f15215fe87f4bc274145ec7a41dc94&displayId=1&type=M&itemId=6
[14:31:09.367] [006472] [debug]: Scheme: 0 HostType: 0 Host: localhost Port: 80 Target: /xmds.php?file=a922aaac2dfee5b17e83417c9564f6d224f15215fe87f4bc274145ec7a41dc94&displayId=1&type=M&itemId=4
[14:31:09.368] [006472] [debug]: Scheme: 0 HostType: 0 Host: localhost Port: 80 Target: /xmds.php?file=a922aaac2dfee5b17e83417c9564f6d224f15215fe87f4bc274145ec7a41dc94&displayId=1&type=M&itemId=2
[14:31:09.368] [006472] [debug]: Scheme: 0 HostType: 0 Host: localhost Port: 80 Target: /xmds.php?file=a922aaac2dfee5b17e83417c9564f6d224f15215fe87f4bc274145ec7a41dc94&displayId=1&type=M&itemId=17
[14:31:09.369] [006472] [debug]: Scheme: 0 HostType: 0 Host: localhost Port: 80 Target: /xmds.php?file=a922aaac2dfee5b17e83417c9564f6d224f15215fe87f4bc274145ec7a41dc94&displayId=1&type=M&itemId=15
[14:31:09.369] [006472] [debug]: Scheme: 0 HostType: 0 Host: localhost Port: 80 Target: /xmds.php?file=a922aaac2dfee5b17e83417c9564f6d224f15215fe87f4bc274145ec7a41dc94&displayId=1&type=M&itemId=13
[14:31:09.370] [006472] [debug]: Scheme: 0 HostType: 0 Host: localhost Port: 80 Target: /xmds.php?file=a922aaac2dfee5b17e83417c9564f6d224f15215fe87f4bc274145ec7a41dc94&displayId=1&type=M&itemId=11
[14:31:09.370] [006472] [debug]: Scheme: 0 HostType: 0 Host: localhost Port: 80 Target: /xmds.php?file=a922aaac2dfee5b17e83417c9564f6d224f15215fe87f4bc274145ec7a41dc94&displayId=1&type=M&itemId=9
[14:31:09.371] [006472] [debug]: Scheme: 0 HostType: 0 Host: localhost Port: 80 Target: /xmds.php?file=a922aaac2dfee5b17e83417c9564f6d224f15215fe87f4bc274145ec7a41dc94&displayId=1&type=M&itemId=7
[14:31:09.371] [006472] [debug]: Scheme: 0 HostType: 0 Host: localhost Port: 80 Target: /xmds.php?file=a922aaac2dfee5b17e83417c9564f6d224f15215fe87f4bc274145ec7a41dc94&displayId=1&type=M&itemId=5
[14:31:09.375] [006472] [debug]: Scheme: 0 HostType: 0 Host: localhost Port: 80 Target: /xmds.php?file=a922aaac2dfee5b17e83417c9564f6d224f15215fe87f4bc274145ec7a41dc94&displayId=1&type=M&itemId=3
[14:31:09.376] [006472] [debug]: Scheme: 0 HostType: 0 Host: localhost Port: 80 Target: /xmds.php?file=a922aaac2dfee5b17e83417c9564f6d224f15215fe87f4bc274145ec7a41dc94&displayId=1&type=M&itemId=18
[14:31:09.376] [006472] [debug]: Scheme: 0 HostType: 0 Host: localhost Port: 80 Target: /xmds.php?file=a922aaac2dfee5b17e83417c9564f6d224f15215fe87f4bc274145ec7a41dc94&displayId=1&type=M&itemId=1
[14:31:09.381] [006472] [debug]: Scheme: 0 HostType: 0 Host: localhost Port: 80 Target: /xmds.php?file=a922aaac2dfee5b17e83417c9564f6d224f15215fe87f4bc274145ec7a41dc94&displayId=1&type=M&itemId=16
[14:31:09.382] [006471] [debug]: Scheme: 0 HostType: 0 Host: localhost Port: 80 Target: /xmds.php?v=5
[14:31:09.388] [006472] [debug]: Scheme: 0 HostType: 0 Host: localhost Port: 80 Target: /xmds.php?file=a922aaac2dfee5b17e83417c9564f6d224f15215fe87f4bc274145ec7a41dc94&displayId=1&type=M&itemId=14
[14:31:09.388] [006472] [debug]: Scheme: 0 HostType: 0 Host: localhost Port: 80 Target: /xmds.php?file=a922aaac2dfee5b17e83417c9564f6d224f15215fe87f4bc274145ec7a41dc94&displayId=1&type=M&itemId=12
[14:31:09.389] [006472] [debug]: Scheme: 0 HostType: 0 Host: localhost Port: 80 Target: /xmds.php?file=a922aaac2dfee5b17e83417c9564f6d224f15215fe87f4bc274145ec7a41dc94&displayId=1&type=M&itemId=10
[14:31:09.389] [006472] [debug]: Scheme: 0 HostType: 0 Host: localhost Port: 80 Target: /xmds.php?file=a922aaac2dfee5b17e83417c9564f6d224f15215fe87f4bc274145ec7a41dc94&displayId=1&type=M&itemId=8
[14:31:09.390] [006472] [debug]: Scheme: 0 HostType: 0 Host: localhost Port: 80 Target: /xmds.php?file=a922aaac2dfee5b17e83417c9564f6d224f15215fe87f4bc274145ec7a41dc94&displayId=1&type=L&itemId=1
[14:31:09.716] [006482] [debug]: [flipclock.min.js] Downloaded
[14:31:09.780] [006483] [debug]: [jquery-cycle-2.1.6.min.js] Downloaded
[14:31:09.811] [006484] [debug]: [11.ttf] Downloaded
[14:31:09.817] [006485] [debug]: [9.otf] Downloaded
[14:31:09.856] [006486] [debug]: [xibo-dataset-render.js] Downloaded
[14:31:09.867] [006487] [debug]: [compatibility.js] Downloaded
[14:31:09.903] [006488] [debug]: [pdf.js] Downloaded
[14:31:10.148] [006494] [debug]: [xibo-text-render.js] Downloaded
[14:31:10.197] [006495] [debug]: [xibo-image-render.js] Downloaded
[14:31:10.233] [006496] [debug]: [1.xlf] Downloaded
[14:31:10.236] [006497] [debug]: [8.otf] Downloaded
[14:31:10.272] [006498] [debug]: [xibo-layout-scaler.js] Downloaded
[14:31:10.287] [006499] [debug]: [moment.js] Downloaded
[14:31:10.334] [006502] [debug]: [1.html] Downloaded
[14:31:10.372] [006503] [debug]: [jquery-1.11.1.min.js] Downloaded
[14:31:10.502] [006504] [debug]: [10.ttf] Downloaded
[14:31:10.582] [006505] [debug]: [12.otf] Downloaded
[14:31:10.683] [006506] [debug]: [xibo-webpage-render.js] Downloaded
[14:31:10.684] [006507] [debug]: [jquery.marquee.min.js] Downloaded
[14:31:10.800] [006509] [debug]: [2.html] Downloaded
[14:31:10.878] [006510] [debug]: [pdf.worker.js] Downloaded
[14:31:10.880] [006463] [debug]: Scheme: 0 HostType: 0 Host: localhost Port: 80 Target: /xmds.php?v=5
[14:31:10.880] [006463] [debug]: Scheme: 0 HostType: 0 Host: localhost Port: 80 Target: /xmds.php?v=5
[14:31:10.889] [006463] [debug]: Scheme: 0 HostType: 0 Host: localhost Port: 80 Target: /xmds.php?v=5
[14:31:11.079] [006463] [debug]: Logs were submitted successfully
[14:31:11.080] [006379] [error]: Error occured: /var/lib/snapd/void/resources/1.xlf: cannot open file

i can’t find the 1.xlf file in the resources folder at the following address
/var/lib/snapd/void/resources/1.xlf

that’s why i received error while launching the linux client
error is following
/var/lib/snapd/void/resources/1.xlf: cannot open file

Hi,
I am trying to setup the xibo player on virtual box Ubuntu 16.04, But facing with below issue:

Failed to connect to Mir: Failed to connect to server socket: No such file or directory
Unable to init server: Could not connect: Connection refused.
Please let me know if I am missing something.

Sounds like you might be running the Player from a non-graphical interface?

You need to be logged in to the Unity/Gnome desktop environment to run the Player, and you must be logged in locally - ie you can’t launch it from an SSH session.

This topic was automatically closed 91 days after the last reply. New replies are no longer allowed.