The officially official Devuan Forum!

You are not logged in.

#1026 Re: Other Issues » policykit-1, polkit, polkitd authentication problems » 2018-03-09 22:29:38

Re-posting what I just posted from another pertinent thread:

I've never had to do anything extensive the times i've had a permission issue with polkit, edit the files in /usr/share/polkit-1/actions/ directly, you can spot the relative entries, it may not be the correct way, but it's quick and it works perfectly. The bolded part on a couple of entries in the udisks2 policy is all it takes.

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE policyconfig PUBLIC
"-//freedesktop//DTD PolicyKit Policy Configuration 1.0//EN"
"http://www.freedesktop.org/standards/Po … config.dtd">
<policyconfig>
  <vendor>The udisks Project</vendor>
  <vendor_url>http://udisks.freedesktop.org/</vendor_url>
  <icon_name>drive-removable-media</icon_name>

   <action id="org.freedesktop.udisks2.filesystem-mount">
    <description>Mount a filesystem</description>

    <message>Authentication is required to mount the filesystem</message>

    <defaults>
      <allow_any>auth_admin</allow_any>
      <allow_inactive>auth_admin</allow_inactive>
      <allow_active>yes</allow_active>
    </defaults>
  </action>

#1027 Re: Hardware & System Configuration » AMD Radeon RX 480 On Devuan » 2018-03-09 22:21:57

I've never had to do anything extensive the times i've had a permission issue with polkit, edit the files in /usr/share/polkit-1/actions/ directly, you can spot the relative entries, it may not be the correct way, but it's quick and it works perfectly.

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE policyconfig PUBLIC
"-//freedesktop//DTD PolicyKit Policy Configuration 1.0//EN"
"http://www.freedesktop.org/standards/Po … config.dtd">
<policyconfig>
  <vendor>The udisks Project</vendor>
  <vendor_url>http://udisks.freedesktop.org/</vendor_url>
  <icon_name>drive-removable-media</icon_name>

   <action id="org.freedesktop.udisks2.filesystem-mount">
    <description>Mount a filesystem</description>

    <message>Authentication is required to mount the filesystem</message>

    <defaults>
      <allow_any>auth_admin</allow_any>
      <allow_inactive>auth_admin</allow_inactive>
      <allow_active>yes</allow_active>
    </defaults>
  </action>

#1028 Re: Other Issues » Intel HD Audio Is Not Working (Ceres) » 2018-03-06 20:46:39

You can do that in alsa as well, I see it fairly often as a lot of machines have an hdmi output in addition to the regular one and alsa defaults to using card 0 which is usually the HDMI output, simple solution is adding an .asoundrc file in your home folder:

pcm.!default {
        type hw
        card 1
 }

ctl.!default {
        type hw
        card 1
 }

(Note: I know you solved your problem, i'm just posting this additional info for other folks who might be looking for solutions and read this thread)

Geoff 42 wrote:

Yes, a lot of people would stop after the apt-get remove pulseaudio ;-)

It seems that many machines these days have an HDMI sound outlet, which is often shared with a normal outlet, using the snd-hda-intel kernel module. This seems to cause problems. If you don't need the HDMI sound then disabling it makes things simpler, using the enable option :-

http://forums.debian.net/viewtopic.php?t=110572#p525601

Geoff

#1029 Re: Other Issues » Intel HD Audio Is Not Working (Ceres) » 2018-03-05 21:59:25

Or delete pulseaudio completely and use ALSA. wink

#1030 Re: Desktop and Multimedia » Help With Sudo and Asking For passwords When necessary » 2018-03-05 21:58:06

Not for nothing, but some livecd's write a sudo-nopassword entry for the duration of the live session so the user can use everything freely, but doesn't delete that entry when you install it, it breaks pkexec, and pkexec being the POS it is, when it breaks it defaults to allowing program to open with no password.

#1031 Re: Devuan » Why are systemd files present in Devuan? » 2018-03-05 21:53:52

Good info Golinux!

Lots of examples of this, I personally try to NOT use Pulseaudio, but installing VLC drags in libpulse, not because VLC won't work on ALSA, but so it can communicate if need be with another machine on a network that does use it. So in practice it's never used expect for the above scenario. I simply deleted most of the pulse files and made it into a dummy package. Not that it wasn't a dummy to start with. wink

#1032 Re: News & Announcements » Devuan 2.0 ASCII Beta is here! » 2018-03-05 21:48:02

yeti wrote:
greenjeans wrote:

(((...))), if you don't trust yourself to be root on your own machine then I don't know what to say to that. wink

I trust me in a shell but not separated from the system by a GUI.
Well... maybe better saying: I don't trust GUIs.

I think some of the people here and everywhere in the 'nix world that possess a lot of technical acumen and skill with computers, tend to forget that not everyone uses their computer that way, and not everyone develops exclusively for geeks like us, lol.

One of the primary reasons I do it, is for friends, family, and people in my community who don't have the money (for the dozenth time) to take their machine to a PC repair place and have it wiped (for the dozenth time) to get rid of all the garbage that has destroyed windoze (again) only to have the tech load freakin load windoze on it (again). The definition of insanity being doing the same thing again and again expecting a different result.

Most of these people don't have the time to learn what we know, they just want a simple GUI interface to everything, drag-n-drop functionality, a system of doing things they are basically familiar with and a small learning curve.

So that is always uppermost in my mind while developing. And so it stands to reason that while developing I should do as much as possible with GUI's myself, so as to constantly be able to test and verify that these systems work as intended, and if they DO get interested in learning more about linux and want to start experimenting themselves, it's very easy with the tools I have provided and is robust and well-tested.

I am already really pushing the envelope trying to convert windoze refugees to linux using Openbox, lol, I don't want to scare them off completely by taking away their GUI's.

#1033 Re: News & Announcements » Devuan 2.0 ASCII Beta is here! » 2018-03-03 23:17:23

cynwulf wrote:

I've just no idea why you'd need to run an X11 file manager as root?  Can't see how it would effect "workflow", can't see the scenario where "work" involves being in a file manager as root...  what are you doing?

Developing. I use this function constantly, it's super-easy to add/delete/modify/destroy-system-cruft when "Open as admin" is right there in the context menu, it absolutely speeds my workflow....I really don't understand why anyone would NOT make this available to themselves, if you don't trust yourself to be root on your own machine then I don't know what to say to that. wink

Trust me on this CW, it helps a LOT. Have had lots of people thank me in fact for making it so accessible in my systems. Possibly you and others use their machine differently, please don't discount this effective tool because you personally do it a different way.

#1034 Re: Devuan Derivatives » Vuu-do Linux! *New Openbox-64 iso's (1.0.7) up 2-02-18*!! » 2018-02-25 23:41:33

Thanks for the kind words Stanz!!

Not sure why it's showing 27.6.2 on yours, is it the latest one? I just checked the build partition to be sure and it's showing me 27.7.2 as is this partition.

#1035 Re: Installation » Palemoon installation from source » 2018-02-25 21:07:36

Or you could just install the .deb package, seems much simpler.

#1036 Re: Desktop and Multimedia » alternative to mate-power-manager for ascii? [SOLVED] » 2018-02-25 20:52:13

The XFCE power manager also works pretty well for me.

The mate power manager is a disgrace, everything is grayed out, none of the functions really work, I recommended it be dumped from the repo months ago.

Mate has really disappointed me in the last year, not only are longstanding bugs still not fixed, there are regressions now that are a big PITA. It's gotten way worse as they have progressed to GTK3, it's almost as bad as Gnome now, and with good reason as they are no longer anything like a fork of gnome 2, they are simply falling into line with the new gnome glitchware. It's embarassing really, windows 7 is more stable.

#1037 Re: News & Announcements » Devuan 2.0 ASCII Beta is here! » 2018-02-25 20:40:33

mckaygerhard wrote:

we cannot fork all that are "eating" by the systemd monster! we must thing in less work due are directed respect the amount of developers/manpowers

What's this "we" stuff? Are you part of the Devuan development team? You certainly don't speak for me, i'm quite capable of forking over systemd. wink

mckaygerhard wrote:

FOR NOW SUDO HANDLE DIRECTLY THE RIGHTS FOR XAUTHORITY.. but runs app as root user are stupid.. there's a userspace for taht, there's the main reason of the dissapear of gksu

Well I don't use sudo in the first place, nor pkexec, giving a user any sort of admin rights is a silly security risk IMO,  it defeats the whole purpose of having separate user/admin accounts, but whatever works for you....personally I use su for everything, but I will always give people who use my project the option of using sudo if they like. Gksu WILL be forked and that's what i'll be using.

That "we can't" crap is for those who blithely accept the status quo even if it's garbageware. In case you hadn't noticed, Devuan is a can-do distro. Might want to take that defeatist attitude elsewhere, Redhats love that stuff, i'm sure they'd welcome your compliance with open arms.

#1038 Re: News & Announcements » Devuan 2.0 ASCII Beta is here! » 2018-02-24 21:05:24

golinux wrote:
greenjeans wrote:
fungus wrote:

gksu gksudo will be removed from debian repositories.

Well good lord, does the stupid never end?

It stops here.  We can fork those those functions.  big_smile

You freakin ROCK Golinux! wink

#1039 Re: News & Announcements » Devuan 2.0 ASCII Beta is here! » 2018-02-22 20:24:19

fungus wrote:

gksu gksudo will be removed from debian repositories.

Well good lord, does the stupid never end?

There's nothing wrong with gksu, it has never failed me, while pkexec has caused multiple issues, I delete that garbage regularly.

It's sad really, I have really liked Debian for a long time and appreciate their efforts usually, but I just did a test install of 9.3 using the Mate desktop on a late model laptop, and it's so buggy I almost did a video about it but didn't figure it would help any....horrible, worst version of Debian i've ever used.

So glad Devuan is here, that experience the other day really underscored how great my results have been with Devuan, working on a new Vuu-do now that will be the first EFI version, and the minimal version at least will be translatable in 2.0.0. Gonna be trying out some of the new options too, eudev, elogind etc. It's awesome how we are all growing and getting better here. smile

