The officially official Devuan Forum!

You are not logged in.

#201 Re: Installation » Getting out of Help menu in installer » 2022-07-14 15:40:58

Thank you.
I've created an installation video . I'll use that hint in future versions.

#202 Installation » Getting out of Help menu in installer » 2022-07-01 08:23:42

chomwitt
Replies: 2

Installing Devuan Chimaera's netinstall iso  in a qemu vm  i see the initial installation menu and choosed Help.
There by pressing  F keys  i can see various help menus but i cant find a way to return to
the main menu.
Also i tried to hit Enter to install but i get:
No DEFAULT or UI configuration directive found!

#203 Re: Other Issues » Running a privileged command at login. » 2022-06-27 23:46:50

Interestingly invocation section of man page of bash dont refer to profile.d .
So maybe it started as a distro practice that stuck  and now it's used a a global config-set up space ?
I found an interesting discussion here.

It seems that profile.d is used in some distros that use some shells that parse that folder for application specifics setups.

In my devuan installation:

/etc/profile.d$ ls
bash_completion.sh       flatpak.sh  gawk.sh      vte.csh  gawk.csh    vte-2.91.sh

But that wont work in a case like mine but only if libvirtd was reading some shell enviroment
variable to determine what net setup to enable when started.

So i guess profile.d is one way to setup an 'enviroment' for applications that would look to certain env variables.
If an app looks only to a config file profile.d it's not needed.

In my case i found first here  about a command that fixes
a network error in virt-manager. Now as @xinomilo told me that can be set either with a terminal command or a gui setting   that changes a relative setting.

I propably was unlucky finding only the first 'solution'  that make me understand that a command fixes an error . But now it seems it's just an application
setting that propably sitting in a config file and there are two ways to change that 'file' and propably to edit it by a text editor.
And maybe virt-manager shouldnt either report it as an error! That small detail could have put me into a different fix mentality and not in the 'config' mentality.

To sum it up. It was a setting issue masqueraded as a  pseudo 'correct functioning' issue.

#204 Re: Other Issues » Running a privileged command at login. » 2022-06-27 18:02:59

xinomilo wrote:
chomwitt wrote:

From where ? From general options or a VM options ? I didnt find anything.

