-
antranigv
can anyone check this?
reviews.freebsd.org/D37383 did I change too much?
-
VimDiesel
Title: ⚙ D37383 service(8): add -s for showing status
-
cpet
antranigv, it was accepted why do you need more noise ?
-
antranigv
cpet oh no no it still needs more review. there are some services that return 0 even if it's not running :(
-
antranigv
cpet what's noise?
-
cpet
normally you have a service and you know of that service why do I need to klnow that all services are running ?
-
antranigv
cpet oh well, say you just logged into a server, by doing service -es, you can see the status of all enabled services.
-
cpet
so as a sys admin thats the first thing you do ?
-
antranigv
actually the first thing I do is `ps auxd -J 0` :D
-
cpet
I dont login to it is there is no issues
-
cpet
heh
-
cpet
hrm
-
antranigv
maybe I should add --libxo support as well to service(8)!
-
cpet
antranigv, im not a fan of making *bsd into a linux distro but look at this for reference
-
antranigv
cpet I like copying good things :P actually I got the idea from `systemctl list-unit-files`
-
cpet
openbsd has it in rcctl
-
cpet
-
VimDiesel
Title: src/usr.sbin/rcctl/rcctl.sh - view - 1.114
-
cpet
may help you ?
-
cpet
basically does for i in bleh/service service status
-
antranigv
yeah, the problem here is that... 1) services don't return 1 when not running 2) some services return a whole output, like jls, or a routing table :/
-
cpet
yeah all the service scripts would need to changed for -s to work
-
cpet
personally dont see a point but if you want to take the time
-
antranigv
I *think* I fixed everything in base
-
cpet
yeah what about the 32k ports :)
-
cpet
chris@hp:/usr/ports % find . -name "*.in"|wc -l
-
cpet
5712
-
cpet
:)
-
antranigv
time to get to work!
-
cpet
indeed
-
cpet
antranigv, personally I would just do that with the daemons and ignore the rest
-
cpet
antranigv, netif for example doesnt need to be included as its run only once
-
antranigv
cpet oh these are just the daemons :D like zfskeys has `status` subcommand
-
cpet
so jls why?
-
antranigv
because `service jail status` runs jls
-
antranigv
so even if there's no jail running, it returns 0
-
cpet
yeah I can see that this will take a while heh
-
cpet
I still do rc.d/slappy restart
-
antranigv
well, that's fixed. zfskeys are fixed. lets see what's next
-
antranigv
cpet what's slappy?
-
cpet
made up service name
-
antranigv
ohh
-
antranigv
lol
-
cpet
change it to sappy its a nirvana song
-
antranigv
xD
-
cpet
antranigv, just note just becuase x is in y doesnt mean you need to add y to x
-
antranigv
wait, what?
-
cpet
ill let you work that out
-
antranigv
it's 6AM and i didn't sleep yet... 1 minute
-
antranigv
ohh as in yD
-
antranigv
LOL
-
sfox
Does failover mode in FreeBSD Link Aggregation require any support on behalf of the switch?
docs.freebsd.org/en/books/handbook/…ced-networking/#network-aggregation I was attempting to setup LACP but am having a lot of issues. Apparently it might not be implemented in hardware on my switch so i'm looking for alternatives
-
VimDiesel
Title: Chapter 33. Advanced Networking | FreeBSD Documentation Portal
-
sfox
or do I just have to configure two ports the same
-
cpet
man lagg ?
-
ek
sfox: If your switch/router doesn't support LACP, you won't be able to use a standard LAGG configuration on FBSD (or anything else, as far as I know.)
-
sfox
wdym standard LAGG?
-
cpet
LAGG takes 2-3 connection and makes it into one, when one fails it reroute to second
-
cpet
think it came from openbsd ?
-
cpet
or was that carp?
-
parv
Could|Should PORTS_MODULE be used to always make some ports on buildworld?
-
parv
s/make/build+install/
-
cpet
parv, PORTS_MODULES
-
cpet
and yes
-
cpet
for kernel ports it is recommeded in my opinion to rebuild regardless of if its release stable or current
-
parv
cpet, Right, thanks for the correction. Yes, I was uncertain if ports which do not install a kernel module could fail for lack of the said module
-
cpet
pretty much only applies to drm* and a few set of other ports
-
cpet
such as qemu or virtualbox
-
cpet
but seeing how bhyve works wonders well you dont really need to install those
-
parv
Yup, along with drm-kmod I would like to update net/wifibox.
-
cpet
not what that is as I removed and snapped my wifi cards from both desktops
-
cpet
sure*
-
parv
Haha ... why? Could have left them alone (& blacklisted any offending drivers)
-
cpet
they werent supported and I cant have G speeds on gig net
-
parv
Where would I find the make variable listed that would install packages for dependencies when building a port?
-
sfox
How can I configure freebsd 13 to print kernel boot messages on 0x2F8?
-
sfox
It keeps assigning 0x3F8 as /dev/console despite me explicitly putting this in loader.conf
-
sfox
hint.uart.0.flags="0x0"
-
sfox
hint.uart.1.flags="0x10"
-
sfox
(uart1 is xF8h
-
sfox
(uart1 is 2f8h)
-
parv
-
VimDiesel
Title: patmaddox comments on Installing port dependencies as packages?
-
sfox
uart0: <16550 or compatible> port 0x3f8-0x3ff irq 4 on acpi0
-
sfox
uart0: console (115200,n,8,1)
-
sfox
uart1: <16550 or compatible> port 0x2f8-0x2ff irq 3 flags 0x10 on acpi0
-
sfox
it's not LISTENING to my flags!
-
parv
Ok. USE_PACKAGE_DEPENDS{,_ONLY} are mentioned in /usr/ports/Mk/bsd.port.mk as comment
-
sfox
why would uart1 not become console despite flags 0x10?
-
rtprio
sfox: is they keyboard plugged in?
-
sfox
rtprio, yes
-
sfox
a usb one
-
sfox
could that interfere?
-
rtprio
yes, it could
-
rtprio
-
VimDiesel
Title: Chapter 28. Serial Communications | FreeBSD Documentation Portal
-
rtprio
(also, i only used lagg with lacp on a smart switch, roundrobin on a dumb one)
-
cpet
so you want a console yet you have a USB keyboard plugged in ?
-
sfox
I have a usb keyboard plugged in because i'm trying to make sure IPMI SOL is working before i unplug it and close the closet forever
-
sfox
another weird thing is that when things actually work and the kernel spits it's loading messages to the SOL port, " console comconsole failed to initialize" sprays across the bootloader screen 3 times
-
sfox
I've no idea where it comes from
-
sfox
rtprio, it's interesting to note roundrobin works without special switch configuration. I'd assume it'd have mac address flopping issues but i guess not
-
sfox
my switch DOES have LACP but apparently because it's not implemented in hardware and there's only a 1gbit internal interconnect between the switch cpu and the switch ASIC it's worthless
-
sfox
it's a mikrotik CRS125
-
rtprio
i don't get much out of lacp either but it's just one of those homelab things
-
rtprio
well, at the loader menu you can choose the console when you have a keyboard, but iirc you don't get to pick the com port
-
cpet
you have to set that in the kernel at compile time
-
sfox
oooooh
-
sfox
i see
-
sfox
/boot/device.hints conflicting with /boot/loader.conf hints
-
sfox
hopefully
-
cpet
normally you set the boot loader with the option for console first then keyboard
-
cpet
think its boot -P
-
cpet
so you would add a /boot.config with -P
-
cpet
this way the kernel uses the console regardless and if it fails goes back to keyboard
-
sfox
YES! It's finnaly working properly, without spraying errors
-
sfox
thankyou rtprio and cpet
-
sfox
turns out the IRQs and device addresses for the serial ports were wrong and swapping them around in /boot/device.hints fixed it
-
sfox
also the serial port speed can be set in loader.conf with comconsole_speed you don't have to recompile the kernel
-
cpet
make sure you change the speed 115200 is a lot better than 9600
-
sfox
yes
-
cpet
even though it look nice and retro when it takes 15 secs to scroll a single line
-
cpet
as it boots
-
sfox
only thing weird is that SOL after freebsd boots is chunky and jittery
-
sfox
vs SOL talking to the bootloader and BIOS is nice and smooth
-
sfox
without much delay
-
cpet
what is SOL i see that and I read shit outta luck
-
sfox
serial-over-lan
-
sfox
it's a service provided by the BMC (baseboard management controller) on server motherboards
-
sfox
it provides some out of band management functionality in a standard api (IPMI2.0)
-
sfox
it's a backdoor (the good kind you can actually control)
-
cpet
yeah I know about IPMI
-
cpet
serial is limited to even though its over LAN it would still spit out at 115200 baud which is still slow
-
sfox
basiclly, i'm using that because my BMC's KVM feature requires some java webstart thing to work which is broken
-
sfox
probably only works with java7 or something i don't know
-
sfox
so i'm using sol instead which doesn't require java and i can use GNU freeipmi
-
cpet
my IPKVM worked with some hacks
-
sfox
oh really?
-
sfox
I'd like to know your hacks
-
cpet
just using firefox and the java ext
-
sfox
I'm using an Asrock Rack Xeon-D board
-
cpet
then loading it and doing all the allowing java thinks is cool to do
-
sfox
I installed icedtea-netx but allowed it to run but when it tries to execute it just results in a stacktrace or a blank window
-
sfox
so the jnlp file is broken
-
sfox
i wish it were that simple
-
cpet
main system is windows so the HP system next to it is the BSD/VM/VNC system
-
cpet
guessing you are using one of the few non broken linux distros ?
-
sfox
Devuan
-
sfox
is that non broken?
-
sfox
grr. when I use vim in the serial console whenever i press home it changes the character under my cursor to a capital letter
-
sfox
what's up with that
-
cpet
dont think the console uses a keymap
-
sfox
cool! lagg failover works decently well
-
rwp
sfox, In vim the ~ character toggle case. So the current keymap must have a ~ in the sequence for that key.
-
rwp
You can dump the current keymap using "kbdcontrol". I suggest with -x for hex output "kbdcontrol -xd".
-
rwp
sfox, The ANSI terminal escape sequence for Home is ESC [ 1 ~ so it makes sense that this would eventually toggle case with ~ if that is not recognized as Home.
-
sfox
so i need to replace the terminal type in /etc/ttys with ansi instead of vt100?
-
cpet
or cons25
-
sfox
what is cons25?
-
cpet
what we used before it was changed to xterm
-
sfox
can i set the serial port to xterm?
-
sfox
what that cause a problem?
-
cpet
you can change it to any that is supported in the termfile
-
rwp
vt100 is the basis for the ansi terminal so, no, no need to change it.
-
rwp
I would not think anyway. I actually don't use vim at all so I don't know if vim needs that or not.
-
cpet
dont confuse the term emu and the keymap
-
rwp
You could try it on the fly with "env TERM=ansi vim" and see if that changes things before getting crazy changing other things.
-
sfox
great!
-
cpet
doesnt env show the env ?
-
sfox
setting xterm in /etc/ttys worked
-
rwp
"env" is the simple way to give a command that sets environment variables that works identically for all of csh, tcsh, sh, ksh, bash, zsh.
-
sfox
even though it's a serial port
-
sfox
rwp, interestingly enough the env TERM reads xterm-256color regardless of what's in /etc/ttys
-
cpet
always thoguth env shows setenv sets
-
rwp
Because on the sh side of the family tree one can "TERM=vt100 vim" and set the variable for that one command. But that does not work for csh, tcsh.
-
rwp
env without any arguments dumps the environment.
-
rwp
env is also typically used to invoke the given command on PATH. Often used in "#!/usr/bin/env ruby" and other uses.
-
rwp
sfox, "env TERM reads xterm-256color", huh, what, huh? What "reading" are we talking about there.
-
sfox
nevermind
-
sfox
i think it's time i stopped computering for the night
-
rwp
Okay. Neverminding.
-
sfox
thank you for the help
-
rwp
It's late for me too. But I am upgrading a system, the upgrade went bad due to a disk space problem, and now I am trying to sort things out.
-
rwp
Not a FreeBSD system, unfortunately, or it would be easier to fix. :-(
-
rwp
Got things onto an even keel. But now need to figure out the RoundCube upgrade, which apparently changed things. But that's the last on the broken list now.
-
rwp
Miles to go before I can sleep. No rest for the weary.
-
cpet
screw that ive learned long time ago
-
bsdbandit
\
-
bsdbandit
good morning everyone
-
ghoti
# ifconfig bridge0 ; ifconfig bridge0 create
-
ghoti
ifconfig: interface bridge0 does not exist
-
ghoti
ifconfig: interface bridge0 already exists
-
ghoti
wha?
-
meka
ghoti: there are 2 things that come to mind
-
meka
first, does bridge0 exist after executing "ifconfig bridge0"
-
meka
second, maybe it's renamed. For example, I have cbsd0 interface, which is actually bridge0 renamed to cbsd0
-
meka
ghoti: to be precise, this is the relevant part of my /etc/rc.conf:
bsd.to/LHWO
-
VimDiesel
Title: dpaste/LHWO (Plain Text)
-
mns
The only way to reload the kernel after freebsd-update is to reboot yes ? freebsd-version -kru gives me -p3, -p2, and -p4 in that order.
-
xmj
yes
-
Teraii
someone has cpu issue and slowing with thunderbird ?
-
Molnija
no
-
Teraii
:(
-
Molnija
thunderbird does automatically rehash its databases a lot though
-
Molnija
so you could be suffering that
-
Teraii
yes i allready fixed this one
-
Teraii
but this is definitly not that now
-
Teraii
all options are inaccessible
-
dch
I love datacentre-grade networking
-
dch
rsync 1.34G 100% 276.90MB/s
-
dch
its so fast it didn't even have time to ramp up to max throughput
-
Molnija
ha
-
dch
time was, I could get a coffee from the cart outside before this was even half way through
-
Molnija
a
-
sixpiece
hello
-
sixpiece
I am having a problem with my freebsd I am stuck in sddm
-
sixpiece
is there a way to escape it?
-
sixpiece
I tried ctrl + alt + f1
-
sixpiece
it might be the problem I am on virtual box
-
rtprio
i thought it was f8 or f7, but i tend to try them all until it works
-
sixpiece
nothing is working
-
sixpiece
is there something that can be done?
-
rtprio
ctrl-alt-backspace to kill x
-
Kalten
or log in to the machine vie ssh (e.g. using your mobile phone) and kill Xorg
-
sixpiece
I found a way to get in with user session
-
Kalten
Should you use the power button, do try to use ACPI shutdown, i.e. press it for a short time, not longer than 4 seconds. The system likely will shut down without damaging the file systems
-
sixpiece
ctrl alt backspace didn't work
-
sixpiece
interesting
-
sixpiece
how do I fix the issue?
-
Kalten
It could be a problem with USB mouse or keyboard: happens sometimes.
-
sixpiece
no but I mean x no longer starts
-
sixpiece
it's vmware that could be the issue
-
sixpiece
because the vm ware escape key is ctrl + alt
-
rtprio
x no longer starts is a different thing; what's on the screen when you're trying to buttonmash
-
Kalten
You were sending the sequence to your lokal Xorg, not that in vmware ;-)
-
rtprio
also, isn't there a "send keys" menu in virtualbox?
-
sixpiece
it's vmware not virtualbox unfortunately
-
sixpiece
I have virtualbox also but not my freebsd on it
-
sixpiece
-
sixpiece
that's the Xorg log
-
sixpiece
it suddenly stopped working after an upgrade
-
rtprio
are you starting x with `startx` ?
-
sixpiece
no it automatically does it
-
sixpiece
probably a good idea to remove it from rc.conf I guess
-
rtprio
nothing looks wrong with that logfile; what did you upgrade from/to ?
-
rtprio
i susspect the issue might be with your window manager?
-
sixpiece
so I set sddm_enable="NO"
-
sixpiece
maybe a small upgrade on vmware maybe an upgrade on freebsd
-
rtprio
i don't know anything about sddm
-
sixpiece
say from 13.1-release-p2 to ..-p3
-
sixpiece
I'm rebooting now to see what it does
-
sixpiece
sddm is the password thing in the beginning that I couldn't escape from
-
rtprio
and you can't log into sddm?
-
sixpiece
I can but then it goes to startx
-
sixpiece
and then I cannot get the x to work so it restarted
-
sixpiece
I removed and reinstalled it that didn't solve the problem
-
rtprio
what do you mean 'it goes to startx'? do you have an .xinitrc file and what's in it?
-
sixpiece
I mean it attempts to boot x after password entered and then since x fails it returns almost immediately loops back
-
sixpiece
I am getting these errors warning: could not resolve keysym xf86kbdLcdMenu1
-
sixpiece
rtprio : xinitrc is found at
termbin.com/un3f
-
sixpiece
when I do Xorg -configure I get
-
cpet
think that is know to not work very well
-
cpet
and xorg should just support all the things
-
sixpiece
what do you mean?
-
cpet
it has seg faulted for years to a point the handbook says not to use it
-
cpet
Video cards, monitors, and input devices are automatically detected and do not require any manual configuration. Do not create xorg.conf or run a -configure step unless automatic configuration fails.
-
Molnija
cpet: WHAT?
-
Molnija
utterly and completely incoherent
-
cpet
would you like a link to the handbook where I got that from ?
-
Molnija
yes, I would
-
Molnija
so I know where to submit a patch
-
cpet
-
VimDiesel
Title: Chapter 5. The X Window System | FreeBSD Documentation Portal
-
Molnija
regarding the segfaulting.
-
Molnija
or is that your own synthesis
-
cpet
sorry I dont comprehend such big words can you reword ?
-
sixpiece
thanks cpet I have been looking there
-
sixpiece
I am trying to see if lumina is the problem potentially and installing kde
-
cpet
actually lumina is not a bad DE however I prefer KDE or xfce
-
sixpiece
whatever I liked it
-
sixpiece
it was working then it stopped
-
sixpiece
I don't know why
-
sixpiece
so I will try to see if installing kde resolves it
-
cpet
was the default in PCBSD TrueOS when it was a thing
-
sixpiece
-
VimDiesel
Title: xorg.conf
-
sixpiece
otherwise I will go through the details of that
-
cpet
should just work without any of that
-
sixpiece
yes it wasn't my intention
-
cpet
but then again I was using Xfree86 before Xorg was the norm
-
sixpiece
It just stopped working
-
sixpiece
maybe this is the problem?
-
cpet
-
VimDiesel
Title: 182969 – x11/xorg: Xorg crashes on -configure
-
cpet
Molnija, read the PR before you just randomly open your mouth with "synthesis" that I dont know what I am talking about
-
cpet
ok?
-
cpet
sixpiece, do you have errors or the typical it worked but doesnt now ?
-
sixpiece
there was warnings that weren't there before on the symlink xf86 something
-
sixpiece
they said it wasn't fatal and the error I remember was with xinit
-
cpet
well thats help thank you
-
cpet
heh
-
sixpiece
connection to x server lost
-
Molnija
the arrogance of cpet shall not be infringed
-
sixpiece
and there was little errors with my declaration of screen, monitor it said for screen no monitor associated no something
-
cpet
really should need to mess with xorg.conf with the exception of nvidia but theres an app for that xorg-nvidia I think it's called
-
Molnija
I have had to mess with ih
-
Molnija
the closure reason is utter diarrhea. Crashing out is not the intended behavior of Xorg -configure - if it is, then X11 is truly abandoned
-
sixpiece
I'm just going to wait for the kde to install if there's an issue after than I will be back
-
Sircle
Any freebsd compatible recommendations on a decent webcam or some sort of device, phone, dedicated video recorder that can shoot high quality production videos in low light? whats the starting point/lowest budget for this?
-
root
hello
-
root
let me get out of root I guess
-
Molnija
o:
-
V_PauAmma_V
Sircle, might be easier to start by finding out which webcams or recorders suit your lighting and quality requirements, then check whether FreeBSD supports them.
-
sixpiece
hello back
-
sixpiece
so yes I got it to work as root
-
sixpiece
but then if I sign in as a user it flashes the screen out of control and no luck
-
sixpiece
I didn't mean to make this today's project
-
sixpiece
I have enough things to do in the next 3 weeks
-
sixpiece
after I can spend a week on it
-
sixpiece
would be nice if it work
-
sixpiece
worked
-
Sircle
V_PauAmma_V thanks
-
sixpiece
any idea why xfce would work fine for root but not for a user?
-
sixpiece
I have to add them to video group maybe?
-
sixpiece
what a headache
-
sixpiece
this has taken way longer than I wanted it to
-
sixpiece
it seriously shouldn't be this complicated
-
kiwichap
hello it worked
-
kiwichap
not fully but somewhat it's working
-
kiwichap
it's got bugs like I can log in as kiwichap but I can't login as sixpiece with the sddm not sure why
-
sixpiece
is there any way to break out of the sddm?
-
sixpiece
with vmware?
-
Molnija
same way you break from any other X11 DM; i.e. send C-M-Fn
-
Molnija
where n is a number
-
sixpiece
what is M?
-
sixpiece
C is CTRL?
-
sixpiece
C is CTRL? what is M?
-
Molnija
M is Alt
-
sixpiece
but the problem is that with VM ware its ctrl and alt is to escape
-
mns
M is Meta which on most keyboards maps to Alt. Technically would be Esc as well.
-
sixpiece
I found it
-
sixpiece
it's like CTRL + ALT + spacebar but then just release space bar
-
Molnija
hm
-
Molnija
VMWare should allow you to change to a differentkey
-
sixpiece
they don't virtualbox does though
-
Molnija
damnit
-
yuripv
it can be configured here on vmware workstation
-
jmnbtslsQE
is there a way to see what is causing gpart delete (deleting one partition) to fail with "Device busy" ?
-
cpet
normally doesnt support what your doing or youre cd'ed into the device or mounted
-
sixpiece
I am trying to upgrade to workstation 17 maybe this is the problem that disrupted my harmonious happy freebsd
-
sixpiece
like the small upgrade I made
-
sixpiece
I just did the upgrade going to restart the computer now
-
cpet
what the hell is workstation 17
-
cpet
vmware :(
-
kiwichap
is there any way I can get out of this?
-
cpet
/part ?
-
kiwichap
I am in xfce now as non root
-
kiwichap
but I want to be able to get to root
-
cpet
logout and login as user ?
-
Molnija
fire up a terminal and su - ?
-
kiwichap
I tried that it says sorry
-
cpet
open a term and sudo.su to root
-
cpet
press ctrl alt f2 and login to root in console
-
kiwichap
not found
-
cpet
remove the .
-
kiwichap
I cannot type f2 because vmware regular doesn't allow it
-
cpet
I dont know I dont run OS in vm's
-
kiwichap
password doesn't work
-
kiwichap
even though it does
-
kiwichap
there's no way to get out ? lol
-
kiwichap
in the booting stage?
-
kiwichap
maybe there's a fake keyboard
-
cpet
take your phone out and start googling for vmware shortcuts ?
-
kiwichap
I figured it out lol
-
cpet
also this isnt #vmware ;/
-
cpet
cause you know we have to stay on topic
-
kiwichap
I'm not sure yet but there's a keyboard shortcuts on xfce and I changed it to alt and escape
-
Molnija
good god.
-
cpet
guess he didint add hios user to wheel
-
Molnija
probably not
-
kiwichap
it just killed the chat..
-
Molnija
what? :/
-
Molnija
kiwichap: are you able to escape a C-M-F3 into the VM and get a root or toor shell from which to add your user to wheel?
-
kiwichap
no
-
kiwichap
but I can restart but I guess there's no way to stop that part of the boot process?
-
cpet
honestly dont know what the issue is
-
kiwichap
lol
-
kiwichap
I want to be able to use as root as sudo create users as a username
-
kiwichap
I don't want to be like not able to ever install a program here
-
cpet
use a virtual keyboard and press ctrl alt f2
-
cpet
at the prompt loing as root
-
cpet
and add yourself to wheel
-
cpet
this way you can open a term and su as root
-
cpet
then you can install sudo or doas
-
cpet
and possibly dont run vmware in full screen without reading up on short cuts
-
cpet
or do what I do and buy 1 x SSD per OS installed
-
kiwichap
I guess just reinstall it on virtualbox?
-
kiwichap
or like hyperv
-
kiwichap
and delete this one?
-
kiwichap
it was a lot of effort getting the sound working ,e tc..
-
kiwichap
but I guess I will be able to figure it out
-
kiwichap
is there any other option?
-
cpet
still dont know what the issue is hah
-
kiwichap
is there a way to change the steps of the rc.conf?
-
kiwichap
ok cpet I will try to explain it
-
kiwichap
I did some upgrades
-
kiwichap
freebsd and vmware
-
kiwichap
then all of a sudden the windows part no longer works
-
cpet
so you upgraded without reading the issues involved
-
kiwichap
so I tried a few things and got it to work in root and thought ok you guys won't like it if I am here in root
-
kiwichap
so then I enabled sddm in rc.conf and did a restart
-
cpet
never understood the root thing but yeah
-
kiwichap
now I can enter xfce in the user account of kiwichap but not sixpiece and not root
-
kiwichap
I cannot exit the xfce environment
-
cpet
mouse doesnt work ?
-
kiwichap
which means I will no longer be able to upgrade, install apps
-
kiwichap
mouse works
-
kiwichap
but suppose I wanted an app like tmux or java or whatever I cannot install
-
cpet
clickon applications then Terminal su -u sixpiece
-
cpet
then su to root if allowed
-
cpet
I would add that user to wheel as well
-
kiwichap
it says illegal option
-
kiwichap
easy said not easily done
-
cpet
su sixpiece
-
kiwichap
that worked
-
kiwichap
thank you
-
cpet
does that user in the wheel group
-
cpet
is that*
-
cpet
pw groupmod wheel -m username
-
cpet
should not have any issues after that I would install sudo as well
-
kiwichap
apparently not
-
kiwichap
I didn't add correctly
-
cpet
did you add that user to video group as well ?
-
kiwichap
apparently not
-
kiwichap
how do you add?
-
cpet
pw groupmod wheel -m username
-
cpet
change wheel to video
-
kiwichap
it's not adding the users
-
cpet
is that eveb required any more
-
kiwichap
it's weird
-
cpet
-
VimDiesel
Title: Chapter 5. The X Window System | FreeBSD Documentation Portal
-
kiwichap
should I just use this as root user now?
-
kiwichap
cause without sddm I can get in as root
-
cpet
you can do whatever you want its your PC
-
kiwichap
but with sddm I can get in as kiwichap but no sudo or video group
-
kiwichap
yes that's nice to know but I mean like lol
-
cpet
nice thing about Unix* is you can customize it to your liking
-
kiwichap
if you let me make the microcontroller and told me I was free to do it however I want don't be surprised when we get 8086 back in fashion
-
cpet
may not be recomended or std but hey
-
kiwichap
microprocessor sorry
-
kiwichap
yes but I am having trouble with the system that's what I am saying
-
cpet
well us something to work with then
-
cpet
saying it doesnt work wont help you much
-
kiwichap
I was explaining it
-
cpet
<kiwichap> then all of a sudden the windows part no longer works
-
kiwichap
with xfce I have a choice : rc.conf -> enable sddm or not => if yes -> root only for xfce otherwise else kiwichap with xfce
-
kiwichap
or just use commandprompt
-
cpet
why not login as user and sudo/su to root?
-
kiwichap
I guess that works
-
cpet
you said you cant logout or what not which tells me something is broke
-
kiwichap
I can logout but I couldn't get out of xfce
-
cpet
you logout it should go back to sddm or console
-
cpet
again no errors makes it hard to help you
-
kiwichap
normally if you type ctrl + alt + f1 it will allow this but cause I am on vMware and it's a virtual machine the VMware is not licensed so they purposely will not allow you to type the CTRL+ALT
-
kiwichap
exactly if I leave it enabled then it will go to sddm
-
kiwichap
if I disable it
-
kiwichap
then I can get to command prompt presumably
-
cpet
you are using a non free VM
-
cpet
get VB which is free and stop using prop software ;/
-
kiwichap
both vm ware and virtualbox are not free but the virtualbox pretends to not notice whether you are complying with the free terms whereas vmware doesn't take the risk and adds inconveniences to encourage one to pay for it
-
kiwichap
and I paid for hyperV
-
cpet
since when is VB not free ?
-
kiwichap
it's always been not free if you are using it for commercial purposes, etc..
-
kiwichap
similar agreement as VMware except VMware blocks off features on the free version whereas VirtualBox gives it the same either way
-
cpet
so you dont download it from virtualbox.org ?
-
kiwichap
you do
-
cpet
only thing thats not free is the USB crap
-
cpet
-
cpet
-
cpet
GPL3
-
kiwichap
why can't I add kiwichap to sudoers?
-
cpet
you have to do some reading
-
cpet
all this is basic stuff in handbook or man visudo
-
kiwichap
but sixpiece is in the sudoers
-
Molnija
it's called wheel, not sudoers, on freebsd
-
kiwichap
and why doesn't sixpiece's name show up in the sign in of sddm?
-
kiwichap
right
-
Molnija
is there a sixpiece account?
-
kiwichap
yes there is a sixpiece account
-
kiwichap
lol
-
Molnija
weird.
-
kiwichap
I wasted my whole day on this
-
kiwichap
and I actually had stuff to do
-
Molnija
maybe take a break, and get a hypervisor worth usingc
-
Molnija
asshole
-
Molnija
leave
-
Molnija
... yeah I'm getting too escalated, that oatmeal is not good for me
-
kiwichap
what do you mean?
-
kiwichap
oh thank you
-
kiwichap
first off Molnija
-
kiwichap
and cpet especially
-
kiwichap
as well as others
-
kiwichap
but I guess I suppose I could take a break now on this and figure out these bugs later
-
kiwichap
I didn't mean to say wasted sorry about that
-
Molnija
blerg
-
cpet
well if you cant figure out priorities that aint my fault
-
Molnija
Linux is the more hand-holdey of the unix-likes
-
kiwichap
I just meant I was hoping I didn't get held up on the system I did gentoo, arch , opensuse, solaris
-
Molnija
and the VM stuff for it is generally better than for W*nd*ws
-
cpet
took me almost a yr to finally setup bhyve with 2 VM
-
kiwichap
and was hoping I just spend an hour or so and upgrade everything
-
kiwichap
wow
-
cpet
that was your first mistake
-
Molnija
so try booting Linux on the host
-
kiwichap
it works I also did oracle linux
-
cpet
figured getting a job after being discharged was more important than making or figuring out how bhyve works
-
Molnija
cpet: oh do sod off with this barrage of acrimony that serves only to escalate everyone
-
kiwichap
exactly and I have deadlines with school
-
kiwichap
and so I didn't mind to spend a day but I mean
-
kiwichap
and then it still doesn't really work the way I would like it to
-
cpet
partiton your drive and install it ?
-
Molnija
you should just use VB really
-
cpet
if you didnt get a student discount for updating to pro you did it wrong ;/
-
kiwichap
well visudo was a good idea even though it was basic I hadn't done it apparently
-
kiwichap
how do I add kiwichap to wheel?
-
cpet
ffs
-
cpet
pw groupmod -wheel -m kiwichap
-
cpet
pw groupmod wheel -m kiwichap
-
kiwichap
why doesn't it work?
-
cpet
i dont know
-
kiwichap
well I guess I will accept it for now
-
kiwichap
thank you cpet
-
kiwichap
I will try to actually get something done with whatever is left of the day
-
kiwichap
not that this is not effective it's just it's not something I was asked to do
-
Molnija
pw groupmod wheel -m root,kiwichap
-
Molnija
(as root)
-
kiwichap
is that a comma?
-
Molnija
yes, it means adding both root and kiwichap to wheel
-
Molnija
a capital M means replacing the member list
-
kiwichap
no it won't go
-
kiwichap
I was thinking maybe from command prompt it will but not if the change is made in xfce
-
Molnija
you have to do it as root
-
kiwichap
yes that is done
-
Molnija
what does "it won't go" mean?
-
Molnija
"it doesn't work" is a chocolate teapot, as diagnostics go
-
cpet
if done in X you need to logout and login
-
kiwichap
if I type groups kiwichap it will show me wheel kiwichap as root but then as soon as I type exit
-
kiwichap
kiwichap@bsd: ~ $ groups I get only kiwichap
-
Molnija
you have to log out and log back in
-
Molnija
because your groups only get added to new logins
-
kiwichap
ok I can try that
-
cpet
root is the god of all gods on a unix system a user cant do much
-
kiwichap
thanks
-
Molnija
same as linux and solaris, btw
-
kiwichap
be right back
-
cpet
if that users isnt uid 0 it pretty much has no rights
-
kiwichap
thank you
-
cpet
so it cant add users or groups
-
kiwichap
be right back
-
cpet
chris@hp:~ % pw groupmod wheel -m chris
-
cpet
pw: gr_tmp(): Permission denied
-
cpet
hris@hp:~ % sudo pw groupmod wheel -m chris
-
cpet
Password:
-
cpet
chris@hp:~ %
-
cpet
uid=1001(chris) gid=1001(chris) groups=1001(chris),0(wheel)
-
cpet
uid=1001(chris) gid=1001(chris) groups=1001(chris),0(wheel),44(video)
-
kiwichap
thank you cnet
-
kiwichap
it works now
-
kiwichap
I will fix the other bugs later
-
kiwichap
I guess I will fix the last one
-
cpet
fix or ask ? :)
-
kiwichap
both probably
-
kiwichap
I mean I am searching it online at the same time
-
cpet
heh
-
kiwichap
ok it didn't work
-
kiwichap
I guess it's now ask :)
-
cpet
ok
-
kiwichap
be right back going to test my changes
-
kiwichap
I used a command vipw carefully edited it but I think I still can't sign in
-
cpet
normally when you mess with the passwd file you do more harm than good this is why we have pw
-
kiwichap
I think I will just erase sixpiece
-
kiwichap
maybe that will be easier
-
cpet
adduser
-
kiwichap
it didn't work
-
cpet
pw usermod chris -m username
-
kiwichap
I have a user that works and I can get to the command prompt if needed
-
kiwichap
what does that do?
-
cpet
again you cant add a user as a user
-
kiwichap
ok
-
cpet
think at this point I have to just say read a BSD book heh
-
kiwichap
you mean a regular user cannot use X?
-
kiwichap
I don't understand what you mean on that?
-
kiwichap
sixpiece was my prime user but all of a sudden
-
cpet
really find it hard to beleive vmware cause this much issue
-
cpet
all it does is run a disk image and boots it that is it
-
kiwichap
I don't know if it was that or upgrading from p2 to p3
-
kiwichap
lol
-
kiwichap
one or the other or inertia lol
-
cpet
I once locked myself out cause I enabled tcpwrappers
-
cpet
took the admins longer to fix it than to just reinstall
-
cpet
:)
-
kiwichap
lol
-
kiwichap
ok I guess I can leave it
-
cpet
root is like a CEO a user is a peon who cant do much without the CEO saying so
-
kiwichap
he's gone now and I kept the home directory
-
cpet
guess I should s/CEO/Manager
-
kiwichap
lol
-
kiwichap
I'm going to get to my other stuff
-
kiwichap
thank you cpet
-
nacelle
root is like the admin who controls the locks, you are the CEO. You tell root what to do.
-
cpet
so keyholder ?
-
nacelle
kind of yeah
-
nacelle
thats the guy that I had in mine when thinking that up, from a place I worked at - we had a lot of sites, and only a few people had a master key to all the sites (I was one of them, network nerd privs)
-
nacelle
he had the master key to the building where they made master keys, which was the one building i could not get into with mine
-
Erhard
I am the KeyMaster.
-
Erhard
I am the GateKeeper