The officially official Devuan Forum!

You are not logged in.

#126 Re: Other Issues » xdm - X Display Manager (on beowulf system with no dbus operational) » 2020-06-15 09:30:13

Head_on_a_Stick wrote:
HevyDevy wrote:

I believe needs root rights as i have to install xserver-xorg-legacy and the modify  /etc/X11/Xwrapper.config
to have..
needs_root_rights=yes

Nope.

Devuan beowulf can now run rootless X OOTB (as long as the startx command is used) thanks to elogind smile

That may be true if using elogind but elogind depends on dbus and as i dont have dbus enabled and i have it pinned i have to use xserver-xorg-legacy. Thems the disadvantage of not using dbus i suppose.

#128 Re: Other Issues » xdm - X Display Manager (on beowulf system with no dbus operational) » 2020-06-15 09:01:13

Head_on_a_Stick wrote:

What about if you have ~/.xsession with just exec dwm and then add ~/.xsessionrc to source ~/.profile?

You probably shouldn't use xdm any way because it will run X under the root user. The startx command runs X under your normal user, which is much better.

Can confirm that having ~/.xsession with just exec dwm and ~/.xsessionrc sourcing ~/.profile is the solution.

I prefer startx but even that i believe needs root rights as i have to install xserver-xorg-legacy and the modify  /etc/X11/Xwrapper.config
to have..
needs_root_rights=yes

I was just interested to use xdm as it seems like the only display manager that does not need dbus as a dependency.

Anyhow thanks.

EDIT: correction looks like lxdm doesnt need dbus either.

#129 Re: Hardware & System Configuration » (Solved) Bluetooth » 2020-06-14 16:24:35

would this guide help you?

https://wiki.debian.org/BluetoothUser

also you should install rfkill package (sudo apt install rfkill)

rfkill - tool for enabling and disabling wireless devices

what does below command give?

sudo rfkill list

#130 Re: Other Issues » xdm - X Display Manager (on beowulf system with no dbus operational) » 2020-06-14 13:08:51

yes i did source before exec dwm.

if    [ -r ~/.profile ]; then
        . ~/.profile; 
fi

exec dwm

dwm is from suckless.org so, built from source.

There is definetly something im missing here, if i go back to startx and remove xdm .profile is sourced again.

#131 Re: Other Issues » Devuan and privacy » 2020-06-14 12:26:54

I use ghacks user.js for Firefox, makes it a bit more private along with some addons like canvas blocker, localcdn, privacy-orientated origin policy or POOP for short, ublock origin, site-bleacher,clearurls. And searx for the search engine as it is open source and no info is given over to the goog or any search engine!

https://github.com/ghacksuserjs/ghacks-user.js/

https://github.com/ghacksuserjs/ghacks- … aintenance

#132 Re: Other Issues » xdm - X Display Manager (on beowulf system with no dbus operational) » 2020-06-14 12:01:19

ok Hoas, on your advice i have removed .xinitrc and .xsession (not your advice on removing those files but if just using .xsessionrc they should not be needed right?)

I only have .xsessionrc and in that file is

exec dwm

.profile is still not sourced so lets add in what it says in regards to Xsession

https://wiki.debian.org/Xsession

You may dot in some other POSIX shell configuration file: if [ -r ~/.profile ]; then . ~/.profile; fi

nope .profile is still not being sourced.

#133 Other Issues » xdm - X Display Manager (on beowulf system with no dbus operational) » 2020-06-14 10:06:01

HevyDevy
Replies: 8

Ran into something this afternoon i thought strange, it probably because im missing something or other.
On beowulf using sysvinit, dbus disabled i installed xdm , rebooted and xdm failed to source .profile.
I have .xinitrc softlinked to .xsession

Should i be using .xprofile instead? <-- tried this, did not work copying over contents of .profile to .xprofile, not having .profile sourced means it loses some of my $PATH setup there.

In the meantime i found a decent fix whereby i just add in a file to  /etc/X11/Xsession.d/75local-profile

