[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: 2 xservers/display managers



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 20/05/14 04:13, Ralph Katz wrote:
> On 05/19/2014 08:20 AM, Richard Hector wrote:
>> Hey all,
> 
>> I'm wondering if it would help me to have 2 potentially
>> simultaneous logins on my computer, one for private use and one
>> for work (I'm working from home). That would give me 2 home
>> directories, 2 icedove profiles etc etc.
> 
>> To that end, does anyone know if it's possible to have 2
>> instances of gdm (or whatever display manager) start at boot, so
>> I can log in to them independently? Actually, I can't think of
>> any reason it wouldn't be possible, so does anyone have any tips
>> on how?
> 
> Hi -- I can confirm this works on stable with xfce and lightdm to
> do exactly that:
> 
> ~$ sudo adduser richard-work
> 
> Then ctrl-alt-F1 [F2, etc]; login as richard-work; Then ~$
> DISPLAY=:1 startx -- :1    # launches your 2nd display manager 
> session
> 
> Switch between X sessions with ctrl-alt-F7 / F8 keys (for me).

startx does indeed do it, thanks - though I don't need to specify the
DISPLAY variable; it just works if I run startx as my other user.

So that proves that it is possible to get 2 X servers running.

Next step, ideally, is to also have 2 display managers running -
ideally gdm3, since that's what I've been using, but anything will do.
Preference for something that will let me choose my DE without mucking
around with a .xsession file.

Any suggestions?

Cheers,
Richard

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)
Comment: Using GnuPG with Icedove - http://www.enigmail.net/

iQEcBAEBAgAGBQJTekk1AAoJELSi8I/scBaNwAoH/jNb2F3GNO78GN1KTpsSc/21
+A+WzM4hGtNSsVDHLgWaaPtugVaNiEE4xa+KkyrF336k3+hbFJ2Rr0l6AKvCKbif
SyAwq/h0MwzhtPoeaDw8ncU6HbkUvOjW1TK0wtbh9IMEkKvzNVTvUWR6bID41ftS
36jNy5tm1ilsAcu/xAnqNcMxOVdoXtIx5hexPWY8SO2H/FDY0w4lPtlL/W7Z/lrR
ewowxsXAtquqOf/D7GaxRpt1U3ZfBJ4D4WYN3OOy760Ror4IIh6mIQUKAu17RqTW
jIorHz6eorYFP3puknmoXuKIr4wvLbOpLype5uFCpNptmmlDXYqZ8goh0Bwh66c=
=VMnn
-----END PGP SIGNATURE-----


Reply to: