Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.user > #212314
| From | David Wright <deblis@lionunicorn.co.uk> |
|---|---|
| Newsgroups | linux.debian.user |
| Subject | Re: x and virtual consoles |
| Date | 2019-08-06 16:20 +0200 |
| Message-ID | <ys8tH-3gG-5@gated-at.bofh.it> (permalink) |
| References | <yruZj-3MD-5@gated-at.bofh.it> <yrJbX-4fE-1@gated-at.bofh.it> <yrSfg-1eb-5@gated-at.bofh.it> <yrTkZ-28N-11@gated-at.bofh.it> <ys0Zc-73J-7@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
On Tue 06 Aug 2019 at 07:11:04 (+0100), Ed wrote:
> On 2019-08-05 16:59-0500, David Wright wrote:
> > Perhaps this is all to do with your DM. I use startx, and since
> > stretch the Xserver runs "on top of" the VC that started it, and
> > as the user, not root. In the past, Xservers ran as root on VC7,
> > VC8, …
>
> Does lightdm or gdm act as your greeter? I have not reproduced this
> between xsessions started by tty login, only ever the session started by
> lightdm crashes.
No, I'm afraid I'm a member of Curt's “ineluctable "just use Mutt"”
association, using startx (though I don't see what Mutt has to do with
the price of fish).
One footnote to my comment, though. After posting it, I looked back
at the line in Xsession and noted that nowadays there's a variable
that might be more useful than the date, so I changed it.
ERRFILE=$HOME/.xsession-errors-$XDG_VTNR
will number them by the VC that the Xserver started on. This could
be fragile if you were to be able to start more than one from the same
VC. OTOH it's predictable as it's available before the Xserver starts,
unlike another alternative which is
ERRFILE=$HOME/.xsession-errors-${DISPLAY#:}
Both these have the advantage over date that they are self-cleaning,
getting overwritten in the normal course of events.
> Tried to force a x session on vt8, but that responds with 'Permission
> denied' when doing that. I think system d sets up the permissions of
> tty1 when you use that console:
>
> crw------- 1 ed tty 4, 1 2019-08-06 06:57:48 /dev/tty1
I take what the system throws at me. AIUI the user-owner Xserver has
to run on the tty from which it was started, whereas the older
root-owned ones could open tty7, 8, etc. I don't use the latter
any more.
My guess is that you can't run two user-owned Xservers from the *same*
VC, which is why I trust using $XDG_VTNR above. I take it that this
variable is a new Desktop Group thingy, and its newness is why I
wasn't using it already.
Cheers,
David.
Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
x and virtual consoles Ed <ed-debian@s5h.net> - 2019-08-04 22:10 +0200
Re: x and virtual consoles Cindy Sue Causey <butterflybytes@gmail.com> - 2019-08-05 00:10 +0200
Re: x and virtual consoles nektarios <nektarios@mail.nektarioskatakis.xyz> - 2019-08-05 00:10 +0200
Re: x and virtual consoles Cindy Sue Causey <butterflybytes@gmail.com> - 2019-08-05 00:40 +0200
Re: x and virtual consoles Ed <ed-debian@s5h.net> - 2019-08-05 08:30 +0200
Re: x and virtual consoles Felix Miata <mrmazda@earthlink.net> - 2019-08-05 02:10 +0200
Re: x and virtual consoles Ed Neville <ed-debian@s5h.net> - 2019-08-05 08:30 +0200
Re: x and virtual consoles Curt <curty@free.fr> - 2019-08-05 12:00 +0200
Re: x and virtual consoles Ed <ed-debian@s5h.net> - 2019-08-05 23:00 +0200
Re: x and virtual consoles deloptes <deloptes@gmail.com> - 2019-08-05 13:20 +0200
Re: x and virtual consoles Ed <ed-debian@s5h.net> - 2019-08-05 23:00 +0200
Re: x and virtual consoles David Wright <deblis@lionunicorn.co.uk> - 2019-08-06 00:10 +0200
Re: x and virtual consoles Ed <ed-debian@s5h.net> - 2019-08-06 08:20 +0200
Re: x and virtual consoles David Wright <deblis@lionunicorn.co.uk> - 2019-08-06 16:20 +0200
Re: x and virtual consoles Andrei POPESCU <andreimpopescu@gmail.com> - 2019-08-06 08:10 +0200
Re: x and virtual consoles Ed <ed-debian@s5h.net> - 2019-08-06 08:20 +0200
Re: x and virtual consoles Curt <curty@free.fr> - 2019-08-06 09:40 +0200
Re: x and virtual consoles deloptes <deloptes@gmail.com> - 2019-08-06 14:50 +0200
Re: x and virtual consoles Curt <curty@free.fr> - 2019-08-06 15:30 +0200
Re: x and virtual consoles Curt <curty@free.fr> - 2019-08-06 15:50 +0200
Re: x and virtual consoles Gene Heskett <gheskett@shentel.net> - 2019-08-06 16:40 +0200
Re: x and virtual consoles Ed Neville <ed-debian@s5h.net> - 2019-08-06 21:00 +0200
Re: x and virtual consoles Marc Shapiro <marcnshap@gmail.com> - 2019-09-10 08:40 +0200
Re: x and virtual consoles Curt <curty@free.fr> - 2019-08-05 13:40 +0200
Re: x and virtual consoles Felix Miata <mrmazda@earthlink.net> - 2019-08-05 17:20 +0200
Re: x and virtual consoles Ed <ed-debian@s5h.net> - 2019-08-05 19:20 +0200
Re: x and virtual consoles Curt <curty@free.fr> - 2019-08-05 20:30 +0200
csiph-web