Ask / Submit

linux virtual machine

asked 2014-06-14 23:08:52 +0300

mvdm gravatar image

maybe a stupidish question ...

but i try ...

why don't we have a virtual linux machine as android alien dalvik in sailfish os ?

i explain : i was so surprise with n900 that has a virtual linux env that lets you use ALL Open office...wireshark....

so lets see you just buy a jolla for making unlike calls and have a different system or ....

using softwares you use as a power linux user ...just legal hacks....

that's a idea for just using a lots of stuff 'open' and gain a lot of users...

maybe a sailfish specialist could consider this ...

sorry for question i'm curioush

edit retag flag offensive close delete


No you had a debian image that let's you run a debian virtual machine in maemo host ....

mvdm ( 2014-06-14 23:49:26 +0300 )edit

@mvdm: You need to take another good look at what you have in your hands.

Android dalvik? It can be installed by default => store => Jolla apps => android support

For some of the other stuff you can run it natively:

You have a full Linux machine on your phone. So in theory you could run whatever you want on it if you can get it (and its dependencies that are not on the phone) compiled.

Philippe De Swert ( 2014-06-17 14:23:49 +0300 )edit

4 Answers

Sort by » oldest newest most voted

answered 2014-06-18 00:43:12 +0300

Nieldk gravatar image

it is very easy to create a chroot environment, but more tricky to get the X window system up on the device. I created a chroot environment for Kali linux. It is fully working, but accesd is commandline (no GUI) , ssh, or (With LXDE) by VNC connection to device. A tar.gz image can be found on my . It contains the chroot environment and shell scripts to start/stop the chroot env.!go0XBAzS!NNw7q1apSQ4rGBvJPlddfndCcgt1ry-mW5kFsVNazdU

edit flag offensive delete publish link more


@Nieldk so you think we can expect more useable linux softwares in the future ?, X window like to be complicated. As linux user i use a lot of and it would be great to have those on jolla working (examples : clementine as mediaplayer, gthumb as image viewer ....)

maybe a jolla specialist could also answer this ...

Thanks for your work and share...

Is there a place where we can add apps to be develop in the future ...

mvdm ( 2014-06-18 08:48:17 +0300 )edit

While a chroot environment enables the option for running more applications available for a certain distrubution. We are still dependent on a GUI for apps like openoffice and other X based applications. Of course, many commanline apps are available and will work - out of the box -. So, until someone manage to create a good working VPN client, we are dependent on accessing the X window system (like LXDE/KDE/Gnome etc) using VPN from a client (PC). I did compile krdc-vnc-qtonly for Sailfish, but this is really not usable due to not fully scaling the screen. But, using VPN from a PC to the phone running distros in a chroot environment, will enable you to use those graphical apps. For those wanting to try and create their own chroot images, I have released debootstrap which enable you to create Debian/Ubuntu/Kali etc environments.

Nieldk ( 2014-06-19 16:06:31 +0300 )edit

@Nieldk How can I install a Desktop Linux system with the referenced debootstrap App? Could you give a brief guide? I have Installed debootstrap on my Sailfish developer device an could not see it. I think deboostrap is just a terminal app or library, isn't it?

jsommer ( 2018-12-15 17:23:05 +0300 )edit

Uding debbootstrap is "medium" easy ;) For a how-to, look here

Nieldk ( 2018-12-15 17:34:15 +0300 )edit

answered 2014-06-14 23:25:27 +0300

ApB gravatar image < this guy managed to install qemu on jolla and had stuff running on it. And quemu is available in openrepos.

edit flag offensive delete publish link more


thanks for answer can we hope a sailfish native support for it ?

mvdm ( 2014-06-14 23:46:33 +0300 )edit

You mean something like a gui? If yes someone has to make it. Apart from that there is a problem with performance. If i understand it correctly it emulates a x86 processor and runs the guest OS on it so i don't think its fast.

ApB ( 2014-06-14 23:50:58 +0300 )edit

has someone tested qemu ? would it work with a xubuntu, i use xubuntu because it's light

mvdm ( 2014-06-15 22:46:24 +0300 )edit

What about docker ( This does not need too much ressources and is quite flexible (and it is running on ARM)

cy8aer ( 2014-06-18 13:27:32 +0300 )edit

answered 2014-06-14 23:11:13 +0300

mvdm gravatar image

i hope i'm not dreaming too much .....

edit flag offensive delete publish link more

answered 2014-06-17 22:18:16 +0300

mvdm gravatar image

looks amazing i will try this tomorrow

\O/ @ nieldk !

edit flag offensive delete publish link more


You cant imagine how "wrong" i think non native apps and command line tools are in mobile.

ApB ( 2014-06-17 22:39:52 +0300 )edit

could'nt wait i test it (wireshark) and works, gui must be review but works great !

mvdm ( 2014-06-17 23:23:18 +0300 )edit
Login/Signup to Answer

Question tools



Asked: 2014-06-14 23:08:52 +0300

Seen: 1,477 times

Last updated: Jun 18 '14