Guest76 14:12:14
After doing manual install to VirtualBox VM, I want to try KDE. I `apk add kde` and it completed without error. Now what do I do? How do I use it?
And ... Is there a way to boot to a graphical login window?
@awilfox A. Wilcox 14:23:20
we're still working on setting up the graphical login screen (technical term is a 'display manager')
it's packaged but not working right entirely yet
you should likely also run `apk add x11` (to also install X11 drivers and apps)
then you can run the following few commands:
# rc-update add consolekit default
this adds ConsoleKit to your default runlevel
# service consolekit start
this starts the ConsoleKit service so you don't have to restart the VM
then, as your user:
create a file called ~/.xinitrc
and paste the following line in to it:
exec ck-launch-session dbus-launch --exit-with-session startkde 2>~/.xsession-errors
then you may run $ startx
to start KDE
Guest76 14:31:27
Cool! Waiting for `apk add x11` now.
Guest76 14:32:39
FYI, the default VirtualBox display graphics controller didn't seem to work. `VBoxVGA` seems to work for at least the console.
We'll see about X11/KDE.
@awilfox A. Wilcox 14:36:56
yeah, we've had other reports of VBox3D not working properly, and I was able to actually lock up a test Mac laptop running VirtualBox with it :(
not sure why. it seemed to not work in Fedora, too, but Ubuntu was ok
Guest76 14:42:06
Hmmm, I'm on Fedora.
@awilfox A. Wilcox 14:42:32
I meant as a guest
running Fedora in VirtualBox gave the same error as running Adelie in it, but I could run Ubuntu in VirtualBox
* awilfox only has one x86 machine, and it is a Mac
Guest76 14:47:44
Ahhh
Guest76 14:52:58
Hmmm ... (EE) no screens found(EE)
@Aerdan Kiyoshi Aman 14:53:20
mesa-dri-swrast installed?
I don't recall if the `x11` meta package pulls in mesa-dri-*
Guest76 14:55:56
It wasn't loaded ... I installed it.... Same error. :-(
@Aerdan Kiyoshi Aman 14:59:10
could you upload the whole xorg.log somewhere, please?
Guest76 15:01:20
Is there an easy way to do that from a VirtualBox VM?
@Aerdan Kiyoshi Aman 15:03:10
install openssh-client and scp it to a VPS or something? or use curl with sprunge?
@awilfox A. Wilcox 15:04:37
you can also `apk add ix` and then run
cat /var/log/Xorg.0.log | ix
Guest76 15:06:34
http://ix.io/1Fn4
Never knew about `ix`. Cool!
@awilfox A. Wilcox 15:10:24
I think you need the guest additions :/
Guest76 15:11:09
... and that fails with `Unable to determine correct library path.`
@awilfox A. Wilcox 15:12:04
hmph, I thought it might be broken on musl
but I didn't realise it was quite that bad
Aerdan: djt: one of you want to try and see if you can get vbox guest additions building on an x86 box? I have my paws full with ARM64 right now
@Aerdan Kiyoshi Aman 15:13:01
(I still haven't gotten adélie installed in vmware, but that's in part because vmware's EFI 'support' doesn't extend to using it to load DVD images.)
@awilfox A. Wilcox 15:13:20
or maybe ask aranea, since he is the kernel module wizard
:P
@Aerdan Kiyoshi Aman 15:14:16
there is still a distinct lack of a tutorial on how to build kernel modules, yeah. :\
Guest76 15:31:42
FYI, I sent messages to adelie-users on the webpage and through email, but I didn't see the message posted on the webpage.
... before trying here.
@awilfox A. Wilcox 15:35:02
I do see your email in my inbox. you sent it right after I went through my messages for the morning, so I wouldn't have seen it for another 2-3 hours, sorry
the mailing list archives page seems to have this weird behaviour where it doesn't show messages you send, only responses... idk why
Guest76 15:38:32
Ahh, OK. In case you didn't know, I thought you should. :-)
@awilfox A. Wilcox 15:39:43
yep, appreciated!
Guest76 16:33:27
Success!
@awilfox A. Wilcox 16:33:48
oh? that's great!
Guest76 16:33:51
You were right about the guest additions...
It's a simple change to get them to compile...
@awilfox A. Wilcox 16:34:33
cool
Guest76 16:35:35
I moved `VBoxLinuxAdditions.run` to root's home dir.
Then executed `./VBoxLinuxAdditions.run --keep`
... it fails, but leaves everything behind in `./install`
then change 1 line in `./install/install.sh`
Guest76 16:39:34
libs=`ldconfig -v 2>/dev/null ......`
change to
libs=`ldconfig -p 2>/dev/null .....`
@awilfox A. Wilcox 16:40:16
hmm
Guest76 16:40:44
Oh yeah, and get lots of dependencies ...
@awilfox A. Wilcox 16:41:07
we may need to fix ldconfig if -v doesn't respond the way it should
Guest76 16:42:13
Maybe, IDK. They're definitely different, but I wonder if `-p` is more appropriate.
Guest76 16:43:19
I propably installed too much for dependencies, but I installed kernel source, make, xz, perl, and probably something other stuff.
@awilfox A. Wilcox 16:44:16
not sure if Perl is required, but I do know that easy-kernel-src and make and xz would be
Guest76 16:47:01
This is VirtualBox 6.0.4, in case it makes a difference.
On Friday, April 5, 2019 3:00 PM, Rick Graham <rickhg12hs@gmail.com> wrote:Hello,I want to try Adélie Linux in a VirtualBox VM. After doing the manual install, and `apk add kde`, what do I need to do to use KDE? Is there a way to boot to a graphical login window?If you don't want a display manager you will need xinit pkg a .xinitrc file on your home directory with the commandexec startkde
at the end of the file. I don't use kde, I use openbox and it worked (exec openbox-session)Then when you log in you can use xinit or startx and you will be in KDEI am not part of the adelie team, just a user. I hope I helped.If you get a rights error, I don't remember, you will need a file in /etc/X11 :/etc/X11/Xwrapper.configwith the following line in it:needs_root_rights = yesThen issue startx again and you should be on.