distrobox
distrobox copied to clipboard
[Discussion] Trying to understand why intune-portal doesn't work inside of distrobox
I am wanting to use intune-portal within distrobox, primarily for isolation, but also to be able to connect to my corporate network in another distro.
Everything works, I installed all of the required packages, but no matter what I try, the intune app somehow is not detecting that it is installed or whatever program it needs is not installed.
After authenticating, this button should say something like "Register Device". But instead it thinks it needs to get an app.
Unfortunately after clicking on Get App all I get is a blank window and cannot proceed beyond this
I have tried strace for file activity to see if it is checking for a file and not finding it, but I do not see anything.
I've seen similar projects such as mkosi-intune which uses nspawn but i'm not successful in getting those working, so I was hoping distrobox would be the answer. I have tried using those as a model to what to install inside of my distrobox container, but also have not been successful.
Hi @rayzorben
primarily for isolation
Keep in mind distrobox is not about isolation, quite the contrary!
Regarding the app issue, is it trying to use the web browser or stuff like this?
You can try adding xdg-open
to the container by using
sudo ln -s /usr/bin/distrobox-host-exec /usr/local/bin/xdg-open
and try again
Also keep in mind, if this works as a VPN, you will need a rootful container to make it work
Hi @rayzorben
primarily for isolation
Keep in mind distrobox is not about isolation, quite the contrary!
Maybe I used the wrong word. By isolation I didn't mean to keep it from seeing the host. I meant I want the ability to install apps inside of the distrobox and if I don't need it anymore, just blow it away.
Regarding the app issue, is it trying to use the web browser or stuff like this? You can try adding
xdg-open
to the container by using
sudo ln -s /usr/bin/distrobox-host-exec /usr/local/bin/xdg-open
and try again
I don't think it is trying to use the web browser. I assume it is doing some check to see if an app is installed (the only thing I can think of is the app itself intune-portal, and the dialog is a generic intro page that ends up calling back into itself after authentication).
Either way, I assume you mean to do that in the host, which I did, but it did not solve the issue :(
Also keep in mind, if this works as a VPN, you will need a rootful container to make it work
It is not a VPN, but I will try a rootful container anyway and see if it works there. edit: didnt work. I am running docker, and I did a clone --root and enter --root and same issue.
Either way, I assume you mean to do that in the host, which I did, but it did not solve the issue :(
No it was meant to be done on the guest
This was to have xdg-open
work from the guest directly on the host
I tried it on the guest as well, with no luck.
On Mon, Feb 27, 2023 at 10:08 AM Luca Di Maio @.***> wrote:
Either way, I assume you mean to do that in the host, which I did, but it did not solve the issue :(
No it was meant to be done on the guest This was to have xdg-open work from the guest directly on the host
— Reply to this email directly, view it on GitHub https://github.com/89luca89/distrobox/issues/625#issuecomment-1446809554, or unsubscribe https://github.com/notifications/unsubscribe-auth/AB3BD2VBILCEXHCZCXEPPO3WZTUTNANCNFSM6AAAAAAU4BNMO4 . You are receiving this because you were mentioned.Message ID: @.***>
Was this ever solved? I'm running into this same exact issue. I have Fedora-38 and running Ubuntu-23 in the distrobox. Seeing this exact issue. Could this be because the drive has to be encrypted?
I never solved it, but I did have my drive encrypted so I don't think that is it. Also if the drive isn't encrypted it fails during device registration.
I would still love a solution as my favorite distro is CachyOS but I have to be able to get my work done. Right now I am running Ubuntu 23.10 which works great.
@rayzorben well, I just tried 3 distros and without Distrobox. I've tried Ubuntu21, latest Debien, Fedora-38 and Distrobox ubuntu23 in Distrobox on Fedora-38 and nothing works, I get the same error. If you launch it from a terminal you can see some errors, something about not retryable erorr in GTK_WIDGET something something. Basically I lost entire day with this issue, I wish I spent that time with my kids instead.
You always get the GTK warning regardless, here is mine from a working Ubuntu 23.10. If you are running Ubuntu 22.04+ did you try installing openjdk-11-jre
first? sudo apt install openjdk-11-jre
?
No I nuked it and went back to Windows.
I'm having something similar happen with using quickGUI in an Ubuntu distro box on Nobara (Fedora 39 based). The app window is blank with nothing in it.
I'm also experiencing this issue, would love to be able to resolve it. Would love to be provided with any info as to how one might approach debugging this problem.
I never got it resolved, but since I run an Arch based distro, I switched to using this and it is working for me https://github.com/recolic/microsoft-intune-archlinux