Artix Linux Forum

General Category => Discussion about Artix => Topic started by: andythe_great on 02 October 2018, 16:31:19

Title: Will there be runit of LXQt iso?
Post by: andythe_great on 02 October 2018, 16:31:19
Right now there are lxqt openrc iso. Will there be runit of LXQt iso any time soon?
Title: Re: Will there be runit of LXQt iso?
Post by: fungalnet on 02 October 2018, 19:53:52
Make yourself a partition and mount it in /mnt
You can use the latest iso which is the artix base and runit to install
Code: [Select]
# basestrap /mnt base base-devel runit

https://wiki.artixlinux.org/Main/Installation

This will get you a system to log into (after you get the bootloader all straight).
install xorg
install lxqt and galaxy/artix-lxqt-presets
install a display manager (lxdm or sddm) and the corresponding runit script if you want to boot and go straight to the DM login screen (ie sddm-runit)
Code: [Select]
# ln -s /etc/runit/sv/sddm /run/runit/sddm

to get the service running
https://wiki.artixlinux.org/Main/Runit

Till the actual new isos appear try this and shoot any questions or problems here if you run into a problem.
Title: Re: Will there be runit of LXQt iso?
Post by: andythe_great on 02 October 2018, 21:34:48
I will try

Also just a quick note,
When I try to grub-install --recheck /dev/sda
it failed saying that it can't find canonical path for overlay

I need to add --root-directory=/mnt for it to work
Title: Re: Will there be runit of LXQt iso?
Post by: andythe_great on 02 October 2018, 21:39:27
Oh, I have to chroot first
Title: Re: Will there be runit of LXQt iso?
Post by: andythe_great on 02 October 2018, 22:01:18
I reboot, but I am it said that I am not in the sudoers file
Title: Re: Will there be runit of LXQt iso?
Post by: andythe_great on 02 October 2018, 22:23:41
I can be root with su-
but now I have no internet
Title: Re: Will there be runit of LXQt iso?
Post by: andythe_great on 02 October 2018, 22:58:07
sv status NetworkManager
run: NetworkManager: (pid 1298) 233s

Its appear to be working

But sometime bash report

wlp2s0: Reject scan trigger since one is already pending

I run dmesg
IPv6: ADDCONF (NETDEV_UP): enp0s20u3: link is not ready
IPv6: ADDCONF (NETDEV_UP): wlp2s0: link is not ready
Title: Re: Will there be runit of LXQt iso?
Post by: fungalnet on 02 October 2018, 23:00:43
Basically you need to add your user into the wheel group  /etc/group and modify  the sudoers file as well
https://wiki.archlinux.org/index.php/Sudo#Example_entries

Read through the runit wiki on how to enable/start services.  I don't know which networking you have chosen, NetworkManager used to be the default I think, or dhcpcd is what I use.

For anything artix specific look at the artix wiki, the rest you can look up at arch-wiki.

If you
Code: [Select]
# ls /etc/runit/sv

You can see what services you have available
If you
Code: [Select]
# ls /run/runit

You see what is already enabled
the following command links the installed service to the init sequence, that is how runit knows what to start.  For example dhcpcd (if you have dhcpcd-runit installed)
# ln -s /etc/runit/sv/dhcpcd /run/runit/dhcpcd  WRONG
Code: [Select]
# ln -s /etc/runit/sv/dhcpcd /run/runit/service
CORRECT
will start/enable the dhcpc daemon which should get you connected.
If you have NetworkManager start that one.
Title: Re: Will there be runit of LXQt iso?
Post by: fungalnet on 02 October 2018, 23:03:20
So is LXQT up and running?

See, you didn't need a huge iso and you get a better feel for how artix works.
Title: Re: Will there be runit of LXQt iso?
Post by: andythe_great on 02 October 2018, 23:17:08
 I fix sudo just now thanks.

When I run
# ls /etc/runit/sv
There are NetworkManager

# ls /run/runit
Dont have networkmanager

I execute
# ln -s /etc/runit/sv/NetworkManager /run/runit/NetworkManager

