The officially official Devuan Forum!

You are not logged in.

#2326 Re: Hardware & System Configuration » Ethernet and WiFi cards not recognized » 2017-08-21 02:07:28

There's a problem with the installer's rsync excludes list when you use it in ascii. Add the following lines to /usr/lib/refractainstaller/installer_exclude.list so you don't end up copying the live system twice. I just saw this in a vbox install - the rsync output did not look right - a lot of usr/lib/live/mount was scrolling by.

# Added for symlink /lib
- /usr/lib/live/overlay
- /usr/lib/live/image
- /usr/lib/live/rootfs
- /usr/lib/live/mount

Oh, broadcom-sta-source depends on debhelper, which is not installed. Hm..

fungus, There's no display manager. Use 'startx'. Make sure you don't still have a copy of /etc/profile.d/zz-live-config_xinit.sh in the installed system. If you're still having problems after a reinstall, please start your own thread.

#2327 Re: Hardware & System Configuration » Ethernet and WiFi cards not recognized » 2017-08-20 21:47:09

The ascii iso is halfway to lxde. There is a command-line installer, but the way it is, it will only install if you booted legacy bios. If you booted uefi then use the graphical installer from the menu.

Run refractainstaller in a root terminal for the cli installer. (this one could install on uefi with a little hacking and manual steps in the install.)

Oh yeah, you may have already figured this out, but run 'startx' when that iso boots. There's no display manager.

#2328 Re: Hardware & System Configuration » Ethernet and WiFi cards not recognized » 2017-08-20 18:19:55

The second post in this thread suggests trying some different boot options with msi laptops.
https://ubuntuforums.org/showthread.php?t=2313838

Try the no-probe or failsafe option in the boot menu or some combination of the options listed there. You can see the boot command by pressing the TAB key (for isolinux, booting bios) or 'e' (for grub, booting uefi). 

Or try adding 'single' to the boot command and see if you can boot to single-user mode.

The last message is from xorg. The xorg in the iso is just the jessie version. It's not from backports. If you feel like experimenting, there's a live iso made from ascii that has newer xorg. It also has openrc and eudev. Wireless firmware is not installed, but the packages are there to be installed without a network.
http://distro.ibiblio.org/refracta/file … 3_2222.iso
(note: logins and passwords are different on this iso: root/root and user/user)

#2329 Re: Hardware & System Configuration » Ethernet and WiFi cards not recognized » 2017-08-20 12:27:58

Debian is always behind others in software versions. That's one of the features. (older=better tested)

What kernel versions are in the distros that work on this system? I made an unofficial live iso with the 4.9 kernel from backports. That might be new enough for your hardware. That's here -
http://distro.ibiblio.org/refracta/file … 0_1501.iso
(sha256sum and .asc files are in the same directory)

#2330 Re: Other Issues » [SOLVED] pkexec authenticates without password » 2017-08-19 01:19:47

For the record - this is on a refracta-jessie that was upgraded to ascii. So I started with xfce. It also has icewm and openbox, and I use lxpanel and lxterminal with ob. But I don't have the full lxde destkop. I've also had other weird stuff with this installation. Today I had to add net.ifnames=0 to the boot command a couple of times to have network connection. Normally I don't need to do that with this install, even though it's using 4.9 kernel.

Tested another install on the same machine. This one started as a minimal install, upgraded to ascii, then added apps. In xfce and openbox, gparted won't start from the menu, but if I start gparted-pkexec in terminal, it asks for password. This install also has lxqt, and there, I get a graphical window asking for the root password like it should. (lxqt-policykit-agent runs)

I seem to be the only one with this problem (the one in the subject line) so I won't file a bug report on it. At some point I'll do another refracta jessie to ascii upgrade and watch what happens. The current one has been through a lot to get where it is.

#2331 Re: Hardware & System Configuration » A Better Reduce for Devuan? » 2017-08-18 23:01:46

Wow. I have not seen that page before. That is extreme. Just how small do you need it to be? For most people's needs, you can start with a minimal install and add just what you want.

Here's dev1fanboy's minimal install guide. This is kind of at the other extreme. Either way will be a learning experience.

Here's the easy method:
-  uncheck stuff at the tasksel window during installation. Some people like to un-check everything. I like to keep Standard system utilities checked.
- after install, start adding what you want.
- don't install recommends (apt-get --no-install-recommends install <packages> or aptitude -R install <packages>)
- don't install anything with 'task-' in the name. Avoid metapackages in general.

I'm not the expert on minimal installs here. Others can offer more specific information and/or help with problems you run into.

#2332 Re: Desktop and Multimedia » Ascii & Ceres lightdm/xorg broken » 2017-08-18 17:41:41

fungus, look at what got updated in ceres that did not get updated in ascii. That should narrow it down.  Look at /var/log/apt/history.log or see what the newest packages are in /var/cache/apt/archives.

#2333 Re: Devuan Derivatives » [MiyoLinux] New Releases Uploaded » 2017-08-18 14:35:20

Things like invisible buttons, invisible borders, crowding of menu items, either horizontally or vertically, all are symptoms of the gtk3 sickness. Test with some different themes.

If it's a gtk3 problem with plank or one of its deps, the solution might be to repackag plank (or whatever) to use gtk2 instead. I did that with yad-0.38, which now reminds me of another symptom - buttons off-screen.

#2334 Re: Other Issues » [SOLVED] pkexec authenticates without password » 2017-08-18 12:51:33

nathg,

Thanks for the reminder. I tried replacing mate-polkit with policykit-1-gnome and I get the same behavior. (gparted runs without password).

I tried running without a display manager, and I'm getting inconsistent results. Sometimes I can break it so gparted doesn't run (in terminal it gives me an error message about trying to run it as another user and I don't have permission) and sometimes it does run. And sometimes I end up with no input in console and have to use sysrq keys to reboot.

So far, I have not found the right combination to cause pkexec to ask me for a password. At least not today. I have been asked for a password in terminal a couple days ago.

#2335 Re: Devuan Derivatives » [MiyoLinux] New Releases Uploaded » 2017-08-18 11:53:07

MiyoLinux wrote:

1. The menu of the LXPanel doesn't populate applications installed after installation of the system (the openbox menu and Xfce panel's menu does).

It works ok here. If I install a package, it's in the lxpanel menu immediately. I checked this on a couple systems to make sure. It worked on one phat (refracta) and one skinny (openbox sans dbus/consolekit/polkit). Main reason I use lxpanel in my openbox builds is because I don't have to do anything to it.

#2336 Re: Other Issues » [SOLVED] pkexec authenticates without password » 2017-08-17 20:24:51

Unprivileged users should be able to search package names and descriptions. They should not be allowed to install software or resize partitions (as I just did). That's a security risk.

I found this bug report, concerning the problem that most people are having. It's not very helpful.
pkexec: Synpatic & gParted fails to authenicate
https://bugs.debian.org/cgi-bin/bugrepo … bug=780275

And this one about the relationship between pkexec and sudo, also not very helpful. My user is not in the sudo group. User did have sudo privs for shutdown, reboot, suspend and hibernate. I removed those privs and the problem with gparted persists.
policykit-1: members of group sudo become root with pkexec while ignoring /etc/sudoers
https://bugs.debian.org/cgi-bin/bugrepo … bug=869922

Here's my polkit file for gparted:

# cat /usr/share/polkit-1/actions/com.ubuntu.pkexec.gparted.policy 
<?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/policyconfig.dtd">
<policyconfig>

  <action id="com.ubuntu.pkexec.gparted">
    <message>Authentication is required to run the GParted Partition Editor</message>
    <icon_name>gparted</icon_name>
    <defaults>
      <allow_any>auth_admin</allow_any>
      <allow_inactive>auth_admin</allow_inactive>
      <allow_active>auth_admin</allow_active>
    </defaults>
    <annotate key="org.freedesktop.policykit.exec.path">/usr/sbin/gparted</annotate>
    <annotate key="org.freedesktop.policykit.exec.allow_gui">true</annotate>
  </action>

</policyconfig>

Here's what /var/log/auth.log has to say when I open gparted from the menu:

Aug 17 19:35:45 refracta-ascii pkexec[5206]: pam_unix(polkit-1:session): session opened for user root by (uid=1000)
Aug 17 19:35:45 refracta-ascii pkexec[5206]: user: Executing command [USER=root] [TTY=unknown] [CWD=/home/user] [COMMAND=/usr/sbin/gparted]

#2337 Re: Other Issues » [SOLVED] pkexec authenticates without password » 2017-08-17 18:03:55

I tried it in openbox and xfce on both installs. That doesn't make a difference.

