Author Topic: Applications failing to start  (Read 2605 times)

0 Members and 1 Guest are viewing this topic.

Offline eugen-b

  • Support Team
  • ****
  • Posts: 3191
  • Branch: testing
  • Desktop: LXDE, Fluxbox, JWM, LXQt, bspwm
  • GPU Card: Intel 82945G/GZ
  • GPU driver: free
  • Kernel: 4.5, 4.6
  • Skill: Intermediate
Re: Applications failing to start
« Reply #15 on: 08. January 2016, 11:02:49 »
@undeuchaeta, thank you for extensive testing! Other users with the same hardware will now be able to find your results and will know what edition will probably work on their machine. It is really s.th. which brings Linux forward right aftrer the great effort the devs make to make all this possible.
I would say that it is great that at least one OpenRC edition works for you. And it is likely that the Net OpenRC edition will work also.
So systemd did not consume your Notebook! ;)
« Last Edit: 08. January 2016, 11:04:40 by eugen-b »
MSI Wind Nettop, Intel Atom 230 1.6GHz (64bit), 2GB RAM
DEs: NET-minimal + (LXDE / Fluxbox / JWM); LXQt OpenRC
how to install on btrfs subvolumes
http://manjaro.github.io/donate/

Offline oberon

  • Core Team
  • *****
  • Posts: 3858
  • I'm nice. Be new!
  • Branch: unstable
  • Desktop: i3, Deepin, Cinnamon
  • GPU Card: Intel ValleyView Gen7
  • GPU driver: Intel
  • Kernel: 4.1 / 4.4
  • Skill: Intermediate
Re: Applications failing to start
« Reply #16 on: 08. January 2016, 12:17:59 »
On the other end it would still be great of course to find out what the differences are between the working xfce-openrc edition and the other ones... ;)
If you are still willing to try the latest fluxbox-build, linked in me other post, that would be great.
Also, we have a brandnew networkmanager-consolekit package in the unstable repo now.
It would be interesting if installing that makes a difference, too...: :)
Code: [Select]
sudo pacman -U http://repo.manjaro.org.uk/pool/overlay/networkmanager-consolekit-1.0.10-1-x86_64.pkg.tar.xz
manjaro is addictive ::)
* manjaro-i3  * manjaro-cinnamon  * manjaro-deepin

Offline oberon

  • Core Team
  • *****
  • Posts: 3858
  • I'm nice. Be new!
  • Branch: unstable
  • Desktop: i3, Deepin, Cinnamon
  • GPU Card: Intel ValleyView Gen7
  • GPU driver: Intel
  • Kernel: 4.1 / 4.4
  • Skill: Intermediate
Re: Applications failing to start
« Reply #17 on: 09. January 2016, 13:03:29 »
Meanwhile we have an even never version:
Code: [Select]
sudo pacman -U http://repo.manjaro.org.uk/pool/overlay/networkmanager-consolekit-1.0.10-2-x86_64.pkg.tar.xz
« Last Edit: 09. January 2016, 13:19:50 by oberon »
manjaro is addictive ::)
* manjaro-i3  * manjaro-cinnamon  * manjaro-deepin

Offline undeuchaeta

  • Neuling
  • *
  • Posts: 15
  • I'm new. Be nice!
  • Skill: Advanced
Re: Applications failing to start
« Reply #18 on: 09. January 2016, 23:35:37 »
No bother at all oberon, happy to be of assistance! I hope that we can resolve this.

I downloaded the testing iso but unfortunately the behaviour is the same as I have described above. To summarize:

After installing and a restart, I can open all applications from the dock and from the menu. If I use NetworkManager to connect to the wifi, I can continue to open applications until I restart the machine. After that neither the menu or the dock will start applications with three exceptions:

(Menu) Customization -> Dock  will open this dialog box.
(Menu) Tools -> Settings -> Firewall Configuration and Tools -> Settings -> Manjaro Settings Manager open authentication dialogs but then nothing.

All my installs have been native installs, I have not been using virtual machines.

@withjaro, thanks for your response. At the risk of forking my own thread, which notebook do you use? I am looking to buy a new machine - I have never had problems with Thinkpads until now.

Cheers,
Bill

Offline undeuchaeta

  • Neuling
  • *
  • Posts: 15
  • I'm new. Be nice!
  • Skill: Advanced
Re: Applications failing to start
« Reply #19 on: 09. January 2016, 23:57:56 »
Sorry folks I wrote my last post without reading the last three posts from eugen-b and oberon!

So I have just
1. Re-installed the testing version and re-booted.
2. Connected to the wifi and installed the latest networkmanager-consolekit package.
3. Restarted the machine.

Unfortunately the behaviour is the same.

Thanks for your comments @eugen-b, what I have done is nothing compared to the work of the devs, but I agree that the community is what maked Linux! I does worry me that systemd is so pervasive, though.

Cheers,
Bill

Offline boruch

  • Jr. Mitglied
  • **
  • Posts: 85
  • Skill: Intermediate
Re: Applications failing to start
« Reply #20 on: 11. January 2016, 18:23:57 »
Hi. I'm a visitor from your sister i3/openrc community edition. Oberon pointed me here after I posted that I had similar problems, and traced it back to a setting in NetworkManager.

In my case, the trouble correlates to setting NM to auto-connect to a wireless network (I didin't test wired). It interfered with the start up of other services / programs. When I toggled auto-connect off, the symptoms all cleared up, and problems solved.

Do you all have an access point set to auto-connect?

Offline oberon

  • Core Team
  • *****
  • Posts: 3858
  • I'm nice. Be new!
  • Branch: unstable
  • Desktop: i3, Deepin, Cinnamon
  • GPU Card: Intel ValleyView Gen7
  • GPU driver: Intel
  • Kernel: 4.1 / 4.4
  • Skill: Intermediate
manjaro is addictive ::)
* manjaro-i3  * manjaro-cinnamon  * manjaro-deepin

Offline oberon

  • Core Team
  • *****
  • Posts: 3858
  • I'm nice. Be new!
  • Branch: unstable
  • Desktop: i3, Deepin, Cinnamon
  • GPU Card: Intel ValleyView Gen7
  • GPU driver: Intel
  • Kernel: 4.1 / 4.4
  • Skill: Intermediate
Re: Applications failing to start
« Reply #22 on: 12. January 2016, 17:17:34 »
@undeuchaeta Do you only have the issue after rebooting? Re-logging is not enough? In that case my experiment would not prove anything of course. What about a LAN connection? Is that also triggering the problem? That should be reproduceable in virtualbox ...
I will try another hard install on another machine here ....
manjaro is addictive ::)
* manjaro-i3  * manjaro-cinnamon  * manjaro-deepin

Offline undeuchaeta

  • Neuling
  • *
  • Posts: 15
  • I'm new. Be nice!
  • Skill: Advanced
Re: Applications failing to start
« Reply #23 on: 13. January 2016, 05:37:03 »
Sorry folks, I got distracted by work...

@boruch: Brilliant idea, and it works, mostly, ... Here is what I did:

1. Re-install (manjaro fluxbox openrc 15.12 64bit)

2. Re-boot and use NetworkManager to connect to the WiFi ... and here is the trick: As soon as NM connects to the WiFi, I cannot open any applications including starting the "Edit Connections" dialog in nm-applet! So, I type in my WiFi passwd and then get the "Edit Connections" dialog open BEFORE the machine connects to the WiFi! That way I can toggle off the auto-connect.
The first time I did this I could then open applications (without restart), the second time I could not.

3. But either way, after a restart I can open applications both before and after connecting to the WiFi.

So your suggestion works. Curious stuff! But I think this is more of a workaround than a solution.


@oberon, to answer your questions:

"Do you only have the issue after rebooting?" - No, as soon as I am connected to the WiFi I cannot start applications. I have to shutdown from another tty as I cannot start oblogout.

"Re-logging is not enough?" - After a re-install, and again a matter of logging out before NM connects! On logging back in I could not start any applications.

"What about a LAN connection?" - The same symptoms.

"That should be reproduceable in virtualbox ... " - Using Oracle VirtualBox on a Xubuntu installation on the same Lenovo Thinkpad T400 that I have been using: All works fine, it connects to the VB network and everything works before and after reboots.


So it seems that as soon as I use NetworkManager to connect to WiFi or Ethernet in a native install I cannot start applications from the dock or menu before or after reboots. This is the same for Thinkpads T400 and X200s.


Next thing to try is wicd - I could re-install, connect to network then use a tty to install wicd and purge NetworkManager. Any hints on doing this?

Cheers,
Bill

Offline undeuchaeta

  • Neuling
  • *
  • Posts: 15
  • I'm new. Be nice!
  • Skill: Advanced
