Re: [EXT] Re: [qubes-users] Multiple X sessions in Dom0?

2020-06-06 Thread unman
On Sat, Jun 06, 2020 at 01:09:07AM +0200, Ulrich Windl wrote:
> On 5/29/20 12:23 PM, Fr??d??ric Pierret wrote:
> > 
> > 
> > On 2020-05-29 02:34, brendan.h...@gmail.com wrote:
> > > Can Qubes support multiple X sessions in dom0?
> > 
> > I guess you want to see VMs in separate X sessions. Without speaking of 
> > user management, yes it can but currently gui-daemon is running on 
> > DISPLAY=:0 waiting for all VM start/shutdown and starting a proper server 
> > for them. In your case of having multiple DISPLAY, that would mean to adapt 
> > the automatic start of each deamon per VM.
> 
> Actually I think that the virtual desktops (four by default) can substitute
> for having multiple X servers running on private screens.
> (Did you ever try Ctrl+Alt+CursorLeft/CursorRight?)
> However what I'm missing is the feature to make some VMs (or maybe Apps)
> start on a specific virtual desktop.

Switch to KDE, and use "Activities", which are *made* for Qubes use.
Unlimited Activities, each with own virtual desktops - extremely easy to
target qubes on particular Activities, or target specific applications.
Activity backgrounds can be set to specific colours to help identify security 
domains.
Simple to modify KDE menu.
Once you've changed, you wont go back.

-- 
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/20200606144148.GA10363%40thirdeyesecurity.org.


Re: [EXT] Re: [qubes-users] Multiple X sessions in Dom0?

2020-06-05 Thread Ulrich Windl

On 5/29/20 12:23 PM, Frédéric Pierret wrote:



On 2020-05-29 02:34, brendan.h...@gmail.com wrote:

Can Qubes support multiple X sessions in dom0?


I guess you want to see VMs in separate X sessions. Without speaking of user 
management, yes it can but currently gui-daemon is running on DISPLAY=:0 
waiting for all VM start/shutdown and starting a proper server for them. In 
your case of having multiple DISPLAY, that would mean to adapt the automatic 
start of each deamon per VM.


Actually I think that the virtual desktops (four by default) can 
substitute for having multiple X servers running on private screens.

(Did you ever try Ctrl+Alt+CursorLeft/CursorRight?)
However what I'm missing is the feature to make some VMs (or maybe Apps) 
start on a specific virtual desktop.
A possible problem with the window manager is that application popups 
(like asking for a password) do pop up on the current virtual desktop 
even if the app opening it runs on a different virtual desktop. That can 
be quite confusing!




I would say, wait or try the (undocumented) GuiVM implementation in R4.1, that 
would ease such use-case/management..
  

e.g. default session on primary terminal (via ctrl-alt-f1), then start another 
session on the third pty (ctrl-alt-f3) after logging in as the primary qubes 
user in dom0?

B



Best,
Frédéric



--
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/8533c113-24b8-2763-6db7-a6bcb178beb7%40rz.uni-regensburg.de.


Re: [qubes-users] Multiple X sessions in Dom0?

2020-05-31 Thread Frédéric Pierret


On 2020-05-31 16:52, brendan.h...@gmail.com wrote:
> On Friday, May 29, 2020 at 6:15:31 AM UTC-4, donoban wrote:
> 
> On 2020-05-29 02:34, brend...@gmail.com wrote:
> > Can Qubes support multiple X sessions in dom0?
> Or do you mean multiple X sessions with the same user?
> 
>  
> Yes, exactly.
> 
> On Friday, May 29, 2020 at 6:23:19 AM UTC-4, Frédéric Pierret wrote:
> 
> On 2020-05-29 02:34, brend...@gmail.com wrote:
> > Can Qubes support multiple X sessions in dom0?
> I guess you want to see VMs in separate X sessions. Without speaking of 
> user management, yes it can but currently gui-daemon is running on DISPLAY=:0 
> waiting for all VM start/shutdown and starting a proper server for them. In 
> your case of having multiple DISPLAY, that would mean to adapt the automatic 
> start of each deamon per VM.
> 
> I would say, wait or try the (undocumented) GuiVM implementation in R4.1, 
> that would ease such use-case/management..
> 
>  
> That sounds reasonable. As it is, without further adjustment, I cannot get a 
> second X server to start up correctly under 4.0.
> 
> I'm using window manager workspaces now to mentally separate out different 
> work-streams across a dozen running VMs sometimes.
> 
> However, it might be nicer to have a stronger organizational (and mental) 
> partition and multiple X servers with the UI of running VMs associated with 
> different X servers would be nice.
> 
> Perhaps multiple GUIVMs could serve that purpose?

Yes it's the idea.

The last remaining organizational thing would be how to display those multiple 
desktops/GuiVMs. That could still be separate DISPLAY or separate workspaces 
(shortcuts management difficulties probably).

Currently we have dom0 the "root" display, showing one fullscreen GuiVM (due to 
emulated GPU pass-through). But, I don't see any obstacle at dom0 boot, to 
start multiple Xsessions where you run manually gui-daemon associated to 
specific GuiVM. In the future, this setup would be initialized into the GuiVM 
itself with GPU passthrough.

If you run into this work, I could help you for support.

Best,
Frédéric

-- 
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/bd752014-29d3-b555-cca9-189e6990fcd3%40qubes-os.org.


signature.asc
Description: OpenPGP digital signature


Re: [qubes-users] Multiple X sessions in Dom0?

