Re: [qubes-users] Re: How to launch qubes AppVM without qubes os?

2017-02-20 Thread Unman
On Sun, Feb 19, 2017 at 01:56:20PM +0300, Oleg Artemiev wrote:
> On Sun, Feb 19, 2017 at 1:10 PM, Arqwer  wrote:
> > *By all files I mean those that were in /var/lib/qubes/appvms/
> you will be able to run that programs seamless only by using same
> Linux distro that was used as a template VM for your appVM.
> Also you will need all dependent package to be present in your current linux.
> mount appvm private image, tar /home/user , untar to some new user
> home dir in your Linux, then try to login as that user and run those
> programs from console.
> If lucky - them start seamless. If not (most probably) you 'll have
> some erors in console about missing libraries and so on,
> Sure there could be other problems, but if you're lucky you'll be able
> to add dependencies.
> 
> 
> -- 
> Bye.Olli.

An alternative approach would be to take the root.img and private.img
files to the new computer, and try to chroot into root.img.
This would have the advantage that you need not reinstall all the
applications that you had before.
mount root.img somewhere, e.g /mnt
Then 'mount -t proc proc /mnt/proc'
'mount --rbind /sys /mnt/sys'
'mount --rbind /dev /mnt/dev'

Then try chroot /mnt and see if you can run your programs.
If you need graphics then you may need to run xhost to allow connections
to the X server, and configure the display in the chroot.

If you had files in /home in the qube, then you could mount private.img
somewhere and bind mount that in to the chroot /home before chrooting in.

unman



-- 
You received this message because you are subscribed to the Google Groups 
"qubes-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to qubes-users+unsubscr...@googlegroups.com.
To post to this group, send email to qubes-users@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/qubes-users/20170220163607.GA2450%40thirdeyesecurity.org.
For more options, visit https://groups.google.com/d/optout.


Re: [qubes-users] Re: How to launch qubes AppVM without qubes os?

2017-02-19 Thread Oleg Artemiev
On Sun, Feb 19, 2017 at 1:10 PM, Arqwer  wrote:
> *By all files I mean those that were in /var/lib/qubes/appvms/
you will be able to run that programs seamless only by using same
Linux distro that was used as a template VM for your appVM.
Also you will need all dependent package to be present in your current linux.
mount appvm private image, tar /home/user , untar to some new user
home dir in your Linux, then try to login as that user and run those
programs from console.
If lucky - them start seamless. If not (most probably) you 'll have
some erors in console about missing libraries and so on,
Sure there could be other problems, but if you're lucky you'll be able
to add dependencies.


-- 
Bye.Olli.
gpg --search-keys grey_olli , use key w/ fingerprint below:
Key fingerprint = 9901 6808 768C 8B89 544C  9BE0 49F9 5A46 2B98 147E
Blog keys (the blog is mostly in Russian): http://grey-olli.livejournal.com/tag/

-- 
You received this message because you are subscribed to the Google Groups 
"qubes-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to qubes-users+unsubscr...@googlegroups.com.
To post to this group, send email to qubes-users@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/qubes-users/CABunX6MadrhpwCB_FjOsU%3DzqFKfQe2Um4Kn7dKdonH%2Bs2JU2aQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


[qubes-users] Re: How to launch qubes AppVM without qubes os?

2017-02-19 Thread Arqwer
*By all files I mean those that were in /var/lib/qubes/appvms/

-- 
You received this message because you are subscribed to the Google Groups 
"qubes-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to qubes-users+unsubscr...@googlegroups.com.
To post to this group, send email to qubes-users@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/qubes-users/7704a959-c1bf-4c06-a07f-69786eff3e92%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.