Page 1 of 1
Random log out of desktop
Posted: Tue Mar 02, 2021 7:43 pm
by russelld
Hi,
This is my first post!
Really appreciate the GhostBSD distro that makes is so easy to get up a running FreeBSD OS and desktop for this *BSD n00b
However, after installing GhostBSD on a oldish pc (HP Z400), the OS logs my user out of the desktop.
This happens several times a week.
hw-probe result
https://bsd-hardware.info/?probe=bf0d7fe4f1
uname -a:
Code: Select all
FreeBSD rootz 12.2-STABLE FreeBSD 12.2-STABLE GENERIC amd64
thanks in advance for your help and advice!
Re: Random log out of desktop
Posted: Fri Mar 05, 2021 8:34 am
by ericbsd
Can you try our latest 13.0 build? It is at
https://download.ghostbsd.org/development/amd64/latest/ we do have a lot of fixed problems on that one.
Re: Random log out of desktop
Posted: Sun Mar 07, 2021 6:06 am
by russelld
hey ericbsd,
Thanks for the suggestion!
Is it possible to upgrade the existing 12.2-stable already on this system?
Re: Random log out of desktop
Posted: Mon Mar 08, 2021 6:18 pm
by ericbsd
russelld wrote: ↑Sun Mar 07, 2021 6:06 am
hey ericbsd,
Thanks for the suggestion!
Is it possible to upgrade the existing 12.2-stable already on this system?
Yes, it is a bit tricky but possible.
I recommend creating a backup BE in case of everything goes wrong.
In /etc/pkg/GhostBSD.conf comment this line:
Code: Select all
"http://pkg.ghostbsd.org/stable/${ABI}/latest",
and add this:
Code: Select all
url: "http://pkg.ghostbsd.org/stable/FreeBSD:13:amd64/latest",
It should look like this:
Code: Select all
# $GhostBSD$
#
# To disable this repository, instead of modifying or removing this file,
# create a /usr/local/etc/pkg/repos/GhostBSD.conf file:
#
# mkdir -p /usr/local/etc/pkg/repos
# echo "GhostBSD: { enabled: no }" > /usr/local/etc/pkg/repos/GhostBSD.conf
#
GhostBSD: {
# url: "http://pkg.ghostbsd.org/stable/${ABI}/latest",
url: "http://pkg.ghostbsd.org/stable/FreeBSD:13:amd64/latest",
enabled: yes
}
Everything below I recommend to run in a TTY. Just press Ctrl+Alt+F2 login as root or use
sudo su.
You need to bootsrap before upgrade.
Code: Select all
# env IGNORE_OSVERSION=yes pkg bootstrap -f
Now you can upgrade with this:
Code: Select all
# env ABI=freebsd:13:amd64 pkg-static upgrade -f
After that is done you can reboot.
If everything looks good you can upgrade your pools by doing this:
Re: Random log out of desktop
Posted: Tue Mar 09, 2021 7:16 am
by russelld
Hi ericbsd,
thanks heaps for the instructions on how to do this!
Code: Select all
Number of packages to be removed: 5
Number of packages to be installed: 1
Number of packages to be reinstalled: 1224
Number of packages to be downgraded: 13
The operation will free 7 MiB.
3 GiB to be downloaded.
wow, this is going to take a while....
and will have a shiny new ghostBSD on this box in the morning
Re: Random log out of desktop
Posted: Tue Mar 09, 2021 7:19 pm
by russelld
Reboot and remapped zfs pools.
Looking good so far in
Code: Select all
$ uname -a
FreeBSD rootz 13.0-STABLE FreeBSD 13.0-STABLE GENERIC amd64
thanks ericbsd!!