-
dansa
I followed this
wiki.freebsd.org/SuspendResume and tested my system. It seems my video won't wake up. After pressing the power button to wake the system up, I blindly typed reboot and the machine rebooted. So I guess it's the video. Sadly---I was hoping for resume to disk, a feature which I really like in any system. Does anybody have any news on this?
-
ketas
suspend to disk isn't implemented at all, i don't know why
-
ketas
could be way too difficult or noone worked on it or... who knows
-
dansa
Such is life. :)
-
ketas
what i don't get is why obsd has it eh
-
ketas
different choices eh
-
ketas
it has limits there too iirc
-
dansa
yeah, different choices for sure
-
dansa
i don't know how close obsd and fbsd are these days
-
dansa
it's very nice to suspend to disk, but i believe we can live without it
-
dansa
first, i think my computer is on mostly through all day
-
dansa
a browser like firefox can start and recover all your pages; an editor like emacs can do the same
-
ketas
i've used ram
-
ketas
fuck even that sucked
-
ketas
it's a miracle bt works
-
dansa
if it worked, what sucked about it?
-
ketas
like it could freeze on resume
-
dansa
so it worked sometimes?
-
ketas
linux is not ideal too here and even windows has issue
-
ketas
on t60, it mostly worked
-
ketas
rare problem
-
ketas
then that hw broke and i didn't try again
-
ketas
certain hw could be left half way
-
dansa
what's t60?
-
ketas
it's also not just os
-
ketas
thinkpad
-
duncan
unpredictable issues with resuming are often to do with failing memory modules
-
ketas
what i had then
-
ketas
failing, like apart from memtest86+?
-
duncan
not necessarily exclusive of memtest86
-
duncan
some laptops are unstable with certain modules even if they pass it
-
ketas
even if it works otherwise?
-
ketas
eg completes buildworld
-
ketas
hidden issues are the worst
-
armin
02:25 [ dansa] i don't know how close obsd and fbsd are these days
-
armin
*extremely* different, it could well be that one works for you while the other doesn't, at least that's my experience so far
-
dansa
armin, thanks!
-
dansa
enabled xdm; will reboot; wish me luck
-
armin
The way with XDM that has worked for me in the past is sym-linking ~/.xinitrc to ~/.xsession, and only use XDM to start the xsession one after that, WHEN I know that the manual startx will start my session like expected...
-
ketas
x has changed over time
-
armin
Desktop initialization in general has changed over time.
-
dansa
glad you told me that before I tried :)
-
dansa
e$ ln -s .xinitrc .xsession
-
dansa
e$
-
armin
:D
-
dansa
see you soon :D
-
dansa
worked :)
-
dansa
but I had to set up a password for my account :(
-
ketas
why
-
ketas
well, or
-
dansa
I wouldn't log in without it
-
dansa
I pressed enter (an empty password), but that didn't go
-
armin
Most modern systems discourage or outright block the use of empty passwords for user accounts.
-
dansa
I think xdm is one of them
-
armin
But then again, you should be allowed to use one if you want, yea. :)
-
dansa
this is a computer that serves no login shell to the outside world
-
dansa
it's behind a router with no port forwarding
-
armin
Whatever, it's your very own decision, if you want to give that user a blank password noone should stop you.
-
dansa
exactly
-
dansa
maybe i'm giving a demonstration of how to invade computers...
-
armin
:D
-
dansa
:D
-
dansa
in which case I should really do it :)
-
dansa
and not fake it :P
-
dansa
let's research a bit about xdm and see if it can do it
-
armin
I brought an old thinclient to the 38c3 which I forgot has username/password user/user...
-
armin
Didn't take too long until my password got changed...
-
dansa
By someone?
-
armin
Probably some script-kid trying a password-list, but what do I know... :)
-
armin
It was just for an art installation, set it up freshly, started mpv in a while loop, all fine, 20min of work
-
dansa
What was your password? :)
-
armin
"user".
-
armin
just "user/user" because Lukas set it up :)
-
armin
And if he hadn't f*ck*ed up the SSH configuration that would have been no issue either. :)
-
dansa
I tried DisplayManager*authorize: false in xdm-config, but that does not do what I thought :) it seems to actually just allow other users to access my X session
-
armin
(but he did, lol)
-
armin
-
dansa
sad :)
-
armin
tl;dr: XDM has not autologin feature :)
-
armin
Well you can trivially script your way around this, it's a bit hacky, but it works
-
armin
Also lightdm should do it
-
dansa
how would you script around it?
-
dansa
(just curious)
-
dansa
lightdm? sounds interesting
-
armin
some "init script" I put in /etc/rc.d/ that sources the initialization files so it's known to the service manager, e.g. so you can do "customxdm_enable=YES" in /etc/rc.conf
-
armin
And from therein simply perform a startx in a while loop
-
armin
There *will* be a couple of issues with that approach, too, though... :)
-
armin
lightdm has "autologin" (just search in the config file)
-
armin
And make sure you know all the life-savers by heart: xset r rate 230 3, setxkbmap -option "terminate:ctrl_alt_bksp" and so on
-
armin
And make sure you know all the life-savers by heart: xset r rate 230 35, setxkbmap -option "terminate:ctrl_alt_bksp" and so on
-
armin
there was a 5 missing :)
-
armin
dansa: You can basically attach to all the things that your login manager sets up for you in advance by doing something like "dbus-launch ssh-agent startfluxbox" in xinitrc, too, you can talk to your ssh agent, add keys using ssh-add, will have DBUS support and so on...
-
dansa
why is the key rate a life saver?
-
armin
dansa: Because I don't like to wait when I type.
-
dansa
:)
-
dansa
"a life saver"
-
armin
:)
-
armin
That's the only thing that bothers me about macOS actually, when I put both sliders all the way up it's still too slow...
-
dansa
lightdm seems to have ignored my .xinitrc
-
armin
dansa: I'm pretty sure it will look for your .xsession or .Xsession files
-
armin
dansa: Maybe you need to tell it to use some "X session (default)" or something
-
dansa
My .xsession is a sym link to .xinitrc
-
armin
It might (or might not) only look for .Xsession (with a capital X)
-
dansa
Yeah, it's probably not finding where I put my stuff
-
dansa
I gotta continue this tomorrow---too tired.
-
dansa
Thanks, armin! Thanks for the help.
-
armin
:) sleep well
-
Oclair
Happy New Year!
-
debdrup
happy new year, folks!
-
hid3
Greeting everyone. I'm a Linux guy. I'm considering FreeBSD for my few future systems - maily network routers. One thing which bothers me is the upgradeabilty. Is it easy to upgrade a live and working system to a next release version without full system reinstall and taking the system down/offline for significant amount of time?
-
hid3
since it will be routers, it's logical they must serve 24x7x365. I wonder if it's possible to upgrade FreeBSD the similar way like in Debian you just do apt-get update/upgrade/dist-upgrade and then just reboot into the upgraded version
-
kevans
if you setup a ZFS BE and upgrade into a new BE everytime, you should be able to get away with a single-reboot upgrade
-
kevans
with the added bonus that you can quickly rollback if the upgrade afils
-
kevans
fails
-
hid3
nice, thanks for that
-
kevans
hid3: I will note that freebsd-update takes kind of an absurdly long time for major updates, but minor updates aren't so bad and the system is at least still usable while it's doing its thing
-
kevans
major update including updates between minor releases, minor updates being security patches... poor choice of words on my part, sorry
-
hid3
kevans: what's "absurdly long time" in numerical form of minutes / hours (or days..)?
-
BarnabasDK
am running a netgate/pfsense router - It is currently a firewall / router on a fiber connection. I am considering adding a simple failover WAN connection via 5g mobile internet on a simple USB 5g dongle. Do anyone have any tips which ones work best with FreeBSD?
-
BarnabasDK
I am leaning towards the Qualcomm Snapdragon X55 5G because my laptop has one, and it works quite well with linux
-
BarnabasDK
they are quite pricey though
shorturl.at/MCV8U
-
rtprio
that does seem expensive
-
BarnabasDK
yes
-
BarnabasDK
ah ok .. "Package includes a T-Mobile 5G SIM and activation guide." devil is in the detail
-
rwp
The default jail start is somewhat synchronous. You could write your own rc script to start your jails in the background converting them to asynchronous start.
-
kevans
hid3: maybe 30 minutes to an hour? I usually lose patience
-
kevans
at some point it'll be replaced by pkgbase, which is faster
-
rwp
Oh, network delay confusion, that from me was for something too long ago now. Oops. Ignore.