Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Multiple desktops in lightdm?

84 views
Skip to first unread message

Hendrik Boom

unread,
Nov 3, 2014, 11:30:04 PM11/3/14
to
I've been using lightdm, and it more or less works.

About a decade ago, on another ancient Linux, I could get multiple
desktops, selected by ctl-alt-f7 through f12. Is there some way to set
up something like that with lightdm?

Just being able to dynamically add another desktop would be good,
actually; they don't have to all be there at boot.

In case it makes a difference, I'm running squeeze with the traditional
sysv init. I use icewm and fvwm as window managers and do not run gnome
or kde. Not that some of those libraries aren't there anyway.

-- hendrik


--
To UNSUBSCRIBE, email to debian-us...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listm...@lists.debian.org
Archive: https://lists.debian.org/m39k5i$a72$1...@ger.gmane.org

Gary Dale

unread,
Nov 4, 2014, 2:30:08 PM11/4/14
to
On 03/11/14 11:20 PM, Hendrik Boom wrote:
> I've been using lightdm, and it more or less works.
>
> About a decade ago, on another ancient Linux, I could get multiple
> desktops, selected by ctl-alt-f7 through f12. Is there some way to set
> up something like that with lightdm?
>
> Just being able to dynamically add another desktop would be good,
> actually; they don't have to all be there at boot.
>
> In case it makes a difference, I'm running squeeze with the traditional
> sysv init. I use icewm and fvwm as window managers and do not run gnome
> or kde. Not that some of those libraries aren't there anyway.
>
> -- hendrik
>
Are you asking for multiple virtual desktops or the ability to log on
multiple times to the same machine?


--
To UNSUBSCRIBE, email to debian-us...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listm...@lists.debian.org
Archive: https://lists.debian.org/545926D8...@torfree.net

Hendrik Boom

unread,
Nov 5, 2014, 11:00:03 PM11/5/14
to
On Tue, 04 Nov 2014 14:19:52 -0500, Gary Dale wrote:

> On 03/11/14 11:20 PM, Hendrik Boom wrote:
>> I've been using lightdm, and it more or less works.
>>
>> About a decade ago, on another ancient Linux, I could get multiple
>> desktops, selected by ctl-alt-f7 through f12. Is there some way to set
>> up something like that with lightdm?
>>
>> Just being able to dynamically add another desktop would be good,
>> actually; they don't have to all be there at boot.
>>
>> In case it makes a difference, I'm running squeeze with the traditional
>> sysv init. I use icewm and fvwm as window managers and do not run
>> gnome or kde. Not that some of those libraries aren't there anyway.
>>
>> -- hendrik
>>
> Are you asking for multiple virtual desktops or the ability to log on
> multiple times to the same machine?

I want to be able to log on multiple times, simultaneously, to the same
machine, with the same physical keyboard and boutse and screen, but with
different user ids. So that when I'm logged in as myself, and my friend
comes by who wants to use the machine for a minute, I can let him log in
as another, independent user, without me having to log out first.

I hope that's clear.

-- hendrik


--
To UNSUBSCRIBE, email to debian-us...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listm...@lists.debian.org
Archive: https://lists.debian.org/m3erkl$tsm$1...@ger.gmane.org

Andrei POPESCU

unread,
Nov 6, 2014, 4:20:05 AM11/6/14
to
On Jo, 06 nov 14, 03:58:13, Hendrik Boom wrote:
>
> I want to be able to log on multiple times, simultaneously, to the same
> machine, with the same physical keyboard and boutse and screen, but with
> different user ids. So that when I'm logged in as myself, and my friend
> comes by who wants to use the machine for a minute, I can let him log in
> as another, independent user, without me having to log out first.

This is usually called "switch user". A quick web search seems to
indicate lightdm might be able to support it, but can't help any
further. As far as I understand gdm+Gnome should be able to do it.

A different method to achieve the same thing would be to use Ctrl-Alt-Fx
to switch to a console, login and start another X instance with

startx -- :1

This has the advantage of being *dm independent.

Kind regards,
Andrei
--
http://wiki.debian.org/FAQsFromDebianUser
Offtopic discussions among Debian users and developers:
http://lists.alioth.debian.org/mailman/listinfo/d-community-offtopic
http://nuvreauspam.ro/gpg-transition.txt
signature.asc

Brian

