[qubes-users] Can't install KVM in Qubes OS?

2019-12-12 Thread Tae Hwan Kim
Hello!
I need to install KVM for mobile development.(for android emulator).
so I did try installing kvm like this

sudo dnf  -y 
install qemu-kvm libvirt virt-install bridge-utils 

but my app vm shows me error like this.

Error:  
   
>
>  Problem 1: package libvirt-daemon-driver-libxl-5.1.0-4.fc30.x86_64 
> requires libxenlight.so.4.11()(64bit), but none of the providers can be 
> installed
>   - package libvirt-daemon-driver-libxl-5.1.0-4.fc30.x86_64 requires 
> libxlutil.so.4.11()(64bit), but none of the providers can be installed
>   - cannot install both xen-libs-2001:4.8.5-5.fc30.x86_64 and 
> xen-libs-4.11.2-3.fc30.x86_64 
>
>
>   - cannot install both xen-libs-2001:4.8.5-5.fc30.x86_64 and 
> xen-libs-4.11.1-4.fc30.x86_64 
>
>
>   - package xen-qubes-vm-2001:4.8.5-5.fc30.x86_64 requires 
> libxenctrl.so.4.8()(64bit), but none of the providers can be 
> installed  
>   - package xen-qubes-vm-2001:4.8.5-5.fc30.x86_64 requires 
> libxenguest.so.4.8()(64bit), but none of the providers can be 
> installed 
>   - package xen-qubes-vm-2001:4.8.5-5.fc30.x86_64 requires 
> libxenlight.so.4.8.1()(64bit), but none of the providers can be 
> installed   
>   - package xen-qubes-vm-2001:4.8.5-5.fc30.x86_64 requires 
> libxlutil.so.4.8()(64bit), but none of the providers can be 
> installed   
>   - problem with installed package 
> xen-qubes-vm-2001:4.8.5-13.fc30.x86_64
>   
>
>   - package xen-qubes-vm-2001:4.8.5-6.fc30.x86_64 requires xen-libs = 
> 2001:4.8.5-6.fc30, but none of the providers can be 
> installed
>   - cannot install both xen-libs-2001:4.8.5-6.fc30.x86_64 and 
> xen-libs-4.11.2-3.fc30.x86_64 
>
>
>   - cannot install both xen-libs-2001:4.8.5-6.fc30.x86_64 and 
> xen-libs-4.11.1-4.fc30.x86_64 
>
>
>   - package libvirt-5.1.0-4.fc30.x86_64 requires 
> libvirt-daemon-driver-libxl = 5.1.0-4.fc30, but none of the providers can 
> be installed
>   - conflicting requests 
>   - package libvirt-5.1.0-9.fc30.x86_64 requires 
> libvirt-daemon-driver-libxl = 5.1.0-9.fc30, but none of the providers can 
> be installed
>   - package libvirt-daemon-driver-libxl-5.1.0-9.fc30.x86_64 requires 
> libxenlight.so.4.11()(64bit), but none of the providers can be installed
>   - package libvirt-daemon-driver-libxl-5.1.0-9.fc30.x86_64 requires 
> libxlutil.so.4.11()(64bit), but none of the providers can be installed
>   - package xen-qubes-vm-2001:4.8.5-7.fc30.x86_64 requires xen-libs = 
> 2001:4.8.5-7.fc30, but none of the providers can be 
> installed
>   - cannot install both xen-libs-2001:4.8.5-7.fc30.x86_64 and 
> xen-libs-4.11.2-3.fc30.x86_64 
>
>
>   - cannot install both xen-libs-2001:4.8.5-7.fc30.x86_64 and 
> xen-libs-4.11.1-4.fc30.x86_64 
>
>
>   - package xen-qubes-vm-2001:4.8.5-10.fc30.x86_64 requires xen-libs = 
> 2001:4.8.5-10.fc30, but none of the providers can be 
> installed  
>   - cannot install both xen-libs-2001:4.8.5-10.fc30.x86_64 and 
> xen-libs-4.11.2-3.fc30.x86_64 
>   
>
>   - cannot install both xen-libs-2001:4.8.5-10.fc30.x86_64 and 
> xen-libs-4.11.1-4.fc30.x86_64 
>   
>
>   - package xen-qubes-vm-2001:4.8.5-12.fc30.x86_64 requires xen-libs = 
> 2001:4.8.5-12.fc30, but none of the providers can be 
> installed  
>   - cannot install both xen-libs-2001:4.8.5-12.fc30.x86_64 and 
> xen-libs-4.11.2-3.fc30.x86_64 
>   
>
>   - cannot install both xen-libs-2001:4.8.5-12.fc30.x86_64 and 
> xen-libs-4.11.1-4.fc30.x86_64 
>   
>
>   - package xen-qubes-vm-2001:4.8.5-13.fc30.x86_64 requires xen-libs = 
> 2001:4.8.5-13.fc30, but none of the providers can be 
> installed  
>   - cannot install both 

