org.eclipse.swt.SWTError: No more handles [gtk_init_check() failed] while running spoon.sh in ubuntu

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP











up vote
2
down vote

favorite












When I am running spoon.sh file in Ubuntu I am getting the following error:



[santosh@sbx data-integration]$ ./spoon.sh
/home/decathlon/Pentaho-5.0.1/data-integration
org.eclipse.swt.SWTError: No more handles [gtk_init_check() failed]
at org.eclipse.swt.SWT.error(Unknown Source)
at org.eclipse.swt.widgets.Display.createDisplay(Unknown Source)
at org.eclipse.swt.widgets.Display.create(Unknown Source)
at org.eclipse.swt.graphics.Device.<init>(Unknown Source)
at org.eclipse.swt.widgets.Display.<init>(Unknown Source)
at org.eclipse.swt.widgets.Display.<init>(Unknown Source)
at org.pentaho.di.ui.spoon.Spoon.main(Spoon.java:582)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at org.pentaho.commons.launcher.Launcher.main(Launcher.java:134)


Could anyone please help me in resolving the same?










share|improve this question























  • It looks like it's attempting to gain access to your display and cannot. What is this application? It's a Java GUI, but where did you get it?
    – slm♦
    Jul 1 '14 at 11:16














up vote
2
down vote

favorite












When I am running spoon.sh file in Ubuntu I am getting the following error:



[santosh@sbx data-integration]$ ./spoon.sh
/home/decathlon/Pentaho-5.0.1/data-integration
org.eclipse.swt.SWTError: No more handles [gtk_init_check() failed]
at org.eclipse.swt.SWT.error(Unknown Source)
at org.eclipse.swt.widgets.Display.createDisplay(Unknown Source)
at org.eclipse.swt.widgets.Display.create(Unknown Source)
at org.eclipse.swt.graphics.Device.<init>(Unknown Source)
at org.eclipse.swt.widgets.Display.<init>(Unknown Source)
at org.eclipse.swt.widgets.Display.<init>(Unknown Source)
at org.pentaho.di.ui.spoon.Spoon.main(Spoon.java:582)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at org.pentaho.commons.launcher.Launcher.main(Launcher.java:134)


Could anyone please help me in resolving the same?










share|improve this question























  • It looks like it's attempting to gain access to your display and cannot. What is this application? It's a Java GUI, but where did you get it?
    – slm♦
    Jul 1 '14 at 11:16












up vote
2
down vote

favorite









up vote
2
down vote

favorite











When I am running spoon.sh file in Ubuntu I am getting the following error:



[santosh@sbx data-integration]$ ./spoon.sh
/home/decathlon/Pentaho-5.0.1/data-integration
org.eclipse.swt.SWTError: No more handles [gtk_init_check() failed]
at org.eclipse.swt.SWT.error(Unknown Source)
at org.eclipse.swt.widgets.Display.createDisplay(Unknown Source)
at org.eclipse.swt.widgets.Display.create(Unknown Source)
at org.eclipse.swt.graphics.Device.<init>(Unknown Source)
at org.eclipse.swt.widgets.Display.<init>(Unknown Source)
at org.eclipse.swt.widgets.Display.<init>(Unknown Source)
at org.pentaho.di.ui.spoon.Spoon.main(Spoon.java:582)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at org.pentaho.commons.launcher.Launcher.main(Launcher.java:134)


Could anyone please help me in resolving the same?










share|improve this question















When I am running spoon.sh file in Ubuntu I am getting the following error:



[santosh@sbx data-integration]$ ./spoon.sh
/home/decathlon/Pentaho-5.0.1/data-integration
org.eclipse.swt.SWTError: No more handles [gtk_init_check() failed]
at org.eclipse.swt.SWT.error(Unknown Source)
at org.eclipse.swt.widgets.Display.createDisplay(Unknown Source)
at org.eclipse.swt.widgets.Display.create(Unknown Source)
at org.eclipse.swt.graphics.Device.<init>(Unknown Source)
at org.eclipse.swt.widgets.Display.<init>(Unknown Source)
at org.eclipse.swt.widgets.Display.<init>(Unknown Source)
at org.pentaho.di.ui.spoon.Spoon.main(Spoon.java:582)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at org.pentaho.commons.launcher.Launcher.main(Launcher.java:134)


Could anyone please help me in resolving the same?







ubuntu java






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Apr 27 '16 at 18:31









Anthon

58.8k1796159




58.8k1796159










asked Jul 1 '14 at 7:23









Santosh

1112




1112











  • It looks like it's attempting to gain access to your display and cannot. What is this application? It's a Java GUI, but where did you get it?
    – slm♦
    Jul 1 '14 at 11:16
















  • It looks like it's attempting to gain access to your display and cannot. What is this application? It's a Java GUI, but where did you get it?
    – slm♦
    Jul 1 '14 at 11:16















It looks like it's attempting to gain access to your display and cannot. What is this application? It's a Java GUI, but where did you get it?
– slm♦
Jul 1 '14 at 11:16




It looks like it's attempting to gain access to your display and cannot. What is this application? It's a Java GUI, but where did you get it?
– slm♦
Jul 1 '14 at 11:16










3 Answers
3






active

oldest

votes

















up vote
0
down vote













I had the same problem (on Ubuntu 14.04). Turned out to be a permissions problem. It was resolved by starting spoon.sh with a user that has permissions to access the graphical environment. On Ubuntu Desktop, the user you use to login is a safe bet. Alternatively, give your Pentaho user the right permissions.






