Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Why can't I use any of the programs I install through 'Ubuntu Software'? For instance, I recently tried installing Notepad++ and it installed. So I clicked on it and then clicked launch and it attempts to launch but never succeeds. I click launch and the icon appears, blinks for a few moments, then goes away. This happens to every program I install through the 'Ubuntu Software' app.
Distribution: Currently: OpenMandriva. Previously: openSUSE, PCLinuxOS, CentOS, among others over the years.
Posts: 3,881
Rep:
Quote:
Originally Posted by vysero
Why can't I use any of the programs I install through 'Ubuntu Software'? For instance, I recently tried installing Notepad++ and it installed. So I clicked on it and then clicked launch and it attempts to launch but never succeeds. I click launch and the icon appears, blinks for a few moments, then goes away. This happens to every program I install through the 'Ubuntu Software' app.
Try opening it through a terminal and see if you get any error messages. If you do post them using CODE tags.
Let me give you an example with two programs: eclipse and a random program called discographer. Neither work from a launch so I tried launching them from the command prompt:
Code:
rob@server038:~$ eclipse
Java HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize=256m; support was removed in 8.0
rob@server038:~$ discographer
cannot create user data directory: /home/rob/snap/discographer/1: Permission denied
rob@server038:~$ sudo discographer
[sudo] password for rob:
mkdir: cannot create directory '/run/user/0': Permission denied
No protocol specified
rob@bserver038:~$
Also, this doesn't happen for the discographer but when I run 'eclipse' I get the following error message pop-up:
Code:
An error has occurred. See the log file
/home/server.com/rob/.eclipse/155965261/configuration/1532539685664.log.
Yes, I have never been able to download from 'Ubuntu Software'. Instead I have to do apt-get or install from source. What I meant by: "this doesn't happen for the discographer" is that when I run: eclipse, from the terminal an actual message box pops up with an error:
Code:
An error has occurred. See the log file
/home/rob/.eclipse/155965261/configuration/1532545929099.log.
Whereas, when I run discographer the only error was the one shown on the previous post.
Here is a copy of the log file:
Code:
!SESSION 2018-07-25 13:12:09.049 -----------------------------------------------
eclipse.buildId=unknown
java.version=1.8.0_181
java.vendor=Oracle Corporation
BootLoader constants: OS=linux, ARCH=x86_64, WS=gtk, NL=en_US
Command-line arguments: -os linux -ws gtk -arch x86_64
!ENTRY org.eclipse.osgi 4 0 2018-07-25 13:12:09.235
!MESSAGE Application error
!STACK 1
java.lang.IllegalStateException: Unable to acquire application service. Ensure that the org.eclipse.core.runtime bundle is resolved and started (see config.ini).
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:74)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:353)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:180)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:629)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:584)
at org.eclipse.equinox.launcher.Main.run(Main.java:1438)
at org.eclipse.equinox.launcher.Main.main(Main.java:1414)
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.