unread,
Nov 6, 2014, 5:20:05 AM11/6/14
to
On Thu 06 Nov 2014 at 11:14:58 +0200, Andrei POPESCU wrote:

> On Jo, 06 nov 14, 03:58:13, Hendrik Boom wrote:
> >
> > I want to be able to log on multiple times, simultaneously, to the same
> > machine, with the same physical keyboard and boutse and screen, but with
> > different user ids. So that when I'm logged in as myself, and my friend
> > comes by who wants to use the machine for a minute, I can let him log in
> > as another, independent user, without me having to log out first.
>
> This is usually called "switch user". A quick web search seems to
> indicate lightdm might be able to support it, but can't help any
> further. As far as I understand gdm+Gnome should be able to do it.

xdm can do it. Adapting its approach:

Go to "Seat configuration" in /etc/lightdm/lightdm.conf. Uncomment
"[Seat:0]" and after this line put

xserver-command=/usr/bin/X :0 vt07 -nolisten -tcp

Add

[Seat:1]
xserver-command=/usr/bin/X :1 vt08 -nolisten -tcp


--
To UNSUBSCRIBE, email to debian-us...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listm...@lists.debian.org
Archive: https://lists.debian.org/0611201410093...@desktop.copernicus.demon.co.uk

Eric Sharkey

unread,
Nov 6, 2014, 1:00:04 PM11/6/14
to
On Thu, Nov 6, 2014 at 4:14 AM, Andrei POPESCU <andreim...@gmail.com> wrote:
> On Jo, 06 nov 14, 03:58:13, Hendrik Boom wrote:
>>
>> I want to be able to log on multiple times, simultaneously, to the same
>> machine, with the same physical keyboard and boutse and screen, but with
>> different user ids. So that when I'm logged in as myself, and my friend
>> comes by who wants to use the machine for a minute, I can let him log in
>> as another, independent user, without me having to log out first.
>
> This is usually called "switch user". A quick web search seems to
> indicate lightdm might be able to support it, but can't help any
> further. As far as I understand gdm+Gnome should be able to do it.
>
> A different method to achieve the same thing would be to use Ctrl-Alt-Fx
> to switch to a console, login and start another X instance with
>
> startx -- :1

You don't even need the "-- :1" any more. startx is now smart enough
to find an unused display on its own.

Eric


--
To UNSUBSCRIBE, email to debian-us...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listm...@lists.debian.org
Archive: https://lists.debian.org/CAC73aR2wgcGmMZ+C0V5x-2a8Yzc2tqbRsf+FgFKXGpKKPA=g...@mail.gmail.com

Brian

unread,
Nov 7, 2014, 5:40:04 AM11/7/14
to
On Thu 06 Nov 2014 at 12:49:45 -0500, Eric Sharkey wrote:

> On Thu, Nov 6, 2014 at 4:14 AM, Andrei POPESCU <andreim...@gmail.com> wrote:
> >
> > A different method to achieve the same thing would be to use Ctrl-Alt-Fx
> > to switch to a console, login and start another X instance with
> >
> > startx -- :1
>
> You don't even need the "-- :1" any more. startx is now smart enough
> to find an unused display on its own.

Nowadays (testing/unstable) a simple 'startx' doesn't even have to hunt
around for an unused display because it will always bring X up on the
tty it is started from.


--
To UNSUBSCRIBE, email to debian-us...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listm...@lists.debian.org
Archive: https://lists.debian.org/0711201410301...@desktop.copernicus.demon.co.uk

Eric Sharkey

unread,
Nov 7, 2014, 3:20:04 PM11/7/14
to
On Fri, Nov 7, 2014 at 5:34 AM, Brian <ad...@cityscape.co.uk> wrote:
> On Thu 06 Nov 2014 at 12:49:45 -0500, Eric Sharkey wrote:
>
>> On Thu, Nov 6, 2014 at 4:14 AM, Andrei POPESCU <andreim...@gmail.com> wrote:
>> >
>> > A different method to achieve the same thing would be to use Ctrl-Alt-Fx
>> > to switch to a console, login and start another X instance with
>> >
>> > startx -- :1
>>
>> You don't even need the "-- :1" any more. startx is now smart enough
>> to find an unused display on its own.
>
> Nowadays (testing/unstable) a simple 'startx' doesn't even have to hunt
> around for an unused display because it will always bring X up on the
> tty it is started from.