2020-05-31 Thread brendan . hoar
On Friday, May 29, 2020 at 6:15:31 AM UTC-4, donoban wrote:
>
> On 2020-05-29 02:34, brend...@gmail.com wrote: 
> > Can Qubes support multiple X sessions in dom0? 
> Or do you mean multiple X sessions with the same user? 
>
 
Yes, exactly.

On Friday, May 29, 2020 at 6:23:19 AM UTC-4, Frédéric Pierret wrote:

> On 2020-05-29 02:34, brend...@gmail.com  wrote: 
> > Can Qubes support multiple X sessions in dom0? 
> I guess you want to see VMs in separate X sessions. Without speaking of 
> user management, yes it can but currently gui-daemon is running on 
> DISPLAY=:0 waiting for all VM start/shutdown and starting a proper server 
> for them. In your case of having multiple DISPLAY, that would mean to adapt 
> the automatic start of each deamon per VM. 
>
> I would say, wait or try the (undocumented) GuiVM implementation in R4.1, 
> that would ease such use-case/management.. 
>
 
That sounds reasonable. As it is, without further adjustment, I cannot get 
a second X server to start up correctly under 4.0.

I'm using window manager workspaces now to mentally separate out different 
work-streams across a dozen running VMs sometimes. 

However, it might be nicer to have a stronger organizational (and mental) 
partition and multiple X servers with the UI of running VMs associated with 
different X servers would be nice. 

Perhaps multiple GUIVMs could serve that purpose?

Brendan

-- 
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/5c4abbdd-f9c0-40fa-a39c-13f05d36836d%40googlegroups.com.


Re: [qubes-users] Multiple X sessions in Dom0?

2020-05-29 Thread Frédéric Pierret


On 2020-05-29 02:34, brendan.h...@gmail.com wrote:
> Can Qubes support multiple X sessions in dom0?

I guess you want to see VMs in separate X sessions. Without speaking of user 
management, yes it can but currently gui-daemon is running on DISPLAY=:0 
waiting for all VM start/shutdown and starting a proper server for them. In 
your case of having multiple DISPLAY, that would mean to adapt the automatic 
start of each deamon per VM.

I would say, wait or try the (undocumented) GuiVM implementation in R4.1, that 
would ease such use-case/management..
 
> e.g. default session on primary terminal (via ctrl-alt-f1), then start 
> another session on the third pty (ctrl-alt-f3) after logging in as the 
> primary qubes user in dom0?
> 
> B
> 

Best,
Frédéric

-- 
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/d486161a-8ba4-cc22-3fad-aeb864a71176%40qubes-os.org.


signature.asc
Description: OpenPGP digital signature


Re: [qubes-users] Multiple X sessions in Dom0?

2020-05-29 Thread donoban
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256

On 2020-05-29 02:34, brendan.h...@gmail.com wrote:
> Can Qubes support multiple X sessions in dom0?
>
> e.g. default session on primary terminal (via ctrl-alt-f1), then
> start another session on the third pty (ctrl-alt-f3) after logging
> in as the primary qubes user in dom0?
>

Generally Qubes is not multi-user system since the user who controls
dom0 has full access to everything. As a linux based system you could
do something for getting it but it will break things.

Or do you mean multiple X sessions with the same user?
-BEGIN PGP SIGNATURE-

iQIzBAEBCAAdFiEEznLCgPSfWTT+LPrmFBMQ2OPtCKUFAl7Q4LIACgkQFBMQ2OPt
CKWEOhAAt3e7ZTgIv0/Io/sUsGqYW7mfgLZ2NFICS+cNP6v4b4zqdR/wlsP4lnbH
x914QzIBxMUMtn8HLIdY29YLj4i2azLMZWok3xNTk4wyp6qTS2ekEOJC3o8fWc9b
0/jCf0IoZyBXp666iiv6cIeGFiMOqzazE3W5rKY2BvdvFdubqUx4tzxpn8dzoM1k
ziTyLmrOimFeixrrqxek/4Go8fL6eG9AiPoYfwUVp+PenZKpWPehzurvWVMGUk+Z
z116RF3yidH1u1mjbI5qRZ4KGcSsiw/Pbc6g9Dmun2S/7m1I40dX7MqUY8Darf+u
8adCdlVDFhGirYqls6ysOZWDipbiiaFab81dCgoc/TYUjG7wPRDd35yimuSzEOSP
EDunzYPKxm0WrXv4xl8j8f3hgz0NILJb/Al97OtYH4feIsUIbVL1k7fdNQWDkFLd
wdGa/dOY6PKq3vnwkvEwvnothuP5OcPp3ILbiPbOcDsGs7T+fNtVTvljxmUQ+wJ4
Qq2+9nrTuWL9S6nzG8t0nnUnK4G62SRuWU8QMgMaYvaK6S4dk4hFCF9CDH0svxWp
3qoA7ts+uR4eT1OHKmN4/LyUO2F5vw+IfuCzRwJOpFhMQ1YPV068qYUAqTOriX0H
o+/UKPYV9lPoaPBe2XDUYcchXGq3eH2KJ1TJzspPfPPjT610Dw4=
=Uhd8
-END PGP SIGNATURE-

-- 
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/49ce2293-5a2c-75cf-900e-d2212840cc3a%40riseup.net.


[qubes-users] Multiple X sessions in Dom0?

2020-05-28 Thread brendan . hoar
Can Qubes support multiple X sessions in dom0? 

e.g. default session on primary terminal (via ctrl-alt-f1), then start 
another session on the third pty (ctrl-alt-f3) after logging in as the 
primary qubes user in dom0?

B

-- 
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/0a1e00b8-fd1f-4e09-85b7-058825e3176a%40googlegroups.com.