# Source a users .profile, etc
PROFILES="/etc/profile $HOME/.profile /etc/xprofile $HOME/.xprofile"

for PROFILE in $PROFILES ; do
  [ -f "$PROFILE" ] && . "$PROFILE"
done

/bin/true

credit to https://lists.debian.org/debian-user/20 … 02457.html

Regards.

#134 Re: Off-topic » system info practice script » 2020-06-14 09:57:53

Thanks fanderal, ive installed xdm display manager and tried that command of fsmithred but only get xdm (i have dwm as wm), must only work for lxdm, lightdm, gdm etc, what display manager are you using?

#135 Re: Hardware & System Configuration » Nonpersistent and encrypted image » 2020-06-13 17:17:00

Ive always been meaning to play around with veracrypt volumes as mentioned in below info, i wonder if one could create a method to have squashfs could utilize veracrypt in some way?

https://www.veracrypt.fr/en/VeraCrypt%2 … ystem.html

#136 Re: Off-topic » system info practice script » 2020-06-13 16:39:55

Nice, thanks Hoas. I was thinking that cat was not needed.

#137 Re: Off-topic » system info practice script » 2020-06-13 14:45:41

fsmithred wrote:

Works here on my beowulf. I didn't feel like installing wmctrl, so I changed that line to

printf  $titles "wm:" ; basename $(cat /etc/X11/default-display-manager)

Thanks fsmithred, that would work nicely for display managers i will add that in. cheers

#138 Re: Off-topic » system info practice script » 2020-06-13 14:14:21

Thanks Marjorie, ill see if i can get rid of that dependency on wmctrl.

#139 Re: Off-topic » system info practice script » 2020-06-13 14:09:10

Thanks nixer,

yeah if you havent got $EDITOR configured in .bashrc i dont think the script will display editor.

just put this in your bashrc

export EDITOR='vim'

replace vim for whatever editor you like.

cheers

#140 Re: Off-topic » system info practice script » 2020-06-13 13:06:01

also trying to work on incorporating the devuan logo in ascii somehow and also display manager and de for those who use them.

#141 Off-topic » system info practice script » 2020-06-13 12:47:37

HevyDevy
Replies: 11

Just thought i would share this here and ask a question or two..be mindful im only learning and hope to improve.

This is just a practice script to show system info but in a very basic way, has nothing on programs like neofetch or screenfetch etc.

So below is my effort so far and just want to know if this would work on your devuan system ok. Also id like to figure out a better method of displaying the window manager instead of using wmctrl, like something in coreutils.

Anyhow, needs bash and wmctrl as a dependency and is only work for devuan, i hope wink

#!/usr/bin/env bash

titles=('\e[1;34m%-6s\e[m\t') # blue titles
line=('\e[1;31m%-37s\e[m\n') # red line

printf "\n"

printf "\t" ; echo "$(whoami)@$(hostname)"

printf  $line | tr ' ' -

printf  $titles "os:" ; cat /etc/os-release | awk 'NR==1' | sed 's/............//;s/.//;s/.$//g'

printf  $titles "kernel:" ; uname --kernel-release

printf  $titles "uptime:" ; uptime -p | sed 's/^...//g'

printf  $titles "pkgs:" ; dpkg -l | wc -l

printf  $titles "memory:" ; free -mh | awk 'NR==2 {print $3" / "$2}'

printf  $titles "wm:" ; wmctrl -m | awk 'NR==1 {print $2}'

printf  $titles "shell:" ;  echo $SHELL

printf  $titles "editor:" ; echo $EDITOR

echo $'\e7\e[2;800H\e[16D\e[7m' $(date +"%Y/%m/%d %H:%M")$'\e8'

printf "\n"

prints out this with some colors and stuff like so.

        
          user@hostname
-------------------------------------
os:     Devuan GNU/Linux 3 (beowulf)
kernel: 4.19.0-9-amd64
uptime: 1 hour, 59 minutes
pkgs:   813
memory: 721Mi / 7.7Gi
wm:     dwm
shell:  /bin/bash
editor: vim

