FAQ  •  Register  •  Login

How to setup the folders?

<<

widewings

Serviio newbie

Posts: 16

Joined: Wed Apr 13, 2011 8:36 am

Post Wed Apr 13, 2011 8:43 am

How to setup the folders?

Hi,

I have installed Serviio 0.5.2 on a FreeNAS 0.72. I manage to make serviio.sh to run and I can see the serviio server at my Sony TV. Unfortunately I can't run serviio-console.sh. My question is how can I point to serviio where my files are located. Thanks a lot for the help.
<<

zip

User avatar

Serviio developer / Site Admin

Posts: 17212

Joined: Sat Oct 24, 2009 12:24 pm

Location: London, UK

Post Wed Apr 13, 2011 8:53 am

Re: How to setup the folders?

You can either run the console remotely (http://www.serviio.org/component/content/article/21#q2) or install php UI (viewtopic.php?f=17&t=1310)
<<

widewings

Serviio newbie

Posts: 16

Joined: Wed Apr 13, 2011 8:36 am

Post Thu Apr 14, 2011 6:31 am

Re: How to setup the folders?

hi zip, thanks a lot for the reply. I've read the whole thread on the link. It just created more questions for me and softwares that I don't have. I think I will stick to making the serviio-console.sh working.

Just wondering if anybody can help me why my console is not working
  Code:
freenas:/mnt/buffer/serviio/bin# sh serviio-console.sh
Exception in thread "main" java.lang.ExceptionInInitializerError
        at com.sun.java.swing.plaf.gtk.GTKLookAndFeel.getGTKStyleFactory(GTKLookAndFeel.java:1539)
        at com.sun.java.swing.plaf.gtk.GTKLookAndFeel.loadStyles(GTKLookAndFeel.java:1503)
        at com.sun.java.swing.plaf.gtk.GTKLookAndFeel.initialize(GTKLookAndFeel.java:1370)
        at javax.swing.UIManager.setLookAndFeel(UIManager.java:536)
        at javax.swing.UIManager.setLookAndFeel(UIManager.java:581)
        at org.serviio.ui.view.swing.SwingHelper.initSwing(SwingHelper.java:51)
        at org.serviio.console.ServiioConsole.main(ServiioConsole.java:90)
Caused by: java.awt.HeadlessException:
No X11 DISPLAY variable was set, but this program performed an operation which requires it.
        at sun.java2d.HeadlessGraphicsEnvironment.getDefaultScreenDevice(HeadlessGraphicsEnvironment.java:64)
        at com.sun.java.swing.plaf.gtk.PangoFonts.<clinit>(PangoFonts.java:43)
        ... 7 more


I already installed java and doubled check that it is there
  Code:
freenas:/mnt/buffer# pkg_add -v java.tbz
Requested space: 109M bytes, free space: 16G bytes in /var/tmp/instmp.iUChfa
pkg_add: package 'diablo-jre-1.6.0.07.02' or its older version already installed
pkg_add: 1 package addition(s) failed


any idea would be much appreciated.....

I attached a serviio log as well.
Attachments
serviio.log
(57.29 KiB) Downloaded 480 times
<<

widewings

Serviio newbie

Posts: 16

Joined: Wed Apr 13, 2011 8:36 am

Post Thu Apr 14, 2011 7:55 am

Re: How to setup the folders?

in case somebody is also experiencing my problem......

if you have a windows computer..... download the windows version of serviio but install only the console.....

then edit the file....ServiioConsole.exe.vmoptions and put this inside....
  Code:
-Dserviio.remoteHost=192.168.x.x

192.168.x.x is the server ip address

then on the server side.... edit serviio.sh then replaced this line onto yours
  Code:
# Setup Serviio specific properties
JAVA_OPTS="-Djava.net.preferIPv4Stack=true -Dderby.system.home=$SERVIIO_HOME/library -Dserviio.home=$SERVIIO_HOME -Dffmpeg.location=/usr/local/bin/ffmpeg -Dserviio.remoteHost=192.168.x.x"

192.168.x.x is the server ip address same as above.....

thanks for the help zip.... I read to fast and not really understanding it that is why ..... anyway problem solved..... :D

Return to NAS installation

Who is online

Users browsing this forum: No registered users and 17 guests

Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by ST Software for PTF.