POS Screen invocation

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

POS Screen invocation

hzzg6y
Dear All,

     Need your help display setting on OFBIZ. I am on a VPS with CentOS 5.6 Linux. I have taken Ofbiz 10.04 Zip & jdk-6u27-linux-x64-rpm.bin from Oracle download & using the PostgreSQL.

1. I am not able to set the Display so that I can view on Screen the OFBIZ POS. Secondly on every POS terminal, do I need to have full OFBIZ installed i.e. full Postgresql. Don't we have any POS client with light & postgreSQL client only.


2. Do we have any database of for Items barcode ( UPC, EAN ). Do we have any routine for Barcode scanner in Java.

[root- apache-ofbiz-10.04]# java -jar ofbiz.jar -pos
Set OFBIZ_HOME to - /root/apache-ofbiz-10.04
Admin socket not configured; set to port 0
Exception in thread "main" java.lang.InternalError: Can't connect to X11 window server using ':0.0' as the value of the DISPLAY variable.
        at sun.awt.X11GraphicsEnvironment.initDisplay(Native Method)
        at sun.awt.X11GraphicsEnvironment.access$100(X11GraphicsEnvironment.java:52)
        at sun.awt.X11GraphicsEnvironment$1.run(X11GraphicsEnvironment.java:155)
        at java.security.AccessController.doPrivileged(Native Method)
        at sun.awt.X11GraphicsEnvironment.<clinit>(X11GraphicsEnvironment.java:131)
        at java.lang.Class.forName0(Native Method)
        at java.lang.Class.forName(Class.java:169)
        at java.awt.GraphicsEnvironment.getLocalGraphicsEnvironment(GraphicsEnvironment.java:68)
        at java.awt.Window.init(Window.java:380)
        at java.awt.Window.<init>(Window.java:433)
        at java.awt.Frame.<init>(Frame.java:403)
        at java.awt.Frame.<init>(Frame.java:368)
        at org.ofbiz.base.splash.SplashScreen.<init>(SplashScreen.java:38)
        at org.ofbiz.base.splash.SplashLoader.run(SplashLoader.java:81)
        at java.lang.Thread.run(Thread.java:662)
        at org.ofbiz.base.splash.SplashLoader.load(SplashLoader.java:47)
        at org.ofbiz.base.start.Start.initStartLoaders(Start.java:259)
        at org.ofbiz.base.start.Start.init(Start.java:96)
        at org.ofbiz.base.start.Start.main(Start.java:410)

I have even tried xhost+ & xclock but both are having display error