[qubes-users] Trying to connect phone to Qubes os(4.0)

2019-12-16 Thread Tae Hwan Kim
Hi.
I am trying to connect my android phone to my work vm in qubes os. So I 
tried this.

1. Changed AppVM(work) to HVM because PVH mode no PCI passthrough which I 
am trying to do.
2. 
lsusb

Bus 001 Device 002: ID 1004:61f9 LG Electronics
3. And then I did 
readlink  /sys/bus/usb/devices/usb1

and it returned
../../../devices/pci:00/:00:14.0/usb1

4. finally
qvm-pci attach --persistent work dom0:00_14.0

But it says "empty response" and doesn't work.
I followed this step .
Am I doing right? In the result of lsusb says my usb connected in Bus 001 
so I did 

readlink /sys/bus/usb/devices/usb1 instead of usb3(in document). Did I do it 
correctly?

In final step I just changed : to _ like 00:14.0 to 00_14.0. 
I tried dom0:00:14.0 but doesn't work

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/qubes-users/6e1fa3e5-e58f-4a68-b115-ac50c2e8bbc4%40googlegroups.com.


Re: [qubes-users] How to point(connect) to App VM from external?

2019-12-21 Thread Tae Hwan Kim
I solved my problem using that document.
Thanks for your help!.

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/qubes-users/97878383-7d22-4100-8cc3-d2a53fd9a33d%40googlegroups.com.


[qubes-users] Building gui-agent-linux failed while building Archlinux template.

2019-12-22 Thread Tae Hwan Kim
Hello guys I need a help.
I am working on building archlinux template 
. 
I am using Qubes 4.0 and trying to make archlinux template.
But while building gui-agent-linux. got some errors like this.
-> Building gui-agent-linux (archlinux) for archlinux vm (logfile: 
build-logs/gui-agent-linux-vm-archlinux.log)
--> build failed!
 ==> Updating trust database...
gpg: next trustdb check due at 2020-05-31
:: Running post-transaction hooks...
(1/1) Arming ConditionNeedsUpdate...
:: Synchronizing package databases...
 core is up to date
 extra is up to date
 community is up to date
 multilib is up to date
 qubes is up to date
:: Starting full system upgrade...
 there is nothing to do
--> Archlinux dist-package (makefile)
  --> Building package in /home/user/qubes-src/gui-agent-linux
sudo BACKEND_VMM=xen  chroot "/home/user/qubes-builder/chroot-vm-archlinux" 
su user -c 'cd "/home/user/qubes-src/gui-agent-linux" && cp 
archlinux/PKGBUILD* ./ && env http_proxy="" makepkg --syncdeps --noconfirm 
--skipinteg'
==> Making package: qubes-vm-gui 4.0.27-9 (Sun Dec 22 22:53:06 2019)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Installing missing dependencies...
error: target not found: xf86dgaproto
==> ERROR: 'pacman' failed to install missing dependencies.
==> Missing dependencies:
  -> pulseaudio
  -> xorg-server-devel
  -> xorg-util-macros
  -> xf86dgaproto
  -> libxcomposite
  -> libxt
  -> qubes-vm-gui-common
