Any command for setting new vchan up?

45 views
Skip to first unread message

moritzbr...@gmail.com

unread,
Apr 10, 2017, 8:16:26 PM4/10/17
to qubes-devel, moritz...@freenet.de
Hi,
is there currently any command in dom0 to set a new vchan connection for a qrexec daemon up?
It would be useful for vms directly started/restored with virsh.

Marek Marczykowski-Górecki

unread,
Apr 10, 2017, 8:22:19 PM4/10/17
to moritzbr...@gmail.com, qubes-devel, moritz...@freenet.de
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
You can start both qrexec daemon and gui daemon manually. Take a look at
the process list for examples.

/usr/lib/qubes/qrexec-daemon --help:

/usr/lib/qubes/qrexec-daemon: invalid option -- '-'
usage: /usr/lib/qubes/qrexec-daemon [-q] domainid domain-name [default user]

/usr/bin/qubes-guid --help:

Usage: qubes-guid -d domain_id -N domain_name [options]

Options:
--verbose, -v increase log verbosity
--quiet, -q decrease log verbosity
--domid=ID, -d ID domain ID running GUI agent
--target-domid=ID, -t ID domain ID of actual VM (may be different from --domid in case of stubdomain)
--name=NAME, -N NAME VM name
--color=COLOR, -c COLOR VM color (in format 0xRRGGBB)
--label=LABEL_INDEX, -l LABEL_INDEX VM label index
--icon=ICON, -i ICON Icon name (without suffix), or full icon path
--qrexec-for-clipboard, -Q force usage of Qrexec for clipboard operations
--background, -n do not wait for agent connection
--audio-low-latency, -a low-latency audio mode
--foreground, -f do not fork into background
--invisible, -I run in "invisible" mode - do not show any VM window
--kill-on-connect=PID, -K PID when established connection to VM agent, send SIGUSR1 to given pid (ignored when -f set)
--prop=name=type:value, -p add additional X11 property on all the windows of this VM (up to 10 properties)
specify value as "s:text" for string, "a:atom" for atom, "c:cardinal1,cardinal2,..." for unsigned number(s)
--title-name, -T prefix window titles with VM name
--trayicon-mode trayicon coloring mode (see below); default: tint
--help, -h Print help message

Log levels:
0 - only errors
1 - some basic messages (default)
2 - debug

Available trayicon modes:
bg: color full icon background to the VM color
border1: add 1px border at the icon edges
border2: add 1px border 1px from the icon edges
tint : tint icon to the VM color,
can be used with additional modifiers (you can enable multiple of them)
tint+border1,tint+border2: same as tint, but also add a border
tint+saturation50: same as tint, but reduce icon saturation by 50%
tint+whitehack: same as tint, but change white pixels (0xffffff) to almost-white (0xfefefe)



- --
Best Regards,
Marek Marczykowski-Górecki
Invisible Things Lab
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iQEcBAEBCAAGBQJY7CG2AAoJENuP0xzK19csnaQH/2iQySXPFnG7Om00IitRVUDK
FqZbeYeYRtf7wcO4MhAOKjw/VC8au26vT6EUyia1UWWXal/M/59y7WJDtlcKAqXg
RVJnWxvfogw8BSKpQhRXC21kkS8/bXwEuFAPn1Xq49C8QhwlT6vuD7I1qwKcZs8N
1dB/pkJXDtz9lEwsiVqb0D6k/MH6MbJ8/NXd9tGigoIzUiDbldOjf7B6iM6dfLHJ
Sg2ucI0OfDOdITCvyz6yzFUsYfhjYtLU83NvGE6tisoLHSWcDPAqpfKwpoJ65n99
YnIa4IE5GA05Sp5OS6TQSSm1NNKpIV03Mlx+jvQEwrtEig4dJBiHu++25SVmY7M=
=9I/c
-----END PGP SIGNATURE-----

moritzbr...@gmail.com

unread,
Apr 14, 2017, 1:55:18 PM4/14/17
to qubes-devel, moritzbr...@gmail.com, moritz...@freenet.de
Thanks
Reply all
Reply to author
Forward
0 new messages