#2338 Re: Other Issues » [SOLVED] pkexec authenticates without password » 2017-08-17 12:42:17

I've seen that blink, too. I have another ascii install that won't let me start gparted from the menu, but running gparted-pkexec in terminal does ask for the password. You don't need to use sudo to run gparted-pkexec, because pkexec should take care of asking for the password. Well, you shouldn't need sudo. If you do need it, then this is more broken than I thought.

I guess I need to compare package lists between my two installs. The second one started out as a minimal jessie that was upgraded and then just a few things added.

#2339 Re: Other Issues » [SOLVED] pkexec authenticates without password » 2017-08-16 19:16:28

Yes, gksu works. Meanwhile, pkexec allows unprivileged users to alter packages and partitions. Something is broken somewhere.

#2340 Other Issues » [SOLVED] pkexec authenticates without password » 2017-08-16 18:41:24

fsmithred
Replies: 24

I upgraded a Refracta-jessie install to ascii. If I start gparted or synaptic from the menu (gparted-pkexec or synaptic-pkexec) the program starts without asking for a password. Google tells me in at least 10 different places how to get the system to do that  - by changing /usr/share/policykit-1/actions/com.ubuntu.pkexec.gparted.policy and changing "auth_admin" to "yes" in the following lines:

allow_any>auth_admin</allow_any>
<allow_inactive>auth_admin</allow_inactive>
<allow_active>auth_admin</allow_active>

So in my case, I should expect to change "yes" to "auth_admin". Except that it already says "auth_admin" on those lines.

I also tried changing

<annotate key="org.freedesktop.policykit.exec.allow_gui">true</annotate>

from "true" to "false" and also to a null value (""). That results in not being able to run gparted-pkexec from the menu or from a terminal. When it's set to false, it does start a process, but nothing comes up. If I try to start it from terminal after the attempt to start it from the menu, I get a message saying that gparted is already running. And only root can shut it down at that point.

Also, when I tried this yesterday, if I ran gparted-pkexec from terminal, it did ask for root password. Today it doesn't ask, it just starts gparted.

I'm lost. Anyone have any ideas?

#2341 Re: Documentation » Install eudev in ascii » 2017-08-14 19:24:28

udev in devuan is the same udev that's in jessie.

eudev is basically udev with the systemd deps removed.  It's forked from gentoo.

#2342 Re: Devuan Derivatives » Vuu-do Linux! *New Openbox-64 iso's (1.0.7) up 2-02-18*!! » 2017-08-14 19:07:06

I don't know if you include the Refracta boot help in your isos, but check it out:

cat /usr/lib/refractasnapshot/iso/isolinux/f4.txt

(I'm not gonna paste it here, because it's full of ugly formatting characters.)

Also see 'man live-boot' and 'man live-config' for many awesome things you can do at the boot command.

#2343 Re: Desktop and Multimedia » Security updates for devuan jessie » 2017-08-14 18:47:47

Ogis1975 wrote:
fsmithred wrote:

In fact, you won't get 60 in ascii or stretch, either. It's 59 there. Chromium-60 is in ceres/sid.

Hello. You are wrong . Chromium version in Stretch is 60.0.3112.78

I'm not entirely wrong. 59 is in stretch and 60 is in stretch-security, which I did not enable. Guess I should do that if I want to see all versions.

About mixing repos: I don't know what these other folks are running, but I always disable all the extra repos before I install anything or upgrade. They are only enabled so I can see all versions with 'apt-cache policy <package>'.

#2344 Re: Documentation » Install eudev in ascii » 2017-08-14 18:37:58

I don't know if this works in ceres. If you're brave enough to try it, please let us know what happens.

lxde is still around and will still be around for awhile. It has not been abandoned. I either read that somewhere or was told that by one of the devs or maintainers for lxde in irc. (Can't remember name or which irc channel, but it must have been #devuan or #devuan-dev.)

lxqt is also around. I'm not sure, but I think it exists because gtk is losing its mind, and lxqt will be there when gtk3 finally goes totally insane.

#2345 Re: Desktop and Multimedia » Ascii & Ceres lightdm/xorg broken » 2017-08-14 18:23:38

FYI
Debian/Devuan uses runlevels 2-5 for multi-user graphical, with 2 as the default. RedHat and SuSE refugees are confused and annoyed by this.

Single-user is runlevel 1. If you want a runlevel that's multi-user non-graphical (like 2 or 3 in rh or suse) disable the display manager in one runlevel. (3 is most commonly used for this)

Correction: Debian doesn't use runlevels anymore.

#2346 Re: Desktop and Multimedia » Slim and build settings » 2017-08-14 11:29:41

My Xwrapper.config (in ascii) has these lines:

needs_root_rights=yes
allowed_users=console

I'm using slim-1.3.6-5+devuan4rc5a1

I just did update/upgrade, and everything is still working correctly.

Update: I upgraded another installation. This one was a refracta jessie that got upgraded to ascii, and then I replaced lightdm with the same version of slim I named above. The Xwrapper.config in this system only has the one line (like yours) and everything still works.

allowed_users=console

#2347 Documentation » Install eudev in ascii » 2017-08-14 10:09:01

fsmithred
Replies: 12

To replace udev with eudev in devuan ascii, do the following:

Add experimental repo to sources.list.

deb http://auto.mirror.devuan.org/devuan/ experimental main

Update the cache and install eudev:

apt-get update
apt-get -t experimental install eudev

Now would be a good time to reboot.

If you want to remove eudev and reinstall udev, you will need to specify the version of libudev1 to downgrade it.:

apt-get install udev libudev1=232-25+deb9u1

Note: if that is not the correct version of libudev1, you can get it from

apt-cache policy libudev1

#2348 Re: DIY » live-sdk - can't build image » 2017-08-13 23:43:57

Parazyd explained to me that debootstrap is now in extra so that it's available for other distros. I haven't tried that new version yet.

I think this is your problem here:

xorriso : FAILURE : Given path does not exist on disk: -boot_image system_area='/usr/lib/ISOLINUX/isohdpfx.bin'

It's not finding isohdpfx.bin. If it's not in /usr/lib/ISOLINUX/isohdpfx.bin then install live-build. More likely, the /usr part of the path got lost from the xorriso command, which is probably in the blend file. (if not, it's in lib/libdevuansdk/zlibs/iso  line 109 or so, but you really shouldn't change it there.)

#2349 Re: Installation » OpenRC installation in Devuan Ascii » 2017-08-13 23:29:52

I installed openrc in ascii today after I got the deb packages from Svante. I see you already uploaded them. I did, too - http://distro.ibiblio.org/refracta/files/openrc/
(I'll use your links below, but if those don't work for someone, they can replace them with the ibiblio address)

Here's what I did, in a nutshell:

Add to /etc/apt/sources.list

deb http://auto.mirror.devuan.org/devuan ascii-proposed  main

Download debs:

for amd64

wget https://www.croatiafidelis.hr/foss/Devuan-OpenRC/libfdisk1_2.29.2-1+devuan1_amd64.deb
wget https://www.croatiafidelis.hr/foss/Devuan-OpenRC/util-linux_2.29.2-1+devuan1_amd64.deb

for i386

wget https://www.croatiafidelis.hr/foss/Devuan-OpenRC/libfdisk1_2.29.2-1+devuan1_i386.deb
wget https://www.croatiafidelis.hr/foss/Devuan-OpenRC/util-linux_2.29.2-1+devuan1_i386.deb

Run these commands in the following order.

apt-get update
apt-get -t ascii-proposed install sysvinit-core
dpkg -i libfdisk1_2.29.2-1+devuan1_amd64.deb
apt-get -t ascii-proposed download sysvinit-utils
dpkg -i sysvinit-utils_2.88dsf-59.9+devuan2_amd64.deb util-linux_2.29.2-1+devuan1_amd64.deb
apt-get -t ascii-proposed install initscripts
apt-get install openrc

When openrc is finished installing, you will get the warning that's a couple of posts above this. You have to run a long command before rebooting. Do yourself a favor and use an x- terminal rather than plain console, so you can copy/paste.

Here's a live iso with openbox, eudev and openrc (amd64 only):
http://distro.ibiblio.org/refracta/file … 3_2222.iso
login/password  root/root and user/user

#2350 Re: Hardware & System Configuration » Problem with newest Nvidia driver » 2017-08-13 12:18:26

Are you following directions on this page?
https://wiki.debian.org/NvidiaGraphicsDrivers

I think you're supposed to stop X before you run nvidia-xconfig. (not sure, it's been awhile)

You may or may not need to add "nomodeset" to the boot command. You should not need to purge and reinstall xorg. I think you do need to blacklist nouveau.

Board footer

Forum Software