==> ERROR: Could not resolve all dependencies.
make[2]: *** 
[/home/user/qubes-builder/qubes-src/builder-archlinux/Makefile.archlinux:121: 
dist-package] Error 8
make[1]: *** [Makefile.generic:180: packages] Error 1
make: *** [Makefile:226: gui-agent-linux-vm] Error 1

And I am researching for this problem, but I can't find.
What am I missing?

Thanks!

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/qubes-users/c72d1dbc-7b89-4658-bafb-f193a12aaf05%40googlegroups.com.


[qubes-users] How to point(connect) to App VM from external?

2019-12-19 Thread Tae Hwan Kim
Hi all!
I am trying to use Qubes OS as a mobile development machine.

My backend server is running in work vm at localhost:4000
And I am testing my app in real device that is connected using USB cable.

The frontend client should send request to my backend server 
(localhost:4000).
For testing in real device, localhost address must be changed to real ip 
address(work vm).
So in my client.js(frontend code),

const HTTP_ENDPOINT = "http://10.137.0.15:4000/api;;
>
const httpLink = createHttpLink({ uri: HTTP_ENDPOINT});
>
const client = new ApolloClient({ link: httpLink });
>
, 
Unfortunately that address doesn't respond. I tried real ip address which 
is 192.168.1.8, But doesn't work neither.

How can I do this?

Thanks in advance.

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/qubes-users/ce0e39e4-71be-404f-a6db-638fb8d989c8%40googlegroups.com.


Re: [qubes-users] Trying to connect phone to Qubes os(4.0)

2019-12-19 Thread Tae Hwan Kim
Thanks for your help.
I  just created sys-usb app vm following this guide. 

And sys-usb app vm finds phone automatically, so I just attach it to work 
vm.

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/qubes-users/a2d68358-474e-4a10-9fb6-edb0f07e80d7%40googlegroups.com.


[qubes-users] Re: Building gui-agent-linux failed while building Archlinux template.

2019-12-25 Thread Tae Hwan Kim
I don't know that this is correct solution for this but I resolved this 
issue by doing this

In qubes-builder/example-configs/qubes-os-r4.0.conf
I just uncomment last three lines that says



*DISTS_VM += archlinuxCOMPONENTS += builder-archlinuxBUILDER_PLUGINS += 
builder-archlinux*

and it works.

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/qubes-users/1163e10a-dea5-4f10-95ae-b0b5c55d5dfa%40googlegroups.com.


[qubes-users] Built arch linux template and installed but app can't be running?

2019-12-25 Thread Tae Hwan Kim
Hello.
I just built archl inux template and moved to dom0 and installed the 
template.
Then I treid to open a terminal in arch linux template VM, but It shows 
nothing.
Can you please check this logs and please tell me what is wrong. Thanks

I searched the word 'Failed" and found few.

[0m] Failed to start. Initialize and mount /rw and /home see 
'systemctl status qubes-mount-dirs.service' for details
[0m] Failed unmounting /usr/lib/modules

... msg='unit=qubes-mount-dirs comm="systemd" 
exe="/usr/lib/systemd/systemd" hostname=" addr=? terminal=? res=failed'

tsc: Fast TSC calibration failed
failed to mount moving /dev to /sysroot/dev: Invalid argument
failed to mount moving /proc to /sysroot/dev: Invalid argument
failed to mount moving /sys to /sysroot/dev: Invalid argument
failed to mount moving /run to /sysroot/dev: Invalid argument


when I tried to run terminal, in log says

audit: type=1131 audit(some number): pid=1 uid=0 auid=some number ses=some 
number msg='unit=systemd=tmpfiles-clean cmm="systemd" 
exe="/usr/lib/systemd" hostname=? addr=? terminal? res=success'

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/qubes-users/e2eb621d-3ae7-49b5-a121-1bdcc67c7915%40googlegroups.com.