org.eclipse.swt.SWTError: No more handles [gtk_init_check() failed] while running spoon.sh in ubuntu
Clash 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?
ubuntu java
add a comment |Â
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?
ubuntu java
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
add a comment |Â
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?
ubuntu java
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
ubuntu java
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
add a comment |Â
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
add a comment |Â
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.
add a comment |Â
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
add a comment |Â
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.
add a comment |Â
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.
add a comment |Â
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.
add a comment |Â
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.
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.
answered Dec 1 '14 at 10:12
laskan
1
1
add a comment |Â
add a comment |Â
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
add a comment |Â
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
add a comment |Â
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
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
answered Aug 9 '16 at 10:08
Schnaffon
1
1
add a comment |Â
add a comment |Â
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.
add a comment |Â
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.
add a comment |Â
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.
If you are access to Ubuntu by VNC, make sure that you are running spoon.sh as same user as VNC server.
answered Nov 21 '16 at 4:48
Ken Morita
1
1
add a comment |Â
add a comment |Â
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
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
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
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