share|improve this answer



























    up vote
    0
    down vote













    Since it took me some time to find out, I'd like to add that it's possible to set the permission using xhost:



    xhost +local:


    Found here : https://wiki.archlinux.org/index.php/Xhost






    share|improve this answer



























      up vote
      0
      down vote













      If you are access to Ubuntu by VNC, make sure that you are running spoon.sh as same user as VNC server.






      share|improve this answer




















        Your Answer







        StackExchange.ready(function()
        var channelOptions =
        tags: "".split(" "),
        id: "106"
        ;
        initTagRenderer("".split(" "), "".split(" "), channelOptions);

        StackExchange.using("externalEditor", function()
        // Have to fire editor after snippets, if snippets enabled
        if (StackExchange.settings.snippets.snippetsEnabled)
        StackExchange.using("snippets", function()
        createEditor();
        );

        else
        createEditor();

        );

        function createEditor()
        StackExchange.prepareEditor(
        heartbeatType: 'answer',
        convertImagesToLinks: false,
        noModals: false,
        showLowRepImageUploadWarning: true,
        reputationToPostImages: null,
        bindNavPrevention: true,
        postfix: "",
        onDemand: true,
        discardSelector: ".discard-answer"
        ,immediatelyShowMarkdownHelp:true
        );



        );













         

        draft saved


        draft discarded


















        StackExchange.ready(
        function ()
        StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f140113%2forg-eclipse-swt-swterror-no-more-handles-gtk-init-check-failed-while-runnin%23new-answer', 'question_page');

        );

        Post as a guest






























        3 Answers
        3






        active

        oldest

        votes








        3 Answers
        3






        active

        oldest

        votes









        active

        oldest

        votes






        active

        oldest

        votes








        up vote
        0
        down vote













        I had the same problem (on Ubuntu 14.04). Turned out to be a permissions problem. It was resolved by starting spoon.sh with a user that has permissions to access the graphical environment. On Ubuntu Desktop, the user you use to login is a safe bet. Alternatively, give your Pentaho user the right permissions.






        share|improve this answer
























          up vote
          0
          down vote













          I had the same problem (on Ubuntu 14.04). Turned out to be a permissions problem. It was resolved by starting spoon.sh with a user that has permissions to access the graphical environment. On Ubuntu Desktop, the user you use to login is a safe bet. Alternatively, give your Pentaho user the right permissions.






          share|improve this answer






















            up vote
            0
            down vote










            up vote
            0
            down vote









            I had the same problem (on Ubuntu 14.04). Turned out to be a permissions problem. It was resolved by starting spoon.sh with a user that has permissions to access the graphical environment. On Ubuntu Desktop, the user you use to login is a safe bet. Alternatively, give your Pentaho user the right permissions.






            share|improve this answer












            I had the same problem (on Ubuntu 14.04). Turned out to be a permissions problem. It was resolved by starting spoon.sh with a user that has permissions to access the graphical environment. On Ubuntu Desktop, the user you use to login is a safe bet. Alternatively, give your Pentaho user the right permissions.







            share|improve this answer












            share|improve this answer



            share|improve this answer










            answered Dec 1 '14 at 10:12









            laskan

            1




            1






















                up vote
                0
                down vote













                Since it took me some time to find out, I'd like to add that it's possible to set the permission using xhost:



                xhost +local:


                Found here : https://wiki.archlinux.org/index.php/Xhost






                share|improve this answer
























                  up vote
                  0
                  down vote













                  Since it took me some time to find out, I'd like to add that it's possible to set the permission using xhost:



                  xhost +local:


                  Found here : https://wiki.archlinux.org/index.php/Xhost






                  share|improve this answer






















                    up vote
                    0
                    down vote










                    up vote
                    0
                    down vote









                    Since it took me some time to find out, I'd like to add that it's possible to set the permission using xhost:



                    xhost +local:


                    Found here : https://wiki.archlinux.org/index.php/Xhost






                    share|improve this answer












                    Since it took me some time to find out, I'd like to add that it's possible to set the permission using xhost:



                    xhost +local:


                    Found here : https://wiki.archlinux.org/index.php/Xhost







                    share|improve this answer












                    share|improve this answer



                    share|improve this answer










                    answered Aug 9 '16 at 10:08









                    Schnaffon

                    1




                    1




















                        up vote
                        0
                        down vote













                        If you are access to Ubuntu by VNC, make sure that you are running spoon.sh as same user as VNC server.






                        share|improve this answer
























                          up vote
                          0
                          down vote













                          If you are access to Ubuntu by VNC, make sure that you are running spoon.sh as same user as VNC server.






                          share|improve this answer






















                            up vote
                            0
                            down vote










                            up vote
                            0
                            down vote









                            If you are access to Ubuntu by VNC, make sure that you are running spoon.sh as same user as VNC server.






                            share|improve this answer












                            If you are access to Ubuntu by VNC, make sure that you are running spoon.sh as same user as VNC server.







                            share|improve this answer












                            share|improve this answer



                            share|improve this answer










                            answered Nov 21 '16 at 4:48









                            Ken Morita

                            1




                            1



























                                 

                                draft saved


                                draft discarded















































                                 


                                draft saved


                                draft discarded














                                StackExchange.ready(
                                function ()
                                StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f140113%2forg-eclipse-swt-swterror-no-more-handles-gtk-init-check-failed-while-runnin%23new-answer', 'question_page');

                                );

                                Post as a guest













































































                                Popular posts from this blog

                                How to check contact read email or not when send email to Individual?

                                Displaying single band from multi-band raster using QGIS

                                How many registers does an x86_64 CPU actually have?