Then I run
# ls /run/runit
I have networkmanager now
Title: Re: Will there be runit of LXQt iso?
Post by: andythe_great on 02 October 2018, 23:18:12
But I still can't connect to internet.
I use usb tethering from android

This is so sad
Title: Re: Will there be runit of LXQt iso?
Post by: andythe_great on 02 October 2018, 23:37:23
i will try reinstal
Title: Re: Will there be runit of LXQt iso?
Post by: fungalnet on 02 October 2018, 23:41:15
What does
# ip a
show you?

There used to be nm-tui and I think there are network-manager-applet and nm-connection-editor , see if you can install them through chroot

Also try dhcpcd-runitserv

Sorry I am not familiar with usb-tethering connections and whether they translate as interfaces.  The# ip a command should show active interfaces and their connection status.
Title: Re: Will there be runit of LXQt iso?
Post by: andythe_great on 03 October 2018, 01:01:36
I finish reinstall

In the installation wiki

I install network manager by
pacman -S networkmanager networkmanager-runit network-manager-applet

I cannot do a rc-update command because its is not openrc
So I have to skip that and reboot and then do

# ln -s /etc/runit/sv/NetworkManager /run/runit/NetworkManager

after reboot

Title: Re: Will there be runit of LXQt iso?
Post by: andythe_great on 03 October 2018, 02:04:07
https://i.imgur.com/EomvZEAg.jpg
Title: Re: Will there be runit of LXQt iso?
Post by: andythe_great on 03 October 2018, 02:22:00
Something interesting
https://i.imgur.com/wDWyicKg.jpg
Title: Re: Will there be runit of LXQt iso?
Post by: konimex on 03 October 2018, 07:07:46
You're doing it wrong.

It should've been

Code: [Select]
ln -s /etc/runit/sv/<service name> /run/runit/service

