Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #176744 > unrolled thread

Re: How to find out the current display manager?

Started byFelipe Salvador <felipe.salvador@gmail.com>
First post2017-01-16 12:10 +0100
Last post2017-01-18 11:30 +0100
Articles 4 — 3 participants

Back to article view | Back to linux.debian.user


Contents

  Re: How to find out the current display manager? Felipe Salvador <felipe.salvador@gmail.com> - 2017-01-16 12:10 +0100
    Re: How to find out the current display manager? <tomas@tuxteam.de> - 2017-01-16 12:40 +0100
    Re: How to find out the current display manager? kamaraju kusumanchi <raju.mailinglists@gmail.com> - 2017-01-16 17:50 +0100
      Re: How to find out the current display manager? Felipe Salvador <felipe.salvador@gmail.com> - 2017-01-18 11:30 +0100

#176744 — Re: How to find out the current display manager?

FromFelipe Salvador <felipe.salvador@gmail.com>
Date2017-01-16 12:10 +0100
SubjectRe: How to find out the current display manager?
Message-ID<t0dkK-817-3@gated-at.bofh.it>
0;115;0cIn-Reply-To: <CABpbYae5E3sdoNsX328ugMmXj9Yh88LJuyK6R_nU7tw7hQoOYA@mail.gmail.com>

On Sun, Jan 15, 2017 at 09:47:40PM -0500, kamaraju kusumanchi wrote:
> How can I find out the display manager currently running on a machine
> from the command line?

I'm not sure, did you mean something like:

~$ echo $DESKTOP_SESSION
/usr/share/xsessions/plasma

?

> Google tells me that /etc/X11/default-display-manager will show the
> default display manager. But I want the display manager that is
> currently running (which can be different from the default). Is that
> possible?
> 
> thanks
> raju

-- 
Felipe Salvador

[toc] | [next] | [standalone]


#176748

From<tomas@tuxteam.de>
Date2017-01-16 12:40 +0100
Message-ID<t0dNM-8cl-33@gated-at.bofh.it>
In reply to#176744
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Mon, Jan 16, 2017 at 12:00:22PM +0100, Felipe Salvador wrote:
> 0;115;0cIn-Reply-To: <CABpbYae5E3sdoNsX328ugMmXj9Yh88LJuyK6R_nU7tw7hQoOYA@mail.gmail.com>
> 
> On Sun, Jan 15, 2017 at 09:47:40PM -0500, kamaraju kusumanchi wrote:
> > How can I find out the display manager currently running on a machine
> > from the command line?
> 
> I'm not sure, did you mean something like:
> 
> ~$ echo $DESKTOP_SESSION
> /usr/share/xsessions/plasma

Thanks for that nice example.

That's why I went to such lengts. On my system, this variable is unset
(and this is OK). But this (setting a variable in the session init, as
your system is doing) was one of the things I proposed. Of course, if
your system is already doing it: the merrier.

regards
- -- tomás
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)

iEYEARECAAYFAlh8r4MACgkQBcgs9XrR2kYVJwCcDRQfkByR77swzqtEfO5WBe/m
vegAnAs/nuPk8p8Ltnbmot+zgNvfLZEp
=+mmI
-----END PGP SIGNATURE-----

[toc] | [prev] | [next] | [standalone]


#176755

Fromkamaraju kusumanchi <raju.mailinglists@gmail.com>
Date2017-01-16 17:50 +0100
Message-ID<t0iDM-30L-25@gated-at.bofh.it>
In reply to#176744
On Mon, Jan 16, 2017 at 6:00 AM, Felipe Salvador
<felipe.salvador@gmail.com> wrote:
> 0;115;0cIn-Reply-To: <CABpbYae5E3sdoNsX328ugMmXj9Yh88LJuyK6R_nU7tw7hQoOYA@mail.gmail.com>
>
> On Sun, Jan 15, 2017 at 09:47:40PM -0500, kamaraju kusumanchi wrote:
>> How can I find out the display manager currently running on a machine
>> from the command line?
>
> I'm not sure, did you mean something like:
>
> ~$ echo $DESKTOP_SESSION
> /usr/share/xsessions/plasma

No, that is not what I mean. I came across this while searching in
google. But this shows the desktop session and not the display
manager. For example, I am running lightdm display manager but the
DESKTOP_SESSION points to plasma.

% echo $DESKTOP_SESSION
plasma

-- 
Kamaraju S Kusumanchi | http://raju.shoutwiki.com/wiki/Blog

[toc] | [prev] | [next] | [standalone]


#176802

FromFelipe Salvador <felipe.salvador@gmail.com>
Date2017-01-18 11:30 +0100
Message-ID<t0VF8-2KV-13@gated-at.bofh.it>
In reply to#176755
On Mon, Jan 16, 2017 at 11:46:05AM -0500, kamaraju kusumanchi wrote:
> On Mon, Jan 16, 2017 at 6:00 AM, Felipe Salvador
> <felipe.salvador@gmail.com> wrote:
> > 0;115;0cIn-Reply-To: <CABpbYae5E3sdoNsX328ugMmXj9Yh88LJuyK6R_nU7tw7hQoOYA@mail.gmail.com>
> >
> > On Sun, Jan 15, 2017 at 09:47:40PM -0500, kamaraju kusumanchi wrote:
> >> How can I find out the display manager currently running on a machine
> >> from the command line?
> >
> > I'm not sure, did you mean something like:
> >
> > ~$ echo $DESKTOP_SESSION
> > /usr/share/xsessions/plasma
> 
> No, that is not what I mean. I came across this while searching in
> google. But this shows the desktop session and not the display
> manager. For example, I am running lightdm display manager but the
> DESKTOP_SESSION points to plasma.

Ok, sorry.
I'm on a stretch/sid, did you have this file?

/etc/X11/default-display-manager[1]

[1] https://www.debian.org/doc/manuals/debian-reference/ch07.en.html#_starting_the_x_window_system

-- 
Felipe Salvador

[toc] | [prev] | [standalone]


Back to top | Article view | linux.debian.user


csiph-web