A display and a tty aren't quite the same thing. It still has to
figure out what display (what you see when you run "echo $DISPLAY") to
use.

And starting up X on the text tty is really awful in my opinion. I
liked it much better when 1-6 was reserved for text and 7-12 for
graphics. How do you even see console messages now?

Eric


--
To UNSUBSCRIBE, email to debian-us...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listm...@lists.debian.org
Archive: https://lists.debian.org/CAC73aR1AsD4hbNUOYew9-zdW2HgG93=5MekFBFO2...@mail.gmail.com

Andrei POPESCU

unread,
Nov 8, 2014, 4:10:06 AM11/8/14
to
On Vi, 07 nov 14, 15:12:04, Eric Sharkey wrote:
> On Fri, Nov 7, 2014 at 5:34 AM, Brian <ad...@cityscape.co.uk> wrote:
> >
> > Nowadays (testing/unstable) a simple 'startx' doesn't even have to hunt
> > around for an unused display because it will always bring X up on the
> > tty it is started from.
>
> A display and a tty aren't quite the same thing. It still has to
> figure out what display (what you see when you run "echo $DISPLAY") to
> use.

I'm quite sure Brian meant tty.

> And starting up X on the text tty is really awful in my opinion. I
> liked it much better when 1-6 was reserved for text and 7-12 for
> graphics. How do you even see console messages now?

For debugging X the log is usually more useful anyway and this also
prevents someone getting very easy access your system by just
Ctrl-Alt-Fx (the console where 'startx' was run) and just Ctrl-C to kill
the X server.
signature.asc

Hendrik Boom

unread,
Nov 8, 2014, 10:30:05 PM11/8/14
to
On Thu, 06 Nov 2014 10:15:51 +0000, Brian wrote:

> On Thu 06 Nov 2014 at 11:14:58 +0200, Andrei POPESCU wrote:
>
>> On Jo, 06 nov 14, 03:58:13, Hendrik Boom wrote:
>> >
>> > I want to be able to log on multiple times, simultaneously, to the
>> > same machine, with the same physical keyboard and boutse and screen,
>> > but with different user ids. So that when I'm logged in as myself,
>> > and my friend comes by who wants to use the machine for a minute, I
>> > can let him log in as another, independent user, without me having to
>> > log out first.
>>
>> This is usually called "switch user". A quick web search seems to
>> indicate lightdm might be able to support it, but can't help any
>> further. As far as I understand gdm+Gnome should be able to do it.
>
> xdm can do it. Adapting its approach:
>
> Go to "Seat configuration" in /etc/lightdm/lightdm.conf. Uncomment
> "[Seat:0]" and after this line put
>
> xserver-command=/usr/bin/X :0 vt07 -nolisten -tcp
>
> Add
>
> [Seat:1]
> xserver-command=/usr/bin/X :1 vt08 -nolisten -tcp

Yes, that worked beautifully. Thank you.
And I presume the same thing (but wiith a different config file) would
work if I were ever to switch to xdm.

-- hendrik

-- hendrik


--
To UNSUBSCRIBE, email to debian-us...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listm...@lists.debian.org
Archive: https://lists.debian.org/m3mmvb$oaj$1...@ger.gmane.org

Brian

unread,
Nov 9, 2014, 9:40:04 AM11/9/14
to
On Sun 09 Nov 2014 at 03:27:39 +0000, Hendrik Boom wrote:

> On Thu, 06 Nov 2014 10:15:51 +0000, Brian wrote:
>
> > xdm can do it. Adapting its approach:
> >
> > Go to "Seat configuration" in /etc/lightdm/lightdm.conf. Uncomment
> > "[Seat:0]" and after this line put
> >
> > xserver-command=/usr/bin/X :0 vt07 -nolisten -tcp
> >
> > Add
> >
> > [Seat:1]
> > xserver-command=/usr/bin/X :1 vt08 -nolisten -tcp
>
> Yes, that worked beautifully. Thank you.
> And I presume the same thing (but wiith a different config file) would
> work if I were ever to switch to xdm.

You'll want the Xservers file. Examples are there too.

A chance to correct my typ: '-tcp' should be 'tcp'.


--
To UNSUBSCRIBE, email to debian-us...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listm...@lists.debian.org
Archive: https://lists.debian.org/0911201414343...@desktop.copernicus.demon.co.uk
0 new messages