Connection Options.
if you already connected virt-manager to local libvirtd : choose that (qemu:///system) connection and :
(menu) Edit -> Connection Details -> Virtual Networks tab -> choose network, and check "Autostart On Boot"  on network Details.

I found it. Thanks!

#205 Re: Other Issues » Running a privileged command at login. » 2022-06-27 17:57:44

Reading here https://www.linuxfromscratch.org/blfs/v … ofile.html
it seems that profile.d is for scripts that set up the shell enviroments.
So if i wanted to setup an application and it's initial set up i should do it from somewhere else.
But i've just read an askubuntu post where network config is attempted from a profile.d script.

#206 Re: Other Issues » Running a privileged command at login. » 2022-06-27 17:49:15

xinomilo wrote:

.. (you can also change this from virt-manager/GUI).

From where ? From general options or a VM options ? I didnt find anything.

#207 Re: Other Issues » Running a privileged command at login. » 2022-06-27 17:43:05

Head_on_a_Stick wrote:
Head_on_a_Stick wrote:

Was the script executable?

Sorry, that was a stupid question. Files in /etc/profile.d/ are sourced rather than executed. D'oh!

That explains why other scripts in profile.d werent executable.

Generaly i realized that profile.d is for preparing the system wide enviroment (of bash only or more generally ?)
So a more sound approach would be to start libvirtd and then make sure the default networking is enabled .

#208 Re: Other Issues » Running a privileged command at login. » 2022-06-27 16:17:01

xinomilo wrote:

virsh is a libvirt client, so yes, libvirtd must be started in order for virsh to work..
although this https://dev1galaxy.org/viewtopic.php?pid=36441#p36441 makes your command unnecessary.. (you can also change this from virt-manager/GUI).

Yes i understand that. But i was curious to see if indeed a 'root' command can be executed in profile.d
So i could make the script wait and poll the processes and when libvirt is executed then to execute the command!

#209 Re: Other Issues » Running a privileged command at login. » 2022-06-27 14:03:09

I made it executable but still nothing.

#!/bin/sh

export TESTPROFILEDOTD=1970
virsh net-start default   &

The test var is changed but not the net default state.
I suspect that virt-manager and libvirtd process must have started first.

#210 Re: Other Issues » Running a privileged command at login. » 2022-06-26 17:47:33

@Head_on_a_Stick Thanks! that worked.
I wonder why thought the script in /etc/profile.d/enableqemunetworking.sh  didnt seem to work.

#211 Re: Other Issues » Running a privileged command at login. » 2022-06-26 17:16:01

MiyoLinux wrote:

Are you familiar with cron jobs? That's one way to do it. smile

I know it's purpose, not familiar but i'll manage.

I tried that so far:

$ less /etc/profile.d/enableqemunetworking.sh
#!/bin/sh
virsh net-start default   &

but didnt work..
@HeadonStick i try to enable qemu networking but the command only works with sudo.

#212 Other Issues » Running a privileged command at login. » 2022-06-26 16:45:33

chomwitt
Replies: 16

I'm using Devuan GNU/Linux 5 with runit.

I want to run a 'sudo' command at login. I guess it needs to be
started as a root command without having to provide a password.
How could i do that?

#213 Re: Desktop and Multimedia » Does daedalus contain xfce4-screensaver ? » 2022-02-21 10:04:14

Ok. so i'll keep xscreensaver for now .

$ aptitude why xscreensaver
i   task-xfce-desktop Depends    xfce4                               
i A xfce4             Depends    xfce4-session (>= 4.16.0)           
i A xfce4-session     Recommends xscreensaver | light-locker | i3lock

#214 Desktop and Multimedia » Does daedalus contain xfce4-screensaver ? » 2022-02-18 07:14:33

chomwitt
Replies: 3

Goodmorning.

I cant find a similarly named package for the xfce4-screensaver utility :

$ sudo apt-cache search screensaver
boinc-screensaver - screen saver auto-controlling volunteer computing
cinnamon-screensaver - Cinnamon screen saver and locker
gnome-screensaver - Screensaver and screen lock formerly used in GNOME
mate-screensaver - MATE screen saver and locker
xscreensaver - Screensaver daemon and frontend for X11
...

#216 Desktop and Multimedia » Unpredictable screensaver » 2022-02-16 09:11:25

chomwitt
Replies: 3

Distro: Devuan GNU/Linux 5 (daedalus) (runit) Desktop: Xfce 4.16.0

Trying to figure out some unpredictable behavior on a fresh installation related among else  to screensaver (1)
i noticed that xsceensaver -systemd running . I wonder if that could create problems when systemd is not installed.

(1)
https://forum.xfce.org/viewtopic.php?pid=66137#p66137

#217 Off-topic » I managed to run 'The Red String Club' in Devuan Daedalus. » 2022-02-11 18:17:42

chomwitt
Replies: 0

The Red Strings Club (wikipedia) has definitely hit a string in me..
Not in terms of gameplay (it has some boring minigames) but in the atmosphere it creates.
Alas it's 386 binary and also depends on an old lib :libcrypto.so.1.0.0 and libssl.so.1.0.0 that i found them in a old ubuntu repo archive.
I have a screenshoot in my toot in mastodon with a link to detailed instructions.

Has anyone else played it?

#218 Re: Desktop and Multimedia » xmonad doenst work » 2022-02-10 16:47:56

It seems there is an x-terminal-emulator.
As for the 'windows' key i'll need more time to search because my keyboard is a ergodox with custom mapping with no such key.

$ update-alternatives --display x-terminal-emulator
x-terminal-emulator - auto mode
  link best version is /usr/bin/xfce4-terminal.wrapper
  link currently points to /usr/bin/xfce4-terminal.wrapper
  link x-terminal-emulator is /usr/bin/x-terminal-emulator
  slave x-terminal-emulator.1.gz is /usr/share/man/man1/x-terminal-emulator.1.gz
/usr/bin/koi8rxterm - priority 20
  slave x-terminal-emulator.1.gz: /usr/share/man/man1/koi8rxterm.1.gz
/usr/bin/lxterm - priority 30
  slave x-terminal-emulator.1.gz: /usr/share/man/man1/lxterm.1.gz
/usr/bin/uxterm - priority 20
  slave x-terminal-emulator.1.gz: /usr/share/man/man1/uxterm.1.gz
/usr/bin/xfce4-terminal.wrapper - priority 40
  slave x-terminal-emulator.1.gz: /usr/share/man/man1/xfce4-terminal.1.gz
/usr/bin/xterm - priority 20
  slave x-terminal-emulator.1.gz: /usr/share/man/man1/xterm.1.gz

#219 Desktop and Multimedia » xmonad doenst work » 2022-02-10 15:54:30

chomwitt
Replies: 3

I have xfce as my main desktop and i wanted to try xmonad.

sudo apt-get install xmonad

I log out and in the login screen with F1 i choose as session xmonad.
But when i log in i see the same devuan default background with the text (xmonad session)
but nothing happens.
It's supposed to be able to launch a terminal with Alt + Shift + Enter.

System:
  Host: enoush2o Kernel: 5.15.0-3-amd64 x86_64 bits: 64 Desktop: Xfce 4.16.0
    Distro: Devuan GNU/Linux 5 (daedalus/ceres)

#220 Other Issues » Firefox , Luakit and Chrome warn that devuan.org not secure. » 2022-01-23 12:41:23

chomwitt
Replies: 3

Firefox 78.11 and Chrome 97.0.4692.71 warn https://www.devuan.org not secure.
In the addres bar 'https' is striked red and a security exception must be added to access it.

As for firefox and Luakit is first time i see that warning.
I cant say about chrome because i use it occasionaly,

Luakit warning :
Your connection may be insecure!
A problem occurred while loading the URL https://www.devuan.org/
Unacceptable TLS certificate: The certificate has expired.

Chrome:
Your connection is not private
Attackers might be trying to steal your information from www.devuan.org (for example, passwords, messages, or credit cards). Learn more
NET::ERR_CERT_DATE_INVALID

#221 Other Issues » debtags and devuan » 2022-01-17 15:46:19

chomwitt
Replies: 0

Having noticed that a binary .deb control file doenst contain tags and neither dpkg knows about them , and
seen that apt-cache do , and that (as it was pointed to me in the irc)  /var/lib/apt/lists$ emacs deb.devuan.org_merged_dists_chimaera_main_binary-amd64_Packages  has tags i wanted to dig a little deeper on how that tags get there.

Could someone explain with a broad and generic view how devuan uses and 'merges' debtags?

#225 Re: Other Issues » Reporting issues for debian packages. » 2022-01-16 15:28:41

Ok, finally i managed to send the bugreport to debian by :
$ reportbug --bts debian
https://bugs.debian.org/cgi-bin/bugrepo … ug=1003831

But i think it would be more user friendly :-)  reportbug to handle that , because now the sender must
crosscheck for if the package s(he) reports for is unforked and imported from debian

Board footer

Forum Software