You are Here:
Linux Lite 7.0 RC1 Released - See Release Announcement Section



Linux Lite 7.0 RC1 Released

Author (Read 8741 times)

0 Members and 83 Guests are viewing this topic.

Re: Linux Lite 7.0 RC1 Released
« Reply #27 on: May 12, 2024, 04:07:37 AM »
 

sqwuade

  • New to Forums
  • *
  • 32
    Posts
  • Reputation: 3
  • Linux Lite Member
    • View Profile

  • CPU: Linux Lite Server = Xeon(R) CPU E3-1270 v5 @ 3.60GHz

  • MEMORY: 16Gb

  • VIDEO CARD: Yes

  • Kernel: 6.x
I've made significant progress on the "Lite Tweaks" issue.  My first two theories (.rules vs .pkla polkit-1 and Zenity 3.44 not being compatible) are out the window!

Here's something that at least allows the tweaks to work, although it introduced a new issue, because, once you apply this change, even though all of the Lite Tweaks now work, you will get stuck in an infinite loop, where you can't exit the main window, and have to kill the zenity process manually.

So here it is;

Open the file
/usr/bin/lite-tweaks
and on line 786 change the operator "-ne" to "-eq"

I.e. change:
if [ "${PIPESTATUS[0]}" -ne "0" ]; then _clean_up; exit 0 ; fi # If Quit is clicked then exit

so it becomes:
if [ "${PIPESTATUS[0]}" -eq "0" ]; then _clean_up; exit 0 ; fi # If Quit is clicked then exit

Then try and run Lite Tweaks again and it should work for you...  That is until you try to close it!  That's where it gets stuck in the infinite loop.

A lot of great info on this page: https://linux.die.net/man/1/bash

That's where I found the info on the different operators.

arg1 OP arg2
    OP is one of -eq, -ne, -lt, -le, -gt, or -ge. These arithmetic binary operators return true if arg1 is equal to, not equal to, less than, less than or equal to, greater than, or greater than or equal to arg2, respectively. Arg1 and arg2 may be positive or negative integers.

Info on the PIPESTATUS arrays:
https://linuxsimply.com/bash-scripting-tutorial/process-and-signal-handling/exit-codes/pipestatus/

Cheers!  Sqwuade
« Last Edit: May 12, 2024, 08:52:37 AM by sqwuade »
 

Re: Linux Lite 7.0 RC1 Released
« Reply #26 on: May 10, 2024, 11:58:37 AM »
 

sqwuade

  • New to Forums
  • *
  • 32
    Posts
  • Reputation: 3
  • Linux Lite Member
    • View Profile

  • CPU: Linux Lite Server = Xeon(R) CPU E3-1270 v5 @ 3.60GHz

  • MEMORY: 16Gb

  • VIDEO CARD: Yes

  • Kernel: 6.x
I tried "sudo apt install openssh-server" first thing with a fresh install of LL7-RC1 and got "openssh-server is already the newest version (1:9.6p1-3ubuntu13).  It's not working for me...  I've installed and run ssh servers many times before.  Usually I just run "apt install ssh" to install the server and "service ssh status" etc. to check on it.  When I run "service ssh status" I get:

Job for ssh.service failed because the control process exited with error code.  See "systemctl status ssh.service" and "journalctl -xeu ssh.service" for details.

I even downloaded a fresh copy of the ISO to install from.  It works fine in LL6.6, Xubuntu and Debian etc.
« Last Edit: May 10, 2024, 09:23:21 PM by sqwuade »
 

Re: Linux Lite 7.0 RC1 Released
« Reply #25 on: May 10, 2024, 10:26:09 AM »
 

sqwuade

  • New to Forums
  • *
  • 32
    Posts
  • Reputation: 3
  • Linux Lite Member
    • View Profile

  • CPU: Linux Lite Server = Xeon(R) CPU E3-1270 v5 @ 3.60GHz

  • MEMORY: 16Gb

  • VIDEO CARD: Yes

  • Kernel: 6.x
I've been doing more research on the "Lite-Tweaks" issue and the problem could be related to the 3.44 version of zenity not having the "WebKit" option enabled/compiled into the binary any longer (LL6.6 had zenity 3.42.1, which was before the change).

Some info from the zenity Change log page:

3.44.0-2
Superseded in mantic-release on 2023-07-18
Deleted in mantic-proposed on 2023-07-20 (Reason: Moved to mantic)

zenity (3.44.0-2) experimental; urgency=medium

  * Team upload
  * d/control.in, d/rules: Disable WebKit integration (--html option).
    This adds several "heavy" dependencies, notably WebKit itself, but
    also video and spellchecking among others, which are undesired for
    a simple interactive dialog.
    The WebKit feature is disabled by default upstream, and several
    major distributions (including at least the Fedora/Red Hat family,
    Arch and openSUSE) don't enable it in their packaging, so portable
    software cannot rely on this option being available. According to
    codesearch.debian.net, none of the packages with a dependency on
    zenity use the --html option.
    The beginning of the Debian 13 cycle seems a good time to make this
    sort of potentially disruptive change; most likely nobody will notice
    this feature going away, but if we get bug reports, we can consider
    other options such as having a zenity-minimal package without HTML
    support, or having a zenity-full package with it.
    (Closes: #777608, #942362)
  * d/control.in: Remove version constraints in Build-Depends unnecessary
    since bullseye (oldstable)
    - libgtk-3-dev
    - libnotify-dev
    - meson

Source: https://launchpad.net/ubuntu/+source/zenity/+changelog

As a test, try running this script in a terminal on LL7, then try it on LL6.6:

"echo "hello world" | zenity --text-info --html --filename=/dev/stdin"

I got that info here: https://bugzilla.redhat.com/show_bug.cgi?id=1141802


 

Re: Linux Lite 7.0 RC1 Released
« Reply #24 on: May 10, 2024, 10:16:51 AM »
 

sqwuade

  • New to Forums
  • *
  • 32
    Posts
  • Reputation: 3
  • Linux Lite Member
    • View Profile

  • CPU: Linux Lite Server = Xeon(R) CPU E3-1270 v5 @ 3.60GHz

  • MEMORY: 16Gb

  • VIDEO CARD: Yes

  • Kernel: 6.x
I'll give it another try Trinidad.  I did try it a couple times with LL7 in live mode and it wouldn't work.  I've always just run "apt install ssh" and that would setup the server.  I think the client is enabled out-of-the-box.
 

Re: Linux Lite 7.0 RC1 Released
« Reply #23 on: May 10, 2024, 09:10:40 AM »
 

trinidad

  • Platinum Level Poster
  • **********
  • 1482
    Posts
  • Reputation: 214
  • Linux Lite Member
    • View Profile
    • dbts-analytics.com

  • CPU: i7 4 cores 8 threads

  • MEMORY: 16Gb

  • VIDEO CARD: Intel HD graphics

  • Kernel: 5.x
Quote
SSH doesn't appear to be working/installing correctly in LL7

Works fine for me, and it's openssh not ssh. LL comes with the openssh client installed already. You just have to add openssh server and sftp server.
TC
All opinions expressed and all advice given by Trinidad Cruz on this forum are his responsibility alone and do not necessarily reflect the views or methods of the developers of Linux Lite. He is a citizen of the United States where it is acceptable to occasionally be uninformed and inept as long as you pay your taxes.
 

Re: Linux Lite 7.0 RC1 Released
« Reply #22 on: May 10, 2024, 07:19:09 AM »
 

sqwuade

  • New to Forums
  • *
  • 32
    Posts
  • Reputation: 3
  • Linux Lite Member
    • View Profile

  • CPU: Linux Lite Server = Xeon(R) CPU E3-1270 v5 @ 3.60GHz

  • MEMORY: 16Gb

  • VIDEO CARD: Yes

  • Kernel: 6.x
SSH doesn't appear to be working/installing correctly in LL7.  I've always installed in the past with "apt install ssh".  I've confirmed it installs w/o issue that way with a live version of LL6.6 (UEFI) but I've tried several times with LL7 and it doesn't install correctly.
I also tested on a live version of the new Xubuntu (24.04) and it does install and work correctly with "apt install ssh" on that distro.
« Last Edit: May 10, 2024, 07:21:11 AM by sqwuade »
 

Re: Linux Lite 7.0 RC1 Released
« Reply #21 on: May 10, 2024, 02:00:27 AM »
 

sqwuade

  • New to Forums
  • *
  • 32
    Posts
  • Reputation: 3
  • Linux Lite Member
    • View Profile

  • CPU: Linux Lite Server = Xeon(R) CPU E3-1270 v5 @ 3.60GHz

  • MEMORY: 16Gb

  • VIDEO CARD: Yes

  • Kernel: 6.x
That makes sense.  I'll bet you're right and those "PERCENTAGE = (100 \* ${i} ) / ${TOTAL_LINES}" parts are to show progress bars leading up to 100%.
 

Re: Linux Lite 7.0 RC1 Released
« Reply #20 on: May 09, 2024, 08:58:57 AM »
 

Şerban S.

  • Şerban
  • PayPal Supporter
  • I come here a lot
  • *****
  • 385
    Posts
  • Reputation: 20
  • Linux Lite Member
    • View Profile
    • Forum

  • CPU: Intel® Core™ i7-4790

  • MEMORY: 16Gb

  • VIDEO CARD: Intel® HD Graphics 4600 + NVidia GK107 (GeForce GT630 OEM)

  • Kernel: 5.x
[...] What if you make that change on a system where the Lite-Tweaks works, like 6.6?

It doesn't. That is the problem.
It didn't on LL 6.4, and it still doesn't.
Anyway, it seems that it only affects the way the progress of the current task is displayed in the message box that appears.
So, with or without this string formatting error, the script does what is supposed to do: removes something or whatever the current task is.
The only approach to Lite Tweaks is see if the error comes from the upstream packages. It seems that this is the case.
"It's easy to die for an idea. It's way harder TO LIVE for your idea!"
Current Machine:
 Dell Precision T1700, 16 GB RAM, SSD Kingston A400, 480 GB.
Laptop:
 ASUS X200MA , Intel® Celeron® N2830, 2 GB RAM, SSD Kingston A400, 480 GB.
 

Re: Linux Lite 7.0 RC1 Released
« Reply #19 on: May 09, 2024, 07:22:57 AM »
 

sqwuade

  • New to Forums
  • *
  • 32
    Posts
  • Reputation: 3
  • Linux Lite Member
    • View Profile

  • CPU: Linux Lite Server = Xeon(R) CPU E3-1270 v5 @ 3.60GHz

  • MEMORY: 16Gb

  • VIDEO CARD: Yes

  • Kernel: 6.x
Interesting Serban.  Did this change make any difference?  What if you make that change on a system where the Lite-Tweaks works, like 6.6?

Code: [Select]
  ( PERCENTAGE = (100 \* ${i} ) / ${TOTAL_LINES} )
As you can see, I moved the inner brackets to enclose the computation of the integer value of the number of lines, which is a runtime value.
But this has logic for me.
I'm curious if that checks though.
 

Re: Linux Lite 7.0 RC1 Released
« Reply #18 on: May 09, 2024, 07:12:51 AM »
 

Şerban S.

  • Şerban
  • PayPal Supporter
  • I come here a lot
  • *****
  • 385
    Posts
  • Reputation: 20
  • Linux Lite Member
    • View Profile
    • Forum

  • CPU: Intel® Core™ i7-4790

  • MEMORY: 16Gb

  • VIDEO CARD: Intel® HD Graphics 4600 + NVidia GK107 (GeForce GT630 OEM)

  • Kernel: 5.x
[...] The "Lite Welcome" app (Similar in appearance to Lite-Tweaks) seems to be working fine in LL7 [...]

That is what I could see, too. Have to recheck it though. But so far, I can confirm.

[...] There were a lot of security changes in Ubuntu 24.04: [...]

As I said, I'm far from what you might call "programmer". Still, from my experience, the mess is generated by some user rights management.
Since policy has changed, it's difficult to know all implications on the old code.
Given the fact that the classes are based on inheritance, an error that never became obvious in the old code, might now lead to such results.
Here is one example: Line 1089, lite-tweaks-super:

Code: [Select]
  (( PERCENTAGE = 100 \* ${i} / ${TOTAL_LINES} ))
This generates the following output:

Code: [Select]
/usr/bin/lite-tweaks-super: line 1089: ((: PERCENTAGE = 100 \ 2 / 1 : syntax error: invalid arithmetic operator (error token is "\ 2 / 1 ")
The only thing I can do, is do a quick install of Lite 6.0 (I guess i still have it) and test if this error is present in which case, the error has been passed from version to version.
Sadly, there might be many more others.
What bothers me is that most people rely on Jerry to fix it (those?) but this is, to put it lightly, INHUMAN.
Since you looked at the code, you can imagine what kind of hell is to go line by line in a code like the "Lite Tweaks", let alone the whole suite "Lite..."
lite-tweaks-super alone, has 1,102 lines. Reviewing the whole code, takes simply put, a lot of man-power. Since we're dealing here with something different than chopping woods, well... Just being Schwarzenegger-like, helps nothing.

What is the correct form of this line?


Code: [Select]
  ( PERCENTAGE = (100 \* ${i} ) / ${TOTAL_LINES} )As you can see, I moved the inner brackets to enclose the computation of the integer value of the number of lines, which is a runtime value.
But this has logic for me.
I'm curious if that checks though.

Further more, the gauge implied here (PERCENTAGE has to be passed to some kind of control)... I neve remember seeing any % progress bar or the like.
A variation is a StatusBar that shows a string like PERCENTAGE + " %". Have you ever seen this? Otherwise, might be just an internal counter to trigger something else than showing the progress.

Șerban.




"It's easy to die for an idea. It's way harder TO LIVE for your idea!"
Current Machine:
 Dell Precision T1700, 16 GB RAM, SSD Kingston A400, 480 GB.
Laptop:
 ASUS X200MA , Intel® Celeron® N2830, 2 GB RAM, SSD Kingston A400, 480 GB.
 

Re: Linux Lite 7.0 RC1 Released
« Reply #17 on: May 09, 2024, 12:54:01 AM »
 

sqwuade

  • New to Forums
  • *
  • 32
    Posts
  • Reputation: 3
  • Linux Lite Member
    • View Profile

  • CPU: Linux Lite Server = Xeon(R) CPU E3-1270 v5 @ 3.60GHz

  • MEMORY: 16Gb

  • VIDEO CARD: Yes

  • Kernel: 6.x
Could the Lite-Tweaks app be rewritten in Python?  The "Lite Welcome" app (Similar in appearance to Lite-Tweaks) seems to be working fine in LL7, but those are written in python while the Lite-Tweaks is written in bash?

   /usr/bin/lite-welcome-live
else
   /usr/bin/lite-welcome-installed

The conversion to Python looks like it would be a bit of work but it could be a possible solution?

There were a lot of security changes in Ubuntu 24.04:
https://ubuntu.com/blog/whats-new-in-security-for-ubuntu-24-04-lts
« Last Edit: May 09, 2024, 01:30:34 AM by sqwuade »
 

Re: Linux Lite 7.0 RC1 Released
« Reply #16 on: May 08, 2024, 10:36:48 PM »
 

sqwuade

  • New to Forums
  • *
  • 32
    Posts
  • Reputation: 3
  • Linux Lite Member
    • View Profile

  • CPU: Linux Lite Server = Xeon(R) CPU E3-1270 v5 @ 3.60GHz

  • MEMORY: 16Gb

  • VIDEO CARD: Yes

  • Kernel: 6.x
A lot of great posts here, thank you to all.
Not sure how I'm going to progress here with Lite Tweaks. It might be that it gets left out of 7x altogether.
If someone can come up with the solution, that's our only savior for now.

I'll take another look at it and see what I can find out.  I'm still betting the lite-tweaks issue is being caused by the the change of the polkit system.  That's the largest change to the base OS that I know of.  I haven't found a way (For testing purposes) to remove the new .rules system and rollback to the old .pkla system.  I'd like to see if the lite-tweaks would run on a system after doing that.
 

Re: Linux Lite 7.0 RC1 Released
« Reply #15 on: May 08, 2024, 08:19:11 PM »
 

Şerban S.

  • Şerban
  • PayPal Supporter
  • I come here a lot
  • *****
  • 385
    Posts
  • Reputation: 20
  • Linux Lite Member
    • View Profile
    • Forum

  • CPU: Intel® Core™ i7-4790

  • MEMORY: 16Gb

  • VIDEO CARD: Intel® HD Graphics 4600 + NVidia GK107 (GeForce GT630 OEM)

  • Kernel: 5.x
A lot of great posts here, thank you to all.
Not sure how I'm going to progress here with Lite Tweaks. It might be that it gets left out of 7x altogether.
If someone can come up with the solution, that's our only savior for now.
I'm in doubt if there's anything with your work.
As I see it, the upstream packages are far from being to date.
I got some 21+ updates that I hold. As for yesterday at about 15:00 GMT+3. Might be more now though.
Among those, are also zenity components, but there are many other key components too.
I guess I posted the terminal output yesterday.

Would it be a bad idea to just wait and see what comes from Ubuntu Core and re-test, from time to time?
At least, that's what I'm going to do.
I'll fire the update and see what happens, if any change at all.
After writing the shell script and testing, at least I know I have some means to steal some info while running Tweaks.
Anyway, there's still time. it's only the 9th of May...
Things might still settle down in our favor.
I wish I was a better programmer, but this is it...

Best regards, Șerban.
"It's easy to die for an idea. It's way harder TO LIVE for your idea!"
Current Machine:
 Dell Precision T1700, 16 GB RAM, SSD Kingston A400, 480 GB.
Laptop:
 ASUS X200MA , Intel® Celeron® N2830, 2 GB RAM, SSD Kingston A400, 480 GB.
 

Re: Linux Lite 7.0 RC1 Released
« Reply #14 on: May 08, 2024, 07:59:44 PM »
 

Jerry

  • Linux Lite Creator
  • Administrator
  • Platinum Level Poster
  • *****
  • 8795
    Posts
  • Reputation: 803
  • Linux Lite Member
    • View Profile
    • Linux Lite OS

  • CPU: Intel Core i9-10850K CPU @ 3.60GHz

  • MEMORY: 32Gb

  • VIDEO CARD: nVidia GeForce GTX 1650

  • Kernel: 5.x
A lot of great posts here, thank you to all.
Not sure how I'm going to progress here with Lite Tweaks. It might be that it gets left out of 7x altogether.
If someone can come up with the solution, that's our only savior for now.
 

Re: Linux Lite 7.0 RC1 Released
« Reply #13 on: May 08, 2024, 09:47:16 AM »
 

Şerban S.

  • Şerban
  • PayPal Supporter
  • I come here a lot
  • *****
  • 385
    Posts
  • Reputation: 20
  • Linux Lite Member
    • View Profile
    • Forum

  • CPU: Intel® Core™ i7-4790

  • MEMORY: 16Gb

  • VIDEO CARD: Intel® HD Graphics 4600 + NVidia GK107 (GeForce GT630 OEM)

  • Kernel: 5.x
ASUS Terminal output:

Upsteram bugs?

********************************
      TERMINAL OUTPUT 2:
********************************


Code: [Select]
Welcome to Linux Lite 7.0 serban
 
Wednesday 08 May 2024, 16:29:44
Memory Usage: 947/1853MB (51.11%)
Disk Usage: 9/30GB (34%)
Support - https://www.linuxliteos.com/forums/ (Right click, Open Link)
 
serban  ~  sudo apt upgrade
[sudo] password for serban:
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Calculating upgrade... Done
The following upgrades have been deferred due to phasing:
  gir1.2-glib-2.0 gir1.2-glib-2.0-dev libgirepository-2.0-0 libglib2.0-0t64 libglib2.0-bin libglib2.0-data libglib2.0-dev
  libglib2.0-dev-bin
The following packages have been kept back:
  inxi zenity zenity-common
The following packages will be upgraded:
  python3-apport python3-problem-report
2 upgraded, 0 newly installed, 0 to remove and 11 not upgraded.
Need to get 116 kB of archives.
After this operation, 0 B of additional disk space will be used.
N: Some packages may have been kept back due to phasing.
Do you want to continue? [Y/n]


********************************
      TERMINAL OUTPUT 1:
********************************


Lite Tweaks Issue...

Code: [Select]
Welcome to Linux Lite 7.0 serban
 
Wednesday 08 May 2024, 16:20:30
Memory Usage: 891/1853MB (48.08%)
Disk Usage: 9/30GB (34%)
Support - https://www.linuxliteos.com/forums/ (Right click, Open Link)
 
 serban  ~  sh /asus/Asus-Diverse/Weird-Lite-Tweaks-Spy-02a.sh
===========================================================

======ooo OOOOOO ooo======
Script to see what's wrong in Linux Lite 7.0 RC1 with Lite Tweaks
===========================================================
======ooo OOOOOO ooo======
    Get the machine and OS info:
Linux X200MA 6.8.0-31-generic #31-Ubuntu SMP PREEMPT_DYNAMIC Sat Apr 20 00:40:06 UTC 2024 x86_64 x86_64 x86_64 GNU/Linux
    Get the current user:
serban
    Run Lite Tweaks from CLI:
Waiting 1 sec...
    I am running Lite Tweaks now...
    Making the selections...

    This message only appears AFTER the Begin OR Quit button WAS CLICKED.
Waiting 1 sec...
   Checking the current USER, AFTER working with Lite Tweaks:
serban
    Run Lite Tweaks as Root:
[sudo] password for serban:
ls: cannot access '/root/.local/share/Trash/files/': No such file or directory
    Clicked some button: Begin OR Quit

===========================================================
          Weird-Lite-Tweaks-Spy-02a.sh
===========================================================
                       --- THE END! ---
===========================================================
              © Şerban Stănescu, Wed-08-05-2024
===========================================================
 serban  ~ 


If someone can get something out of that, I'll be glad to hear "SOLVED"


"It's easy to die for an idea. It's way harder TO LIVE for your idea!"
Current Machine:
 Dell Precision T1700, 16 GB RAM, SSD Kingston A400, 480 GB.
Laptop:
 ASUS X200MA , Intel® Celeron® N2830, 2 GB RAM, SSD Kingston A400, 480 GB.
 

 

-->
X Close Ad

Linux Lite 7.0 RC1 Released - See Release Announcement Section