public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] Re: XWindow appearing in a non-graphical tty. A bug or feature?
  2020-12-18 16:04 [gentoo-user] XWindow appearing in a non-graphical tty. A bug or feature? gevisz
@ 2020-12-18 15:22 ` Grant Edwards
  2020-12-18 17:31   ` gevisz
  2020-12-19  8:07 ` Nikos Chantziaras
  1 sibling, 1 reply; 6+ messages in thread
From: Grant Edwards @ 2020-12-18 15:22 UTC (permalink / raw
  To: gentoo-user

On 2020-12-18, gevisz <gevisz@gmail.com> wrote:

> During the last 22 years, I got used to the setting
> when the XWindow system appeared on one of
> the "graphical" virtual terminals, mostly on tty6 or tty7.
>
> However, after installing a new Gentoo system with
> gentoo-kernel, I found out that the XWindow system
> started to appear in the same tty, where I started it
> using the startx command, shadowing all that was
> typed there including the messages from the xorg-server.
>
> So, I just wonder: "Is it a bug or a feature?"

IIRC, this happened as part of the switch to running the X server as a
normal user instead of as root. As a normal user, you only "own" the
tty you logged in on, so that's the one used by X.

> And where exactly can one configure it?

I assume that if you switch back to running X as root, you get the old
behavior of the X server running on tty6/7/whatever. I don't know if
there's a way to get that behavior while still running non-root X.

--
Grant






^ permalink raw reply	[flat|nested] 6+ messages in thread

* [gentoo-user] XWindow appearing in a non-graphical tty. A bug or feature?
@ 2020-12-18 16:04 gevisz
  2020-12-18 15:22 ` [gentoo-user] " Grant Edwards
  2020-12-19  8:07 ` Nikos Chantziaras
  0 siblings, 2 replies; 6+ messages in thread
From: gevisz @ 2020-12-18 16:04 UTC (permalink / raw
  To: gentoo-user

During the last 22 years, I got used to the setting
when the XWindow system appeared on one of
the "graphical" virtual terminals, mostly on tty6 or tty7.

However, after installing a new Gentoo system with
gentoo-kernel, I found out that the XWindow system
started to appear in the same tty, where I started it
using the startx command, shadowing all that was
typed there including the messages from the xorg-server.

So, I just wonder: "Is it a bug or a feature?"

And where exactly can one configure it?


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [gentoo-user] Re: XWindow appearing in a non-graphical tty. A bug or feature?
  2020-12-18 15:22 ` [gentoo-user] " Grant Edwards
@ 2020-12-18 17:31   ` gevisz
  0 siblings, 0 replies; 6+ messages in thread
From: gevisz @ 2020-12-18 17:31 UTC (permalink / raw
  To: gentoo-user

пт, 18 дек. 2020 г. в 17:22, Grant Edwards <grant.b.edwards@gmail.com>:
>
> On 2020-12-18, gevisz <gevisz@gmail.com> wrote:
>
> > During the last 22 years, I got used to the setting
> > when the XWindow system appeared on one of
> > the "graphical" virtual terminals, mostly on tty6 or tty7.
> >
> > However, after installing a new Gentoo system with
> > gentoo-kernel, I found out that the XWindow system
> > started to appear in the same tty, where I started it
> > using the startx command, shadowing all that was
> > typed there including the messages from the xorg-server.
> >
> > So, I just wonder: "Is it a bug or a feature?"
>
> IIRC, this happened as part of the switch to running the X server as a
> normal user instead of as root. As a normal user, you only "own" the
> tty you logged in on, so that's the one used by X.
>
> > And where exactly can one configure it?
>
> I assume that if you switch back to running X as root, you get the old
> behavior of the X server running on tty6/7/whatever. I don't know if
> there's a way to get that behavior while still running non-root X.
>

Ok, thank you for the answer,

I think that I could do with the new behaviour. :)


^ permalink raw reply	[flat|nested] 6+ messages in thread

* [gentoo-user] Re: XWindow appearing in a non-graphical tty. A bug or feature?
  2020-12-18 16:04 [gentoo-user] XWindow appearing in a non-graphical tty. A bug or feature? gevisz
  2020-12-18 15:22 ` [gentoo-user] " Grant Edwards