Re: Applications failing to start
« Reply #24 on: 18. January 2016, 03:26:28 »
I have not really solved this issue but my work-around is to use wicd instead of NetworkManager:

1. Install Manjaro Fluxbox OpenRC

2. Re-boot and start your xterm in case it will not start after connecting to the Internet (this is inconsistent)

3. Use NetworkManager to connect to the Internet

4. Update your system then replace NetworkManager with wicd:

As root user:

# update (note that you will probably get "unable to lock database" errors as Manjaro checks for updates after login...patience, this takes a minute ot two.)
Code: [Select]
pacman -Syu
# install wicd
Code: [Select]
pacman -Sy wicd wicd-gtk wicd-openrc
# stop the NetworkManager process
Code: [Select]
/etc/init.d/NetworkManager stop
/etc/init.d/dhcpcd stop

# remove NetworkManager from default run level
Code: [Select]
rc-update delete NetworkManager default
rc-update delete dhcpcd default

# start the wicd process
Code: [Select]
/etc/init.d/wicd start
# add wicd to the default run level
Code: [Select]
rc-update add wicd default
# add yourself to the users group so that you can use the wicd GUI
Code: [Select]
gpasswd -a YOUR_USER_NAME users
As normal user

# edit Fluxbox system tray
Code: [Select]
mousepad ~/.fluxbox/startup
# replace
nm-applet &
with
wicd-client -t &
     (note the -t flag means "run the wicd tray icon only" - otherwise the wicd dialog opens when you login.)

5. Re-boot your machine

6. Click on the network icon in your system tray to use wicd to connect to Internet

7. Re-boot to test!

I am now running the beautiful Manjaro Fluxbox OpenRC edition with no problems!

Cheers, Bill
« Last Edit: 18. January 2016, 03:31:38 by undeuchaeta »

Offline simgin

  • Held Mitglied
  • *****
  • Posts: 774
  • Branch: All.
  • Desktop: XFCE+Alpine Linux, Mate+Fedora, Ubuntu Server + Mate and NoX+LinuxBBQ
  • GPU Card: GeForce 8600M & GT 555M 2GB
  • Skill: Intermediate
Re: Applications failing to start
« Reply #25 on: 18. January 2016, 04:01:44 »
^ Have you or are you doing QA, Bill? It is just the way you are describing the issue, i like it :)


cheerio
simon

Offline eugen-b

  • Support Team
  • ****
  • Posts: 3191
  • Branch: testing
  • Desktop: LXDE, Fluxbox, JWM, LXQt, bspwm
  • GPU Card: Intel 82945G/GZ
  • GPU driver: free
  • Kernel: 4.5, 4.6
  • Skill: Intermediate
Re: Applications failing to start
« Reply #26 on: 18. January 2016, 10:56:51 »
That's a great post about how to set up wicd! It definitely belongs into the Wiki, because it is basic knowledge which is nevertheless hard to find. (Arch describes this only for systemd.)
MSI Wind Nettop, Intel Atom 230 1.6GHz (64bit), 2GB RAM
DEs: NET-minimal + (LXDE / Fluxbox / JWM); LXQt OpenRC
how to install on btrfs subvolumes
http://manjaro.github.io/donate/

Offline oberon

  • Core Team
  • *****
  • Posts: 3858
  • I'm nice. Be new!
  • Branch: unstable
  • Desktop: i3, Deepin, Cinnamon
  • GPU Card: Intel ValleyView Gen7
  • GPU driver: Intel
  • Kernel: 4.1 / 4.4
  • Skill: Intermediate
Re: Applications failing to start
« Reply #27 on: 18. January 2016, 11:13:53 »
Brilliant! Thank you so much :)
manjaro is addictive ::)
* manjaro-i3  * manjaro-cinnamon  * manjaro-deepin

Offline undeuchaeta

  • Neuling
  • *
  • Posts: 15
  • I'm new. Be nice!
  • Skill: Advanced
Re: Applications failing to start
« Reply #28 on: 19. January 2016, 20:57:10 »
@eugen-b and @oberon, thanks, I will create a Wiki page if I can get access. Which section of the Wiki do you suggest it should it be in?

@simgin, Thanks for the comment, I am not involved in QA at the moment! I am currently an academic working as a data analyst in ecology, but in a previous career I worked in IT as a programmer and UNIX admin where I did write some documentation.

Cheers, Bill
« Last Edit: 19. January 2016, 20:59:00 by undeuchaeta »