#142 Re: Devuan Derivatives » GNUinOS - Libre » 2020-06-13 12:35:48

thanks yohno and aitor, will give it another spin.

#144 Re: Off-topic » Show your desktop (rebooted) » 2020-06-12 16:29:19

anticapitalista wrote:

What if you install libelogind0?

yeah that might be the solution.

dpkg: libsystemd0:amd64: dependency problems, but removing anyway as you requested:
 xserver-xorg-core depends on libsystemd0; however:
  Package libsystemd0:amd64 is to be removed.
 samba-libs:amd64 depends on libsystemd0.
 rsyslog depends on libsystemd0.
 lvm2 depends on libsystemd0 (>= 222).
 libpulse0:amd64 depends on libsystemd0.
 liblvm2cmd2.03:amd64 depends on libsystemd0 (>= 222).
 libapt-pkg5.0:amd64 depends on libsystemd0 (>= 221).
 > ~$ ls -al /usr/lib/x86_64-linux-gnu/libsystemd.so.0
lrwxrwxrwx 1 root root 15 Jan  2 01:03 /usr/lib/x86_64-linux-gnu/libsystemd.so.0 -> libelogind.so.0

sudo dpkg -l | grep systemd > is blank.

Thanks for picking this up, i suppose having no install recommends in etc/apt/preferences.d probably left out libelogind somewhere.  Much needed package that one!

#145 Re: Off-topic » Show your desktop (rebooted) » 2020-06-12 15:41:22

¯\_(' ')_/¯ .

Its a devuan3 stable installation.

If i try to remove libsystemd0 it wants to remove these dependencies, not sure what dragged it in, but its there.

The following packages will be REMOVED:
  apt apt-listchanges apt-utils aptitude dmeventd libapt-inst2.0 libapt-pkg5.0 libavdevice58 liblvm2cmd2.03 libpulse0
  libsdl2-2.0-0 libsmbclient libsystemd0 lvm2 mpv python3-apt python3-reportbug reportbug rsyslog samba-libs
  task-english tasksel tasksel-data xorg xserver-xorg xserver-xorg-core xserver-xorg-input-all xserver-xorg-input-kbd
  xserver-xorg-input-libinput xserver-xorg-input-mouse xserver-xorg-video-all xserver-xorg-video-amdgpu
  xserver-xorg-video-ati xserver-xorg-video-fbdev xserver-xorg-video-intel xserver-xorg-video-nouveau
  xserver-xorg-video-radeon xserver-xorg-video-vesa xserver-xorg-video-vmware

#146 Re: Off-topic » Show your desktop (rebooted) » 2020-06-12 13:40:15

Nice scrots there miyo, ogis.

my simple dwm setup with latest stable devuan. terminus fonts everywhere wink

file manager is NNN.

no dbus sort of well just some libraries, firefox seems to work fine.

2020-06-12-232817-1366x768-scrot.png

2020-06-12-234742-1366x768-scrot.png

#147 Re: Installation » Not detect NIC's from install hd-media » 2020-06-11 14:52:20

Off topic. So is this like a dual boot method. So say sda1 is main partition and you boot hd-media from bare sda2 partition?

Or can you boot hd-media from a blank disk with only one partition?

Nevermind, i just found the needed documentation. Ive only ever installed via USB and did not know this was an option.

https://www.debian.org/releases/etch/i3 … 05.html.en

#148 Re: Installation » Boot menu says "Debian" instead of "Devuan" » 2020-06-09 14:13:59

Just some off hand info here.

Devuan system im currently using was installed to a usb stick  first using devuan installer then i proceeded to reinstall system from usb stick to ssd laptop using the usb stick via refractainstaller.

So if i just change GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian`

to

GRUB_DISTRIBUTOR=`lsb_release -d -s`

i get below for a grub boot menu

Devuan GNU/Linux 3 (beowulf)

#149 Re: Off-topic » Music » 2020-06-09 14:03:54

An old classic, Thin Lizzy, Whiskey in The Jar.

https://www.youtube.com/watch?v=wyQ-tScuzwM

Board footer

Forum Software