@ 2020-12-19  8:07 ` Nikos Chantziaras
  2020-12-19 15:08   ` gevisz
  2020-12-19 19:20   ` Grant Edwards
  1 sibling, 2 replies; 6+ messages in thread
From: Nikos Chantziaras @ 2020-12-19  8:07 UTC (permalink / raw
  To: gentoo-user

On 18/12/2020 18:04, gevisz wrote:
> During the last 22 years, I got used to the setting
> when the XWindow system appeared on one of
> the "graphical" virtual terminals, mostly on tty6 or tty7.
> 
> However, after installing a new Gentoo system with
> gentoo-kernel, I found out that the XWindow system
> started to appear in the same tty, where I started it
> using the startx command, shadowing all that was
> typed there including the messages from the xorg-server.
> 
> So, I just wonder: "Is it a bug or a feature?"
> 
> And where exactly can one configure it?

Are you using systemd? In contrast to OpenRC, systemd launches X11 on 
the current TTY:

https://bbs.archlinux.org/viewtopic.php?id=169903



^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [gentoo-user] Re: XWindow appearing in a non-graphical tty. A bug or feature?
  2020-12-19  8:07 ` Nikos Chantziaras
@ 2020-12-19 15:08   ` gevisz
  2020-12-19 19:20   ` Grant Edwards
  1 sibling, 0 replies; 6+ messages in thread
From: gevisz @ 2020-12-19 15:08 UTC (permalink / raw
  To: gentoo-user

сб, 19 дек. 2020 г. в 10:07, Nikos Chantziaras <realnc@gmail.com>:
>
> On 18/12/2020 18:04, gevisz wrote:
> > During the last 22 years, I got used to the setting
> > when the XWindow system appeared on one of
> > the "graphical" virtual terminals, mostly on tty6 or tty7.
> >
> > However, after installing a new Gentoo system with
> > gentoo-kernel, I found out that the XWindow system
> > started to appear in the same tty, where I started it
> > using the startx command, shadowing all that was
> > typed there including the messages from the xorg-server.
> >
> > So, I just wonder: "Is it a bug or a feature?"
> >
> > And where exactly can one configure it?
>
> Are you using systemd? In contrast to OpenRC, systemd launches X11 on
> the current TTY:
>
> https://bbs.archlinux.org/viewtopic.php?id=169903

No, I am using OpenRC.


^ permalink raw reply	[flat|nested] 6+ messages in thread

* [gentoo-user] Re: XWindow appearing in a non-graphical tty. A bug or feature?
  2020-12-19  8:07 ` Nikos Chantziaras
  2020-12-19 15:08   ` gevisz
@ 2020-12-19 19:20   ` Grant Edwards
  1 sibling, 0 replies; 6+ messages in thread
From: Grant Edwards @ 2020-12-19 19:20 UTC (permalink / raw
  To: gentoo-user

On 2020-12-19, Nikos Chantziaras <realnc@gmail.com> wrote:
> On 18/12/2020 18:04, gevisz wrote:
>> During the last 22 years, I got used to the setting
>> when the XWindow system appeared on one of
>> the "graphical" virtual terminals, mostly on tty6 or tty7.
>> 
>> However, after installing a new Gentoo system with
>> gentoo-kernel, I found out that the XWindow system
>> started to appear in the same tty, where I started it
>> using the startx command, shadowing all that was
>> typed there including the messages from the xorg-server.
>> 
>> So, I just wonder: "Is it a bug or a feature?"
>> 
>> And where exactly can one configure it?
>
> Are you using systemd? In contrast to OpenRC, systemd launches X11 on 
> the current TTY:

Not any more. The default profile now launches X11 on the current TTY
even if you're using OpenRC.

--
Grant






^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2020-12-19 19:20 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-12-18 16:04 [gentoo-user] XWindow appearing in a non-graphical tty. A bug or feature? gevisz
2020-12-18 15:22 ` [gentoo-user] " Grant Edwards
2020-12-18 17:31   ` gevisz
2020-12-19  8:07 ` Nikos Chantziaras
2020-12-19 15:08   ` gevisz
2020-12-19 19:20   ` Grant Edwards

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox