connection of client to server

Asked by eric

hi ,

 i want to ask that how do i know the client is connect to the server ? i juz install xibo server on the ubuntu 10.04 LTS and install the xibo client also on the same OS and same version . but i dunno how to check the connection between them ?

can anyone help ? thanks in advance..

Question information

Language:
English Edit question
Status:
Solved
For:
Xibo Edit question
Assignee:
No assignee Edit question
Solved by:
Alex Harrington
Solved:
Last query:
Last reply:

This question was reopened

  • by eric
Revision history for this message
eric (xiaoyue-0826) said :
#1

i have found the solution on here -> https://answers.launchpad.net/xibo/+question/80274

but i meet another problem when installing xibo.

Could not connect to MySQL with the administrator details. Please check and try again.
MySQL Error:
Access denied for user 'nithia'@'localhost' (using password: YES)

what should i do to fixed this problem ?

thanks in advance

Revision history for this message
eric (xiaoyue-0826) said :
#2

please ignore the #1 comment. .. thanks ..

Revision history for this message
Paul van Dun (venigo) said :
#3

You need to setup mysql the right way.. The user nithia doesn't have acces to the sql database you provided in the config..

Revision history for this message
Best Alex Harrington (alexharrington) said :
#4

With the client running, you press i

It'll show you the client info screen which will show you if the client is connected to the server or not. If the Required Files and Schedule lights at the bottom of the info screen are green then it's connected properly.

You can also look in the server in Manage -> Displays.

If you haven't configured the client then that's the first thing you need to do by following the instructions in the install documentation.

Revision history for this message
eric (xiaoyue-0826) said :
#5

Thanks Alex for your reply.

i have follow the instruction for python client in the installation. below is data in the site.cfg.default

[Main]
xmdsUrl=http://127.0.0.1/xibo
xmdsClientID=test111
xmdsKey=12345
xmdsUpdateInterval=600
requireXmds=true
width=960
height=540
fullscreen=false
[Logging]
logWriter=XiboLogXmds
logLevel=0

[Stats]
collect=false
queueSize=10

and when i run the file run.sh and i press the button "i" , i have a red color and a cross(x) together on the register display. The IP address and Disk Space is also blank. How to solve that ? thanks in advance ..

Revision history for this message
eric (xiaoyue-0826) said :
#6

besides that, i still got this message in the terminal :

Xibo Client v1.2.2a2
Reading default configuration
Reading user configuration
Log Level is: 0
Logging will be handled by : XiboLogXmds
Switching to new logger
[12-03-09 10:05:44.264] Warning: Could not find font face Arial. Using san instead
Rsplash-2 has expired

Is there anything wrong in the configuration ??

i have 2 machine : machine A and machine B

on the xmdsUrl there i need to put the fixed ip (192.168.0.1) or the webserver name (127.0.0.7/xibo)

thanks in advance.
machine A install xibo server and contain fixed ip:192.168.0.1
machine B install xibo python client and also contain fixed ip 192.168.0.2

Revision history for this message
eric (xiaoyue-0826) said :
#7

sorry again , the above question i have figured it out .. but now meets another problem ..

when i run the file (run.sh) , the terminal keep send me this -->

Fault Sender: This display Client is not licensed
Fault Receiver: This display Client is not licensed

then i go to the machine A which is xibo server, log in , and go to the Management--> Display , i cant see any information that related to the machine B(xibo python client) .

Can anyone explain to me how to make the client licensed ??

thanks in advance.

Revision history for this message
Joerg Schuster (joerg-schuster) said :
#8

Hi,

in your client you have under "xmdsUrl=" http://127.0.0.1/xibo ?
But your server has the ip 192.168.0.1

It sounds like a network problem. Take this one: xmdsUrl=http://192.168.0.1/xibo

HTH!

Revision history for this message
Joerg Schuster (joerg-schuster) said :
#9
Revision history for this message
eric (xiaoyue-0826) said :
#10

yes , thanks all for reply . it was the ip problem and it solved my problem .

now i don't know why i have to enter the run_always.sh just can let the client to get the license.

and now, i am able to connect to the server and the client can display the image and also the text.

i just try to put the .pptx file and also put the webpage inside, but it only give me the background picture and didn't show the webpage (http://www.facebook.com) and also the .pptx file .

and in terminal, it give me this line :

[0309/153005:INFO:../src/WebViewProxy.cpp(133)] A new WebViewProxy has been created.
[0309/153005:INFO:net/proxy/proxy_service.cc(588)] Failed initial proxy configuration fetch.
[0309/153005:INFO:net/proxy/proxy_service.cc(607)] New proxy configuration was loaded:
{
  auto_detect: 0
  pac_url:
  proxy_rules:
  {
    type: TYPE_NO_RULES
    single_proxy:
    proxy_for_http:
    proxy_for_https:
    proxy_for_ftp:
    socks_proxy:
  }
  proxy_bypass_local_names: 0
  proxy_bypass_list:
  id: 1
}
[0309/153005:INFO:../src/WebViewProxy.cpp(892)] Committed Load for Frame. URL: about:blank, Status Code: 0, Mime-Type: text/html, Frame Name:
[0309/153005:INFO:../src/WebViewProxy.cpp(1064)] Javascript Error in at line 1: Uncaught TypeError: Cannot read property 'style' of null

Does anyone know how to solve this ? Thanks in advance. :)

Revision history for this message
eric (xiaoyue-0826) said :
#11

Thanks Joerg Schuster, that solved my question.

Revision history for this message
eric (xiaoyue-0826) said :
#12

yes , thanks all for reply . it was the ip problem and it solved my problem .

now i don't know why i have to enter the run_always.sh just can let the client to get the license.

and now, i am able to connect to the server and the client can display the image and also the text.

i just try to put the .pptx file and also put the webpage inside, but it only give me the background picture and didn't show the webpage (http://www.facebook.com) and also the .pptx file .

and in terminal, it give me this line :

[0309/153005:INFO:../src/WebViewProxy.cpp(133)] A new WebViewProxy has been created.
[0309/153005:INFO:net/proxy/proxy_service.cc(588)] Failed initial proxy configuration fetch.
[0309/153005:INFO:net/proxy/proxy_service.cc(607)] New proxy configuration was loaded:
{
  auto_detect: 0
  pac_url:
  proxy_rules:
  {
    type: TYPE_NO_RULES
    single_proxy:
    proxy_for_http:
    proxy_for_https:
    proxy_for_ftp:
    socks_proxy:
  }
  proxy_bypass_local_names: 0
  proxy_bypass_list:
  id: 1
}
[0309/153005:INFO:../src/WebViewProxy.cpp(892)] Committed Load for Frame. URL: about:blank, Status Code: 0, Mime-Type: text/html, Frame Name:
[0309/153005:INFO:../src/WebViewProxy.cpp(1064)] Javascript Error in at line 1: Uncaught TypeError: Cannot read property 'style' of null

Does anyone know how to solve this ? Thanks in advance. :)

Revision history for this message
Joerg Schuster (joerg-schuster) said :
#13

Hi,

I hope you know the python client is "alpha" software.
But your troubles with an .pps/pptx... is, so the python client didn't support Powerpoint (IMHO)

Facebook: when you connect to FB on the client with a browser- it is working?

For more "fun" with xibo and your first impressions, try the .net client on windows. So you can see, how Xibo works.

Revision history for this message
Dan Garner (dangarner) said :
#14

The python client has no support for ppt, and never will. If you are using office 2010, you could consider saving your presentation as a video instead. (This is good practice even with the. Net client)

Also, for your licensing problem, make sure your displays have a different xmdsclientid in the config file.

Revision history for this message
eric (xiaoyue-0826) said :
#15

Thanks for the reply.

i have solved the webpage problem .. but about the power point slide , if i am using powerpoint 2007 how to convert it to the video format? i have seen a lot of format can be saved in the powerpoint but i dunno which 1 should i use.

thanks in advance for replying my question.

Revision history for this message
Joerg Schuster (joerg-schuster) said :
#16

Hi,

Powerpoint 2007 doesn't have the function to export a .pps as a video, only Powerpoint 2010.

With 2007 try this one:
http://wiki.xibo.org.uk/wiki/Manual:Layouts:Design#Powerpoint

Please, for every _new_ problem you have, open a new "question" here.

HTH!

Revision history for this message
eric (xiaoyue-0826) said :
#17
Revision history for this message
eric (xiaoyue-0826) said :
#18

Thanks Alex Harrington, that solved my question.