Then a new symlink to NetworkManager (/run/runit/service/NetworkManager) will be made inside /run/runit/service.
Title: Re: Will there be runit of LXQt iso?
Post by: fungalnet on 03 October 2018, 09:45:37
Sorry, I confused you with my example (https://forum.artixlinux.org/index.php/topic,691.msg5345.html#msg5345), I haven't done it in a while.  I corrected it so nobody else makes the same mistake.

I use this pkg called net-tools which incorporates ifconfig (interface - conf..)
Code: [Select]
# ifconfig 
Will show you what is active

Code: [Select]
# ifconfig enp0s25 up
will bring the interface up (sudo if not in root/su)
Code: [Select]
# ifconfig wlp2s0 down
will bring your wifi interface down if you are not using it.

If you want easier if names (like eth0 and wlan0) add this to /boot/grub/grub.cfg  in the linux line net.ifnames=0 or add it in /etc/default/grub so everytime you update grub it will be entered automatically on each entry.

Once online I recommend artools-base and learn how to use them.
Title: Re: Will there be runit of LXQt iso?
Post by: Dudemanguy on 03 October 2018, 15:41:10
Just as an FYI, I've done usb tethering once with a dhcpcd and runit setup and found that I had to add the mac address of the device (via the ip command) for it to work. I don't know if NetworkManager does this for you or not. I also can't exactly remember the details so I'm afraid I can't be of much specific help.
Title: Re: Will there be runit of LXQt iso?
Post by: andythe_great on 03 October 2018, 15:52:52
Just as an FYI, I've done usb tethering once with a dhcpcd and runit setup and found that I had to add the mac address of the device (via the ip command) for it to work. I don't know if NetworkManager does this for you or not. I also can't exactly remember the details so I'm afraid I can't be of much specific help.

USB tethering work with live usb but not after reboot.
Title: Re: Will there be runit of LXQt iso?
Post by: andythe_great on 03 October 2018, 16:02:38
Sorry, I confused you with my example (https://forum.artixlinux.org/index.php/topic,691.msg5345.html#msg5345), I haven't done it in a while.  I corrected it so nobody else makes the same mistake.

I use this pkg called net-tools which incorporates ifconfig (interface - conf..)
Code: [Select]
# ifconfig 
Will show you what is active

Code: [Select]
# ifconfig enp0s25 up
will bring the interface up (sudo if not in root/su)
Code: [Select]
# ifconfig wlp2s0 down
will bring your wifi interface down if you are not using it.

If you want easier if names (like eth0 and wlan0) add this to /boot/grub/grub.cfg  in the linux line net.ifnames=0 or add it in /etc/default/grub so everytime you update grub it will be entered automatically on each entry.

Once online I recommend artools-base and learn how to use them.

Hold on, re installing with net-tools
Title: Re: Will there be runit of LXQt iso?
Post by: andythe_great on 03 October 2018, 16:47:26
This is getting out of hand

I did
Install net-tools

Reboot, unplug usb

ln -s /etc/runit/sv/NetworkManager /run/runit/service

Reboot

# sv status NetworkManager
down: NetworkManager: 1s, normally up, want up

hmmm

# ln -s /etc/runit/sv/NetworkManager /run/runit/service

file already exist

# sv up NetworkManager
still down

# sv restart NetworkManager
timeout: down NetworkManager: 0s, normally up, want up
Title: Re: Will there be runit of LXQt iso?
Post by: andythe_great on 03 October 2018, 16:50:33
May be I have to use something else than network manager
Title: Re: Will there be runit of LXQt iso?
Post by: andythe_great on 03 October 2018, 16:53:51
not sure if this help but when I boot live usb
I select : From CD/DVD/ISO: artix.x86_64
Title: Re: Will there be runit of LXQt iso?
Post by: fungalnet on 03 October 2018, 19:50:08
Code: [Select]
# ifconfig

How many interface names do you have?  lo   enp025s..  wl***... ?
Maybe the networkmanager is trying to configure the wifi and you have no firmware for it and is taking too long.
When you boot with usb do you have a network connection? 
Title: Re: Will there be runit of LXQt iso?
Post by: andythe_great on 03 October 2018, 21:23:45
I start live usb with USB/HDD this time

rebooted

Performed
ln -s /etc/runit/sv/NetworkManager /run/runit/service


sv status NetworkManager
run: NetworkManager: (pid 1349) 658s

ifconfig
https://i.imgur.com/RbI5Y5Yg.jpg
nmcli
https://i.imgur.com/nAGzYk9g.jpg
nmcli show device nmcli show connection
https://i.imgur.com/rAuc0JLg.jpg

Don't know if this is important but it is wifi which i didn't use
wlp2s0: Reject scan trigger since one is already pending
Title: Re: Will there be runit of LXQt iso?
Post by: andythe_great on 03 October 2018, 21:36:33
Guyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyys
SSSSSSSOOOOOOOOOOLLLLLLLLLLLLLLLLVVVVVVVVVVVVVVVVEEEEEEEEEEEEDDDDDDDDDDDDD

I run

dhcpcd

and booooom

I didn't even install dhcpcd-runit

I always think networkmanager will do the job, seems that its not.
Title: Re: Will there be runit of LXQt iso?
Post by: andythe_great on 03 October 2018, 22:02:18
ummmmm
So I install plasma-meta sddm-runit

and then execute
# ln -s /etc/runit/sv/sddm /run/runit/sddm

It immediately take me to login screen, but when I put my password, it said
Could not sync environment to dbus
And then it freeze

I don't know how to go back to cli
pressing ctrl+alt f1-f12 wont work

reboot take me immediately to login screen

also i didn't do this yet
nano /etc/conf.d/xdm   <- edit and set DISPLAYMANAGER="sddm"

not sure if that the cause
Title: Re: Will there be runit of LXQt iso?
Post by: andythe_great on 03 October 2018, 22:12:54
Welp, I guess \i will reinstall.
Title: Re: Will there be runit of LXQt iso?
Post by: nous on 03 October 2018, 22:28:25
Why don't you just boot into /bin/sh and remove sddm from the runlevel? Append init=/bin/sh to your kernel commandline, remount your root r/w (mount / -o remount,rw) and remove sddm. Reboot and profit.
Title: Re: Will there be runit of LXQt iso?
Post by: andythe_great on 03 October 2018, 23:47:57
Why don't you just boot into /bin/sh and remove sddm from the runlevel? Append init=/bin/sh to your kernel commandline, remount your root r/w (mount / -o remount,rw) and remove sddm. Reboot and profit.
lol, I don't understand any of that. But I reinstall anyway

Anyway
I came to this step
nano /etc/conf.d/xdm   <- edit and set DISPLAYMANAGER="lxdm"

but since I use sddm
the dir does not exist
Where do I go for sddm?
Title: Re: Will there be runit of LXQt iso?
Post by: andythe_great on 04 October 2018, 00:37:52
hmmmm I have dbus-runit installed
Why is it complaining could not sync to DBus ?

sv status dbus
it is running
Title: Re: Will there be runit of LXQt iso?
Post by: fungalnet on 04 October 2018, 01:14:28
Like @konimex pointed out earlier today

Quote
and then execute
# ln -s /etc/runit/sv/sddm /run/runit/sddm

Code: [Select]
# ln -s /etc/runit/sv/sddm /run/runit/service
Code: [Select]
# ln -s /etc/runit/sv/dbus /run/runit/service
Code: [Select]
# ln -s /etc/runit/sv/dhcpcd /run/runit/service
Title: Re: Will there be runit of LXQt iso?
Post by: andythe_great on 04 October 2018, 01:28:59
OMG guysss
I install lxqt and lxdm
I can login to lxqt now

But why can't do it on kde plasma?
It give me could not sync to DBus
Title: Re: Will there be runit of LXQt iso?
Post by: andythe_great on 04 October 2018, 01:32:57
Like @konimex pointed out earlier today

Code: [Select]
# ln -s /etc/runit/sv/sddm /run/runit/service
Code: [Select]
# ln -s /etc/runit/sv/dbus /run/runit/service
Code: [Select]
# ln -s /etc/runit/sv/dhcpcd /run/runit/service

I did
Code: [Select]
# ln -s /etc/runit/sv/dbus /run/runit/service
Code: [Select]
# ln -s /etc/runit/sv/dhcpcd /run/runit/service

but I start sddm just by execute
sddm

but still same error

I install lxqt and start lxdm
it work

I tried going into lxdm and start plasma
still dbus error, it is almost kde plasma specific problem.
Title: Re: Will there be runit of LXQt iso?
Post by: nous on 04 October 2018, 09:53:22
Wild guess? (https://forum.artixlinux.org/index.php/topic,99.msg679.html)

[EDIT]
Also, new openrc and runit testing ISOs are up (https://sourceforge.net/projects/artix-linux/files/iso/lxqt/).
Title: Re: Will there be runit of LXQt iso?
Post by: andythe_great on 04 October 2018, 14:46:24
Wild guess? (https://forum.artixlinux.org/index.php/topic,99.msg679.html)

[EDIT]
Also, new openrc and runit testing ISOs are up (https://sourceforge.net/projects/artix-linux/files/iso/lxqt/).

i dont have such fiiles
~/.config/kwinrc

I will try it out
Title: Re: Will there be runit of LXQt iso?
Post by: andythe_great on 04 October 2018, 15:08:45
I tried a new runit lxqt iso

there is a mirror in pacman.conf/mirrorlist

Server = https:// 127.0.0.1:55555/$repos/os/$arch

I'm not sure what that does.
Title: Re: Will there be runit of LXQt iso?
Post by: andythe_great on 04 October 2018, 15:13:36
Also,
Falcon internet browser. it is recommend to use ublock origin instead of adblock
adblock is known to receive money to let some advert pass.

Do not confuse ublock and ublock origin, they are not the same.
Title: Re: Will there be runit of LXQt iso?
Post by: andythe_great on 04 October 2018, 15:23:35
Thanks for the ISO Artix dev !!!
*Big Hug*