The officially official Devuan Forum!

You are not logged in.

#876 Re: Other Issues » Firejail security concerns » 2022-04-21 02:30:58

You might possibly enjoy overlay-boot in Devuan's experimental repository.
It's a couple of scripts using unshare for namespace separation.

Add the following line to your sources.list for installing it

deb http://pkgmaster.devuan.org/devuan experimental main

#877 Re: Desktop and Multimedia » help me please install FVWM95 on Ceres » 2022-04-20 20:29:32

xfce4|*)

???
So the second option is that "if the argument $1 matches xfce4 or matches * (aka anything), then use startxfce4". That makes the remaining ones mere decoration.

For sure you meant them to be in a different order.

#878 Re: Desktop and Multimedia » help me please install FVWM95 on Ceres » 2022-04-18 22:09:38

You seem to have include file(s) in /usr/local/include that disturb the process. Maybe you can move them away somewhere and try again?

E.g, first error in LOG says

/usr/local/include/X11/Xlib.h:5:8: error: unknown type name ‘XFontStruct’

which is odd since XFontStruct is defined in /usr/include/XLib.h (line 1052) from libx11-dev=2:1.7.5-1

Therefore I'm guessing you have some remnants from trials/experimentations in /usr/local/include

EDIT: Thought to mention:

  • I downloaded fvwm95-2.0.43f.tar.gz and unpacked that into /usr/local/src/fvwm95-2.0.43f/ for building

  • ran ./configure, then make repeatedly while dealing with its errors, resulting in pulling in those libraries and some minor edits to:

    1. modules/FvwmIconMan/FvwmIconMan.c

    2. modules/FvwmScroll/GrabWindow.c

    3. modules/FvwmTaskBar/Goodies.c

With that it compiles (with lots of warnings) for me, and I don't know how well it runs.

#879 Re: Devuan » setnet.sh script depreciated? » 2022-04-17 22:41:09

Good idea. The next steps towards that would be to

  1. get the software held as a project at the Devuan Git Store, https://git.devuan.org, and

  2. enjoy and digest https://git.devuan.org/devuan/documenta … aintainers

The old devuan/setnet project is still there but it hasn't been touched for some 3 years and it sure needs a new, active maintainer. I would suggest you discuss details with LeePen over IRC at #devuan-dev on libera.chat.

#880 Re: Off-topic » Is wayland the new systemd ? » 2022-04-16 00:31:51

IMO Wayland is not at all an improvement over X.

E.g: https://en.wikipedia.org/wiki/Wayland_( … land_and_X

I thought the language in that comparison is quite balanced although with a hint of the author(s) "favouring Wayland".

In my reading it makes the point that the functional overlap between Wayland and X11 is small, but generally they are ideas based on rather different understandings of the computational platform/architecture.

So I'm thinking that any competition between them would be more in whether and which of those understandings better serves the purpose of end users benefiting of FOSS, and that's a political rather than technical discussion.

#881 Re: Desktop and Multimedia » help me please install FVWM95 on Ceres » 2022-04-13 00:04:13

Firstly, when building you should use "make |& tee LOG" so that all output is captured in LOG. That makes it possible to review it all in more details.

In this case you will need to find the "error: ..." lines to figure out what the main problems are. All the warnings should really be tended to as well, but they doesn't stop the compilation.

I mostly got missing include files and needed to install:

# apt-get install libx11-dev libxpm-dev libxext-dev libxt-dev xbitmaps libxmu-headers

plus a light manual touch to remove some misplaced "##", and

now it looks like the link recipe of the Makefile needs polishing as well.

#882 Re: Desktop and Multimedia » Running a VPN from normal user privilege » 2022-04-06 21:27:51

The networking part of the client, i.e. creating a tap interface and manipulating the routing set up, requires root, so the client must run as root anyhow.

#883 Re: Other Issues » Android studio real in Devuan? » 2022-04-04 06:19:15

Yes.
You download that linux tar.gz, android-studio-2021.1.1.22-linux.tar.gz
un-tar it at your favourite place, then follow its instruction (to run studio.sh)
You can do all this as "normal user", i.e. you don't need to be root.
And then it'll keep downloading stuff .. some 6G maybe.
Seems to work fine (on chimaera).

#884 Re: Other Issues » Android studio real in Devuan? » 2022-04-03 22:51:04

Normal downloading and installation works fine.
Which part is tainted with badness?

#885 Re: Devuan Derivatives » Could we use the signature "D" in Devuan » 2022-03-29 20:45:00

Yes I think there was a mistake on that link;
the OP had this link: https://imgur.com/8MA5SQK which does include the "swosh"

#886 Re: Installation » Chimaera: xfce4 and changing to another window manager » 2022-03-16 21:44:59

Note that libelogind0 provides and replaces libsystemd0, but libsystemd0 is not similarly declared to provide libsystemd0 (it is libsystemd0 and thereby incidentally provides it) so apt gets slightly confused about that "mixed messaging" until libelogind0 gets installed.

#887 Re: Hardware & System Configuration » [SOLVED] Dual monitor configuration » 2022-03-08 05:49:27

Well, it operates on the current display, as known in the DISPLAY variable or given as command parameter, and it's typically run as the logged in user (not root) in a terminal window. I.e., open your terminal window and type the command there.

#889 Re: Hardware & System Configuration » [SOLVED] Dual monitor configuration » 2022-03-07 21:30:26

The program is xrandr, on the command line.

First just

$ xrandr

so you can see what your monitor outlets are called.

Second some configuration adjustment, e.g. like:

$ xrandr --output $mon2 --auto --right-of $mon1

which would enable $mon2 in its default resolution and logically place it top aligned to the right of $mon1.

Use man xrandr for information.

#890 Re: Documentation » Devuan GNU+Linux Command-line Installation Guide (In progress) » 2022-03-06 08:25:50

It all depends on what you include in your sysvinit concept.

The core level for sysvinit is the configuration expressed in /etc/inittab, which declares a range of different configuration of "managed services" depending on the runlevel.

The operational runlevels typically include running /etc/rc which technicaly is a core level one-shot service for starting other self-managed services via their control programs or scripts typically residing in /etc/init.d. Those control programs or scripts are expected to implement some few command line commands such as "start", "status" and "stop".

If you have sysvinit installed, this is well documented in e.g. man init, man runlevel and man insserv and their related man pages.

It may be worth to point out that the service control at runlevel transitions nowadays uses dependency driven parallelism, and the sequential boot of early millenium is abandoned. See e.g. man startpar for details.

#893 Re: Installation » [SOLVED] Installing Devuan via command line » 2022-02-18 23:12:11

It's not unusal to get all sort of such problem if you happen to omit or forget to set up the virtual filesystems (esp. proc, sysfs and devpts) and device nodes in the chroot.

grub, for instance, will want to access both the disk device as a whole as well as the boot partition on that device, and it also wants that boot directory to be present on that disk device.

But you probably don't want that installation to mess with your "outside" boot so you should refrain from bind-mounting /dev. Rather you set up the appropriate device node for the target disk image under an alias name within the chroot; i.e., for example, use mknod naming it "sda" but with major/minor identifying the actual device (perhaps "sdf" for a removable, or "loop0" for a  duly set up disk image file).

#894 Re: Hardware & System Configuration » Severe damage to ext4 filesystem - advice needed » 2022-02-13 21:32:09

Yes, good, that's better, since GPT decorates both the head and the tail of the device.

#895 Re: Hardware & System Configuration » Severe damage to ext4 filesystem - advice needed » 2022-02-13 21:03:23

@Altoid, to recover an DOS partition table, you clear the first 1 Mb of the device:

# dd if=/dev/zero of=/dev/sdf bs=1M count=1 conv=notrunc

NOTE THIS IS HARMFUL TO A DISK. Make sure doubly /dev/sdf is the disk at hand.

Then run fdisk to create a DOS partition table as per post #3, create a single primary partition of type 83 starting at 2048 and ending at end.

Thereafter run fsck as per superblock advice at post #7, trying some of the discovered superblocks.

Then mount sdf1.

Might work, though it doesn't recover overwritten files of course.

#896 Re: DIY » I am in need of a particular suspend+lock script » 2022-02-13 04:37:33

You could maybe you use the -killtime and -killer

Though I'm not sure what "warn for 30 minutes" means; warn repeatedly for 30 minutes?

I suppose eg a 5 minute killer could check the time since slock start, and warn or eventually call pm-suspend?

#897 Re: Hardware & System Configuration » Severe damage to ext4 filesystem - advice needed » 2022-02-11 01:04:15

If it was me, I would run fdisk to set up a new partition table... I would make a dos partition table starting from scratch possibly deleting whatever entries it has, then using defaults, all on my habit of normally using the defaults for my disk partitioning.

#898 Re: Off-topic » syntax highlighting » 2022-02-04 22:08:59

I need spaces to line up the clock exactly on the centreline, tabs don't quite match.

printf "%$((COLUMNS / 2))s%s%s\n" "$(date +%H%M)" "$state" "$symbols"

Then, for the OP, I think some syntax highlighting is good some really bad; especially when it's made for dark background where I use light background.

#899 Re: Hardware & System Configuration » [SOLVED] USB refusing to connect to one device » 2022-01-25 11:02:27

The directory /etc/modbrobe.d holds files that are used by the modrobe program/command to in particular use given parameters to modules as they are loaded.

If you want to give parameters when usbcore is loaded, then you would typically make a file named usbcore.conf in that directory, and in the file write a line

options usbcore use_both_schemes=y

That line tells modprobe to use that parameter setting when loading the module.

In order to take effect, the module must first be unloaded before loaded again; the parameter setting applies at loading.

Some modules allow some parameters to be changed also for a loaded module. You would do that with a command similar to

# echo y > /sys/module/usbcore/parameters/use_both_schemes

The redirection must be done as root of course.

#900 Re: Other Issues » Why debtree wont appear in some packages in Devuan Package View ? » 2022-01-16 23:25:33

Well spotted.

Specifically that happened due to a rendering bug in debtree which now has got a local patch (and a bug report lodged against debtree)

Board footer

Forum Software