LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 03-03-2022, 08:07 AM   #1
zdolar
Member
 
Registered: Jul 2009
Location: Slovenija
Distribution: Slackware
Posts: 187

Rep: Reputation: 40
Slackware64-15 KDE & Libreoffice slow start when root


Hi!

Slackware64-15 and current at some point with slackpkg upgrade made a root unusable on it.
When login as root and startx to KDE:
It takes 28 seconds to load KDE and then FIVE (5) minutes! to start LibreOffice-7.3 from Eric H.

On a contrary, when login non root user, start times are:
startx KDE - 4 seconds (10 times less)
LibreOffice 3 seconds (100 times less then as root!)

There is no difference in start times to start Chromium.
I've looked all log files, and there is nothing regarding slow down.
And a non root user I use is a root clone.

I do a lot root stuf on my machine, so I need it.

Any ideas?
 
Old 03-03-2022, 08:26 AM   #2
onebuck
Moderator
 
Registered: Jan 2005
Location: Central Florida 20 minutes from Disney World
Distribution: Slackware®
Posts: 13,931
Blog Entries: 45

Rep: Reputation: 3160Reputation: 3160Reputation: 3160Reputation: 3160Reputation: 3160Reputation: 3160Reputation: 3160Reputation: 3160Reputation: 3160Reputation: 3160Reputation: 3160
Member Response

Hi,

Why not use a virtual terminal in your user desktop and then 'su -i' to get root access and environment? No need to start a environment as root when you can use a vt in a user desktop to allow usage. I would still use caution when working with root but it's your choice not mine. I always use a vt and very rarely switch back to a root environment except in a vt. My initial setup is to boot then login as root to do regular maintenance then switch to another terminal and login as a user to start my desktop after local work has been done.

Just my way.
Hope this helps.
 
Old 03-03-2022, 08:35 AM   #3
burdi01
Member
 
Registered: Dec 2010
Location: The Netherlands
Distribution: Slackware Current64, PartedMagic, Xubuntu
Posts: 468

Rep: Reputation: 115Reputation: 115
Since some 20 years or so I login to Slackware Current64 (as well as other Linuxes and Unixes) as root and I never saw and do not see now such a slowdown when starting LibreOffice. As I run XFCE exclusively I assume something is wrong with your KDE.

Last edited by burdi01; 03-03-2022 at 08:38 AM.
 
Old 03-03-2022, 08:45 AM   #4
onebuck
Moderator
 
Registered: Jan 2005
Location: Central Florida 20 minutes from Disney World
Distribution: Slackware®
Posts: 13,931
Blog Entries: 45

Rep: Reputation: 3160Reputation: 3160Reputation: 3160Reputation: 3160Reputation: 3160Reputation: 3160Reputation: 3160Reputation: 3160Reputation: 3160Reputation: 3160Reputation: 3160
Member Response

Hi,

I just tested LibreOffice from a root vt environment from a KDE user desktop and it loaded in about 8 seconds.

Myself I see no need for root usage of an office environment but each to his/her own. I edit most of the time as root with vi.

Hope this helps.
 
Old 03-03-2022, 09:06 AM   #5
zdolar
Member
 
Registered: Jul 2009
Location: Slovenija
Distribution: Slackware
Posts: 187

Original Poster
Rep: Reputation: 40
Thanks all.

Confirmed - start nonroot kde, su in VT, then LibreOffice starts in seconds.
When xfce root, all starts fast including xfce.

Something wrong with KDE - nontoot is fast, root is 100 time slower regarding LibreOffice. Looks something obstruct root user starting KDE and applications.
Running KDE as non root is fast, so nothing is wrong with its installation.

Looks like I'll have to become accustomed to be nonroot an constantly su in VT. Frustrating.
 
Old 03-03-2022, 09:48 AM   #6
hitest
Guru
 
Registered: Mar 2004
Location: Canada
Distribution: Slackware, Void, Debian
Posts: 7,360

Rep: Reputation: 3758Reputation: 3758Reputation: 3758Reputation: 3758Reputation: 3758Reputation: 3758Reputation: 3758Reputation: 3758Reputation: 3758Reputation: 3758Reputation: 3758
In my opinion it is much safer to run a Slackware work station as a regular user. As onebuck stated if you need root privileges then open a terminal emulator like Konsole or xfce4-terminal and su to root.
 
1 members found this post helpful.
Old 08-10-2022, 04:20 AM   #7
zdolar
Member
 
Registered: Jul 2009
Location: Slovenija
Distribution: Slackware
Posts: 187

Original Poster
Rep: Reputation: 40
There is no delay starting LO as root at today updated Slackware64-current.
 
1 members found this post helpful.
Old 08-10-2022, 09:02 PM   #8
rkelsen
Senior Member
 
Registered: Sep 2004
Distribution: slackware
Posts: 4,506
Blog Entries: 7

Rep: Reputation: 2591Reputation: 2591Reputation: 2591Reputation: 2591Reputation: 2591Reputation: 2591Reputation: 2591Reputation: 2591Reputation: 2591Reputation: 2591Reputation: 2591
Why would you run LO as root? I'd advise not being so keen to give any program root privileges when it doesn't require them in normal operation. You're inviting trouble.
 
4 members found this post helpful.
Old 08-11-2022, 07:17 AM   #9
elcore
Senior Member
 
Registered: Sep 2014
Distribution: Slackware
Posts: 1,767

Rep: Reputation: Disabled
Note if you start X as root, everything started in your xsession is going to run as root including a web browser.
So, because of that little detail, a random website javascript can write to any file on your system.
I'd admire your bravery, but this is like trying to use a glass to hammer down a nail, i.e. it's doomed to failure.
 
3 members found this post helpful.
  


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] LibreOffice will not start and freezes KDE5 on slackware64-current doteer Slackware 3 03-13-2021 01:31 PM
[SOLVED] LibreOffice Writer can't start on Debian 9 but other LibreOffice apps work fine IsaacKuo Linux - Software 4 08-20-2017 12:45 AM
Phục hồi dữ liệu bị mất???, cứ pollsite General 1 06-27-2005 12:39 PM
Gotta love those ٱٱٱٱٱٱٱ&# iLLuSionZ Linux - General 5 11-18-2003 07:14 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 09:33 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