Great times, tough for sure, but challenge drives innovation and Devuan is the tip of the spear. wink

#1040 Re: Off-topic » Devuan Ascii - NETINST ISO Size » 2018-02-18 22:13:27

It starts with the kernel, which is 25 mb larger than the 3.16 kernels.

Continues with larger packages for firmware, drivers, X, etc. etc.

Next, it's important to understand that not everything on that iso is going to be installed when you build your system, there's LOTS of things you won't use. Using grub? Then you won't need lilo which is available on the disk, lots of other examples of this.

Want a 100 mb install iso? You can maybe build one if it's a CLI-only builder iso you want, but it will take some work for sure, I would abandon the netinstall idea and just roll up your own using Refracta-Snapshot.

Use the netinstall iso, do not install any DE's or printer support etc, once installed a lot of stuff will go bye-bye on it's own, then purge any other stuff you don't want, install Refractasnapshot and Installer + depends, clear out the cruft and squash you a nice lightweight base iso. wink

#1042 Re: Devuan Derivatives » Vuu-do Linux! *New Openbox-64 iso's (1.0.7) up 2-02-18*!! » 2018-02-13 22:03:54

Working on EFI Vuu-do now...arrgh...lol. But needs to be done I guess.

#1043 Re: Devuan Derivatives » Lightdm background/theme fix for Miyo-XTRA 2018 » 2018-02-13 21:54:18

MiyoLinux wrote:

Whew...I'm thinkin' of locking desktop-base for awhile! LOLOLOL!!! tongue

I threw the whole package outta Vuu-do, lol, just so I wouldn't have to deal with this stuff. wink

Not that I don't like purpy and all....:D

#1044 Re: Other Issues » How to fix the meltdown and spectre issue in Devuan » 2018-02-08 20:21:23

chillfan wrote:
greenjeans wrote:

Just need to maybe get with a packager and have them package the newest version, the microcode version in the repo is the next-to-latest version, it's from July 2017 and the newest one is November 2017, so it's not like the current jessie microcode package is way old or anything.

I kinda doubt it has any fixes for meltdown in it.

Also Intel looks to have pulled the latest microcode for 2018, so most people have to wait for this to change.

Debian does have the November update, in stretch-backports, maybe it's in Devuan ascii backports or proposed?

#1045 Re: Other Issues » How to fix the meltdown and spectre issue in Devuan » 2018-02-05 20:53:01

chillfan wrote:

Also Intel looks to have pulled the latest microcode for 2018,

Ahh, well hopefully that means they may be working on some mitigation for this issue, will be watching for any new updates.

#1046 Re: Other Issues » How to fix the meltdown and spectre issue in Devuan » 2018-02-04 00:14:18

Just need to maybe get with a packager and have them package the newest version, the microcode version in the repo is the next-to-latest version, it's from July 2017 and the newest one is November 2017, so it's not like the current jessie microcode package is way old or anything.

I kinda doubt it has any fixes for meltdown in it.

#1047 Re: Installation » Palemoon a browser that doesn't convince! » 2018-02-03 23:42:09

chillfan wrote:

HTML5 video support should be available with gstreamer. Try with gstreamer1.0-libav and gstreamer1.0-plugins-good installed.

That did it for Midori, thanks! I'm using all gstreamer 0.10 in Vuu-do, didn't think about it needing something from the newer 1.0 gstreamer stuff, you rock Chillfan. wink

Seriously considering Midori for next version of Vuu-do...maybe I will run a new 32 bit iso and use it there, it's half the size of Palemoon and a third the size of Chromium or FF. Seems to run pretty good.

#1048 Re: Devuan Derivatives » Vuu-do Linux! *New Openbox-64 iso's (1.0.7) up 2-02-18*!! » 2018-02-02 23:43:30

New versions of Openbox up today, 64 bit mini and maximal 1.0.7.

This is mainly a maintenance and update release, several dozen updates in the last two months, lots of programs and an important kernel update.

Palemoon is updated to very latest version (released yesterday in fact) 27.7.2.

All repo software updated to yesterday (2-01-2018).

Added acpi-support to both and added ntp to the minimal, some small fixes here and there and some work on icons etc.

Probably going to take the Mate versions and the 32 bit openbox down, they are old now and it's not likely i'll update them anymore, going to focus on 64 bit Openbox.

#1049 Re: Off-topic » Getting to know you » 2018-02-02 00:07:05

Hi, i'm here because I was told there would be pudding? smile

#1050 Re: Devuan Derivatives » Vuu-do Linux! *New Openbox-64 iso's (1.0.7) up 2-02-18*!! » 2018-01-30 23:50:51

mt12345 wrote:
greenjeans wrote:

will probably be uploading some updated iso's in fact this week, with the meltdown-patched kernel and some other updates and a few bug-fixes.

is my kernel patched?

#1 SMP Debian 3.16.51-3+deb8u1 (2018-01-08)

As far as I know that's the latest one.

Board footer

Forum Software