LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 08-31-2019, 04:10 PM   #16
MadeInGermany
Senior Member
 
Registered: Dec 2011
Location: Simplicity
Posts: 2,832

Rep: Reputation: 1219Reputation: 1219Reputation: 1219Reputation: 1219Reputation: 1219Reputation: 1219Reputation: 1219Reputation: 1219Reputation: 1219

Code:
Has /tmp the correct permissions and is there some free space?
ls -ld /tmp
df /tmp
 
Old 08-31-2019, 09:00 PM   #17
EigenFunctions
Member
 
Registered: Jul 2014
Distribution: Ubuntu 18.04 LTS
Posts: 107

Original Poster
Rep: Reputation: Disabled
The results:
Quote:
$ ls -ld /tmp
drwxrwxrwt 23 root root 12288 Aug 31 21:55 /tmp
Quote:
$ df /tmp
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/sda2 959863856 90224780 820810868 10% /
I don't know about the permissions, but it looks like only 10% of the HDD is in use.

Let me know if there is any other information I can provide.
 
Old 09-01-2019, 02:09 AM   #18
MadeInGermany
Senior Member
 
Registered: Dec 2011
Location: Simplicity
Posts: 2,832

Rep: Reputation: 1219Reputation: 1219Reputation: 1219Reputation: 1219Reputation: 1219Reputation: 1219Reputation: 1219Reputation: 1219Reputation: 1219
Permissions are okay.
 
Old 09-01-2019, 07:21 AM   #19
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 19,872
Blog Entries: 12

Rep: Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053
We're still troubleshooting.
Please do not use AOO for troubleshooting since it's not officially supported by Ubuntu.

Please try to use terminal tools:
Code:
htop
dmesg -w
journalctl -f
to see what is happening during those overly long application starts.

And like I said, do it for firefox or anything except AOO.

Come to think of it, how did you install it?
Also output of
Code:
sudo apt update
please.
 
Old 09-06-2019, 05:54 AM   #20
EigenFunctions
Member
 
Registered: Jul 2014
Distribution: Ubuntu 18.04 LTS
Posts: 107

Original Poster
Rep: Reputation: Disabled
Sorry, somehow I missed your post until now.
I had to install htop.
The results of dmsg -w are big and in the attached file.
Some of what I see I will try to fix:
Quote:
[ 11.593436] systemd[1]: Configuration file /etc/systemd/system/snap-gnome\x2dlogs-45.mount is marked executable. Please remove executable permission bits. Proceeding anyway.
[ 11.661605] systemd[1]: Configuration file /etc/systemd/system/snap-gnome\x2dcalculator-260.mount is marked executable. Please remove executable permission bits. Proceeding anyway.
I started "journalctl" then started "chrome":
Quote:
$ journalctl -f
-- Logs begin at Mon 2019-05-13 04:53:09 EDT. --
Sep 06 06:44:03 tarsus org.gnome.Nautilus[2486]: label=SEPARATOR)
Sep 06 06:44:03 tarsus org.gnome.Nautilus[2486]: NameError: global name 'SEPARATOR' is not defined
Sep 06 06:44:03 tarsus org.gnome.Nautilus[2486]: RuntimeError: object at 0x7fa3fde77500 of type CopyPasteImagesMenuProvider is not initialized
Sep 06 06:44:03 tarsus org.gnome.Nautilus[2486]: Traceback (most recent call last):
Sep 06 06:44:03 tarsus org.gnome.Nautilus[2486]: File "/usr/share/nautilus-python/extensions/nautilus-copypaste-images.py", line 101, in get_file_items
Sep 06 06:44:03 tarsus org.gnome.Nautilus[2486]: if self.all_files_are_images(sel_items):
Sep 06 06:44:03 tarsus org.gnome.Nautilus[2486]: File "/usr/share/nautilus-python/extensions/nautilus-copypaste-images.py", line 82, in all_files_are_images
Sep 06 06:44:03 tarsus org.gnome.Nautilus[2486]: if fileExtension.lower() not in EXTENSIONS:
Sep 06 06:44:03 tarsus org.gnome.Nautilus[2486]: NameError: global name 'EXTENSIONS' is not defined
Sep 06 06:44:03 tarsus org.gnome.Nautilus[2486]: RuntimeError: object at 0x7fa3fde77500 of type CopyPasteImagesMenuProvider is not initialized
Sep 06 06:45:01 tarsus cron[980]: (*system*) INSECURE MODE (group/other writable) (/etc/crontab)
Sep 06 06:45:01 tarsus cron[980]: (*system*anacron) INSECURE MODE (group/other writable) (/etc/cron.d/anacron)
Sep 06 06:45:01 tarsus cron[980]: (*system*popularity-contest) INSECURE MODE (group/other writable) (/etc/cron.d/popularity-contest)
Sep 06 06:45:11 tarsus org.gnome.Nautilus[2486]: Traceback (most recent call last):
Sep 06 06:45:11 tarsus org.gnome.Nautilus[2486]: File "/usr/share/nautilus-python/extensions/nautilus-copypaste-images.py", line 118, in get_file_items
Sep 06 06:45:11 tarsus org.gnome.Nautilus[2486]: label=SEPARATOR)
Sep 06 06:45:11 tarsus org.gnome.Nautilus[2486]: NameError: global name 'SEPARATOR' is not defined
Sep 06 06:45:11 tarsus org.gnome.Nautilus[2486]: RuntimeError: object at 0x7fa3fde77500 of type CopyPasteImagesMenuProvider is not initialized
Sep 06 06:45:31 tarsus org.gnome.Shell.desktop[2650]: [5796:5796:0906/064531.934746:ERRORrocess_singleton_posix.cc(281)] Failed to create /home/ldurfee/.config/google-chrome/SingletonLock: File exists (17)
Sep 06 06:45:33 tarsus org.gnome.Shell.desktop[2650]: [5869:5869:0906/064533.210761:ERROR:sandbox_linux.cc(369)] InitializeSandbox() called with multiple threads in process gpu-process.
Sep 06 06:45:33 tarsus org.gnome.Shell.desktop[2650]: [5868:5868:0906/064533.210776:ERROR:sandbox_linux.cc(369)] InitializeSandbox() called with multiple threads in process gpu-process.
Sep 06 06:45:35 tarsus gnome-keyring-daemon[2449]: asked to register item /org/freedesktop/secrets/collection/login/3, but it's already registered
Sep 06 06:45:36 tarsus org.gnome.Shell.desktop[2650]: [5796:5835:0906/064536.488612:ERROR:browser_process_sub_thread.cc(203)] Waited 3 ms for network service
Sep 06 06:45:36 tarsus org.gnome.Shell.desktop[2650]: Opening in existing browser session.
Sep 06 06:45:37 tarsus org.gnome.Shell.desktop[2650]: [5869:5869:0906/064537.847625:ERROR:buffer_manager.cc(488)] [.DisplayCompositor]GL ERROR :GL_INVALID_OPERATION : glBufferData: <- error from previous GL command
Sep 06 06:45:37 tarsus org.gnome.Shell.desktop[2650]: [5869:5869:0906/064537.862041:ERROR:buffer_manager.cc(488)] [.DisplayCompositor]GL ERROR :GL_INVALID_OPERATION : glBufferData: <- error from previous GL command
Sep 06 06:45:38 tarsus gnome-keyring-daemon[2449]: asked to register item /org/freedesktop/secrets/collection/login/3, but it's already registered
Sep 06 06:46:01 tarsus cron[980]: (*system*) INSECURE MODE (group/other writable) (/etc/crontab)
Sep 06 06:46:01 tarsus cron[980]: (*system*anacron) INSECURE MODE (group/other writable) (/etc/cron.d/anacron)
Sep 06 06:46:01 tarsus cron[980]: (*system*popularity-contest) INSECURE MODE (group/other writable) (/etc/cron.d/popularity-contest)
I hope that helps.
Attached Files
File Type: txt 2019-09-06 dmsg -h.txt (67.7 KB, 10 views)
 
Old 09-06-2019, 06:35 AM   #21
EigenFunctions
Member
 
Registered: Jul 2014
Distribution: Ubuntu 18.04 LTS
Posts: 107

Original Poster
Rep: Reputation: Disabled
Removed executable permissions on four (4) files-

Quote:
/etc/systemd/journald.conf
/etc/systemd/system.conf
/etc/systemd/system/snap-gnome\x2dlogs-45.mount
/etc/systemd/system/snap-gnome\x2dcalculator-260.mount
This was based on comments in the dmsg -w output.
 
Old 09-06-2019, 06:50 AM   #22
EigenFunctions
Member
 
Registered: Jul 2014
Distribution: Ubuntu 18.04 LTS
Posts: 107

Original Poster
Rep: Reputation: Disabled
Originally (11/2018), I uninstalled LibreOffice and AOO was installed from
Quote:
Apache_OpenOffice_4.1.5_Linux_x86_install-deb_en-US.tar.gz
I have been using AOO for over 12 years now and I like it. It has problems but I've developed/discovered work arounds that are good.

I think it needs to be updated, but the automatic updates are broken. I'm concerned that if I update with a tar.gz file, my customization's will be lost.

For now, I have much higher priority tasks to attend to.
 
Old 09-06-2019, 07:14 AM   #23
EigenFunctions
Member
 
Registered: Jul 2014
Distribution: Ubuntu 18.04 LTS
Posts: 107

Original Poster
Rep: Reputation: Disabled
For a few hours after booting, programs launched normally. After that, launches were slow. I tried to capture an htop screen when I launched Firefox and one is attached.
Attached Thumbnails
Click image for larger version

Name:	2019-09-06 Starting firefox.png
Views:	22
Size:	188.2 KB
ID:	31306  
 
Old 09-06-2019, 11:31 AM   #24
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 19,872
Blog Entries: 12

Rep: Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053
^ well that screenshot is pretty clear about what is eating your resources - gnome-shell.

Quote:
Originally Posted by EigenFunctions View Post
Code:
/etc/systemd/system/snap-gnome\x2dlogs-45.mount
/etc/systemd/system/snap-gnome\x2dcalculator-260.mount
Did you install the whole gnome desktop as a snap??? :gasp:

I also see runtime errors in your journalctl output, looks serious to my layman's eyes.
 
Old 09-06-2019, 01:33 PM   #25
EigenFunctions
Member
 
Registered: Jul 2014
Distribution: Ubuntu 18.04 LTS
Posts: 107

Original Poster
Rep: Reputation: Disabled
The only record (my records) I have of anything to do with gnome-shell is that I installed:
Quote:
sudo apt-get install chrome-gnome-shell
Probably something requested when the chrome browser was installed.
 
Old 09-06-2019, 04:47 PM   #26
Samsonite2010
Member
 
Registered: Apr 2015
Distribution: Debian
Posts: 267
Blog Entries: 1

Rep: Reputation: 117Reputation: 117
I was wondering about snaps too - some oddly important config files running from snapd directories - that is one reason I moved from Ubuntu to Debian because snap versions of the software were taking much longer to start up (even on fairly cutting edge hardware).
 
1 members found this post helpful.
Old 09-06-2019, 05:50 PM   #27
EigenFunctions
Member
 
Registered: Jul 2014
Distribution: Ubuntu 18.04 LTS
Posts: 107

Original Poster
Rep: Reputation: Disabled
What I don't understand is why it works with good speed and then, sometime later (w/ or w/o activity), starts to sloooooow down.
 
Old 09-07-2019, 01:23 AM   #28
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 19,872
Blog Entries: 12

Rep: Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053
Quote:
Originally Posted by EigenFunctions View Post
The only record (my records) I have of anything to do with gnome-shell is that I installed:

Probably something requested when the chrome browser was installed.
So you aren't even running gnome? Well then the solution would seem very clear to me... uninstall gnome-shell. Because that's what's eating your CPU. Also uninstall snap/snapd while you're at it.
 
Old 09-07-2019, 09:11 AM   #29
EigenFunctions
Member
 
Registered: Jul 2014
Distribution: Ubuntu 18.04 LTS
Posts: 107

Original Poster
Rep: Reputation: Disabled
First I did this:
Code:
sudo chmod -x /etc/systemd/journald.conf
sudo chmod -x /etc/systemd/system.conf
sudo chmod -x /etc/systemd/system/snap-gnome\\x2dlogs-45.mount
sudo chmod -x /etc/systemd/system/snap-gnome\\x2dcalculator-260.mount
# --------------------------------- verify
ls -l /etc/systemd/journald.conf
ls -l /etc/systemd/system.conf
ls -l /etc/systemd/system/snap-gnome\\x2dlogs-45.mount
ls -l /etc/systemd/system/snap-gnome\\x2dcalculator-260.mount
It didn't seem to do any good. But then, I found I couldn't print at all! I would get either no message (AOO) or this cryptic error message (qpdfview), see attached ("Print err msg 2019-09-07.png").

So then, I undid the changes:
Code:
sudo chmod +x /etc/systemd/journald.conf
sudo chmod +x /etc/systemd/system.conf
sudo chmod +x /etc/systemd/system/snap-gnome\\x2dlogs-45.mount
sudo chmod +x /etc/systemd/system/snap-gnome\\x2dcalculator-260.mount
# --------------------------------- verify
ls -l /etc/systemd/journald.conf
ls -l /etc/systemd/system.conf
ls -l /etc/systemd/system/snap-gnome\\x2dlogs-45.mount
ls -l /etc/systemd/system/snap-gnome\\x2dcalculator-260.mount
It had no effect even after a reboot.

Based on your message:
Code:
sudo apt-get purge gnome
sudo apt-get autoremove
I can print again! I had to go into CUPS (which now responds much, much faster) and make the printer the default (I don't know why I had to do that). I still can't select paper size or select the MP slot, but I have a work around for those.

I'll have to wait awhile to find out if there will be a slow down.

In any event -- Thanks a Bunch!!!
Attached Thumbnails
Click image for larger version

Name:	Print err msg 2019-09-07.png
Views:	10
Size:	14.8 KB
ID:	31314  
 
Old 09-07-2019, 12:13 PM   #30
EigenFunctions
Member
 
Registered: Jul 2014
Distribution: Ubuntu 18.04 LTS
Posts: 107

Original Poster
Rep: Reputation: Disabled
Alas, I am back where I started: CUPS is slow again, printing is slow again and launching programs is slow again. It worked great for awhile, but after some time, it all slows down again.

How do I
Quote:
uninstall snap/snapd
as you suggested?
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Qpdfview: I'm confused by the page numbering newbiesforever Linux - Software 1 08-26-2017 11:30 AM
[SOLVED] Changing shortcut keys for gedit using /.config/gedit/accels has no impact in program charlemagne-is-my-son Linux - Software 1 12-16-2014 08:16 AM
Gnome 3, Gedit 3.0.5, when I open file with gedit, it created one more unneeded tab Mr. Alex Linux - Software 1 06-18-2011 07:58 AM
Can't launch gedit as root in Fedora 11 karuna-bdc Linux - Newbie 9 07-05-2009 11:09 PM
Openoffice - loads in 3-4 secs (1st boot)!!! lets-eat-gary Linux - Software 1 10-12-2005 01:22 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 02:58 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration