Salix Xfce 15.0alpha2

User avatar
laprjns
Salix Warrior
Posts: 1105
Joined: 28. Aug 2009, 01:30
Location: Connecticut USA

Re: Salix Xfce 15.0alpha2

Post by laprjns »

mimosa wrote: 17. Apr 2022, 17:42 This machine names its partitions oddly because of the NVMe storage, maybe that was the cause of the trouble (note the extra 'p'):
Ahh, so you are using NVM storage. The refind 0.10.3 package doinst() script doesn't detect NVM storage, so it was not able to pass the correct disk and partition infomation to efibootmgr.

Its all coming back to me now.
“Don’t you see that the whole aim of Newspeak is to narrow the range of thought?"
User avatar
tsuren
Posts: 206
Joined: 7. Jun 2009, 17:32
Location: France

Re: Salix Xfce 15.0alpha2

Post by tsuren »

Great work!

I've just installed the alpha version to one of my dinosaur netbooks, Acer Aspire One ZG5. The installation went smoothely without a problem. It's amazing to see that Youtubes can still run OK on this machine... By the way, I really like the new backdrop also.

I am going to try installing some pieces of software I use regularly (e.g. IME for Japanese, etc.).

Thanks Gapan!
'Tommorow is like today, just happens tomorrow.'
User avatar
laprjns
Salix Warrior
Posts: 1105
Joined: 28. Aug 2009, 01:30
Location: Connecticut USA

Re: Salix Xfce 15.0alpha2

Post by laprjns »

Here's my take on the gtkhostsetup issue. After changing the hostname with gtkhostsetup (note that I have not tried changing it any other way) many applications will not start by using the menu launchers. For example, Geany and Firefox will not start. Everything in the Accessories menu except Thunar and Bulk Rename will not start. They do not start in a terminal either. Here's a sample of the errors that they throw;

Code: Select all

rich[~]$ geany
No protocol specified
Geany: cannot open display
 
rich[~]$ firefox
No protocol specified
Error: cannot open display: :1.0

rich[~]$ transmission-gtk 
No protocol specified
(transmission-gtk:4022): Gtk-WARNING **: 15:05:29.207: cannot open display: :3.0

rich[~]$ l3afpad 
No protocol specified
l3afpad: Cannot open display: 
Terminal is one of the programs that does not start after changing the hostname, so I started one before changing the hostname.

If I log out and then back in, everything works, and the hostname is changed. After changing the hostname and semi-zobieing the xsession, I can change to another virtual console, startx and everything works with the new hostname in place.

I started gtkhostsetup using the script and it didn't seem to make any difference. I did, however, have to add "sudo" before gtkhostsetup to get it to change the hostname, however, after changing the hostname, the system still behaved as above.

Rich
“Don’t you see that the whole aim of Newspeak is to narrow the range of thought?"
User avatar
ChuangTzu
Donor
Posts: 388
Joined: 19. May 2015, 23:34

Re: Salix Xfce 15.0alpha2

Post by ChuangTzu »

Attempted to install 64-alpha2 to bare metal it stopped after partitioning/labeling, it was unable to find USB for installer/packages. Interesting though since I was installing from CD and not a USB.
Image
Image
User avatar
comet
Posts: 7
Joined: 20. Mar 2013, 22:45
Location: California

Re: Salix Xfce 15.0alpha2

Post by comet »

It seems to work fine. Xfce comes up. It lets me adjust the screen, run slapt-get, change icons, etc.
I still boot with lilo

Computer:

64-bit iso dvd
bios
US English
Full Installation
icon is Hyakutake 1996
User avatar
ibka
Posts: 158
Joined: 12. Sep 2010, 13:14
Location: Sweden
Contact:

Re: Salix Xfce 15.0alpha2

Post by ibka »

In catfish if i try to execute "Refresh search index..." and then click on Unlock the catfish freeze.
The reason i the command "/usr/sbin/pkexec updatedb"

The solution i have is to create two files:
/usr/share/polkit-1/actions/org.salix.updatedb.policy and
/etc/polkit-1/rules.d/49-nopasswd_updatedb.rules

org.salix.updatedb.policy

Code: Select all

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE policyconfig PUBLIC
 "-//freedesktop//DTD PolicyKit Policy Configuration 1.0//EN"
 "http://www.freedesktop.org/standards/PolicyKit/1.0/policyconfig.dtd">
<policyconfig>
  <vendor>salixos.org</vendor>
  <vendor_url>https://salixos.org</vendor_url>
  <icon_name>updatedb</icon_name>
  <action id="org.salixos.updatedb">
   <description>Run updatedb as root</description>
   <description xml:lang="sv">Kör updatedb som root</description>
   <message>Authentication is required to run updatedb</message>
   <message xml:lang="sv">Autentisering krävs för att köra updatedb</message>
   <defaults>
     <allow_any>no</allow_any>
     <allow_inactive>no</allow_inactive>
     <allow_active>auth_admin</allow_active>
   </defaults>
     <annotate key="org.freedesktop.policykit.exec.path">/usr/bin/updatedb</annotate>
     <annotate key="org.freedesktop.policykit.exec.allow_gui">true</annotate>
   </action>
</policyconfig>
49-nopasswd_updatedb.rules

Code: Select all

/* Allow users in wheel group to run updatedb without authentication */
polkit.addRule(function(action, subject) {
    if (action.id == "org.salixos.updatedb" &&
        subject.isInGroup("wheel")) {
        return polkit.Result.YES;
    }
});
I am not an expert on polkit so i don't know if this is a perfect/secure solution.
For me the wheel group works because i am the only user, but if there are more users and they are not in the wheel group then maybe another group could be used.
Image
djemos
Salix Warrior
Posts: 1433
Joined: 29. Dec 2009, 13:45
Location: Greece

Re: Salix Xfce 15.0alpha2

Post by djemos »

Solution also for catfish is 49-nopasswd_global.rules file, taken from slackel. This file also included in salixlive xfce 14.2.1 iso in the past.
Just create 49-nopasswd_global.rules adding two rules (both needed tested on salix64-15.0-alpha2)
and copy it to /etc/polkit-1/rules.d/

Code: Select all

/* Allow members of the wheel group to execute any actions
 * without password authentication, similar to "sudo NOPASSWD:"
 */
polkit.addRule(function(action, subject) {
    if (subject.isInGroup("wheel")) {
        return polkit.Result.YES;
    }
});

/* Allow members of the polkitd group to execute any actions
 * without password authentication, similar to "sudo NOPASSWD:"
 */
polkit.addRule(function(action, subject) {
    if (subject.isInGroup("polkitd")) {
        return polkit.Result.YES;
    }
});
Edit: This also solves the problem with gtkhostsetup.
djemos
Salix Warrior
Posts: 1433
Joined: 29. Dec 2009, 13:45
Location: Greece

Re: Salix Xfce 15.0alpha2

Post by djemos »

I found another problem i have faced in the past with nano and exists also in salix-15.0
There is a file in /etc/skel/.nanorc where exists the line set backupdir "~/.nanobackups" this copied to ~/
then typing nano /path/anyfile couldn't run, return an error Invalid backup directory ~/.nanobackups

1. Solution remove /etc/skel/.nanorc for next salix-15-beta
2. to work for now
either create the dir
mkdir ~/.nanobackups
or delete the ~/.nanorc file it will recreated without the line set backupdir "~/.nanobackups
djemos
Salix Warrior
Posts: 1433
Joined: 29. Dec 2009, 13:45
Location: Greece

Re: Salix Xfce 15.0alpha2

Post by djemos »

ibka wrote:For me the wheel group works because i am the only user, but if there are more users and they are not in the wheel group then maybe another group could be used.
The second, third user etc they are simple users. A simple user cannot run any app require admin privileges. Which it is right.
only users that belong in wheel and polkitd group can run updatedb e.g in catfish.
User avatar
ibka
Posts: 158
Joined: 12. Sep 2010, 13:14
Location: Sweden
Contact:

Re: Salix Xfce 15.0alpha2

Post by ibka »

djemos wrote: 18. Apr 2022, 11:46 Solution also for catfish is 49-nopasswd_global.rules file, taken from slackel. This file also included in salixlive xfce 14.2.1 iso in the past.
Just create 49-nopasswd_global.rules adding two rules (both needed tested on salix64-15.0-alpha2)
and copy it to /etc/polkit-1/rules.d/

Code: Select all

/* Allow members of the wheel group to execute any actions
 * without password authentication, similar to "sudo NOPASSWD:"
 */
polkit.addRule(function(action, subject) {
    if (subject.isInGroup("wheel")) {
        return polkit.Result.YES;
    }
});

/* Allow members of the polkitd group to execute any actions
 * without password authentication, similar to "sudo NOPASSWD:"
 */
polkit.addRule(function(action, subject) {
    if (subject.isInGroup("polkitd")) {
        return polkit.Result.YES;
    }
});
Edit: This also solves the problem with gtkhostsetup.
Well, that didn't solve the gtkhostsetup on my computer.
Image
Locked