Похожие чаты

Hi, I'm getting a problem after logging into my machine


My machine's GUI goes and stays in tty7 after every time I've logged in
Any idea why does this happen and possible solution
I find this quite strange and I have no idea how this happened ?
I'm on Debian Buster XFCE

16 ответов

13 просмотров

Its usual GUI always set to tty7 u can change This is for the purpose of switching. Switching to that console (Alt-F7 from another text console, Ctrl-Alt-F7 from another instance of X) activates its display and input, switching away deactivates it. You can start other instances of X, and they will use more consoles (8, 9, etc.). Internal details of mode switching and console handling may vary. It is also possible to specify which TTY that Xorg will use. For example, you may specify what TTY Xorg will use when it is started. startx -- vt1 This will start X server in tty7

Пользователь 61653
Its usual GUI always set to tty7 u can change Th...

Instead of startx —(display output) (Appending startx has no effect ) , I appended [[ $(fgconsole 2>/dev/null ==1) ]] && exec lightdm — Virtual1 And it works fine

George Gavin
Why would you even start lightdm after logging in?

Cause it's giving me black screen after being logged

अश्वत्थामा Lu(1d!ty
Cause it's giving me black screen after being logg...

Just to be sure that we both are on the same page, by logging in, you mean you've entered your username and password in the TTY prompt? After you've successfully logged in, it should give you shell access (bash/zsh/...), and not display a completely blank screen.

George Gavin
Just to be sure that we both are on the same page,...

No I've entered my credentials on GUI prompt Bit what it was giving me was black interfaces and the GUI stayed in tty7 So after that command I'm getting prompt (GUI) on tty1 Problem solved 🙂

अश्वत्थामा Lu(1d!ty
No I've entered my credentials on GUI prompt Bit...

If you've logged in using the greeter on tty7, you'd proceed to start the desktop environment (or window manager) on the same tty. Why would you start the GUI on 2 different ttys unless absolutely necessary?

अश्वत्थामा Lu(1d!ty
I want on tty1 that's why

In that case, you should set up lightdm to start on tty1 instead of 7, not in both of them.

George Gavin
In that case, you should set up lightdm to start o...

How do I do that That was what I was asking (being skeptical)

अश्वत्थामा Lu(1d!ty
How do I do that That was what I was asking (bein...

I haven't used lightdm in quite a long time. From what I found it's hard-coded to use tty7, I'm not sure if it's still the same. What's the problem with it using tty7 btw?

George Gavin
I haven't used lightdm in quite a long time. From ...

There's no problem but why does it goes over tty7

अश्वत्थामा Lu(1d!ty
There's no problem but why does it goes over tty7

IIRC, most display managers use tty7 by default, except for SDDM (I know of only this), which uses tty1.

अश्वत्थामा Lu(1d!ty
ok I got this

But you don't have to run a command to start the GUI, even on tty7. Doesn't lightdm have an option to choose the DE/WM?

George Gavin
But you don't have to run a command to start the G...

Yes It has got I've forced to start on tty1 to start GUI

Похожие вопросы

Обсуждают сегодня

Господа, а что сейчас вообще с рынком труда на делфи происходит? Какова ситуация?
Rꙮman Yankꙮvsky
29
А вообще, что может смущать в самой Julia - бы сказал, что нет единого стандартного подхода по многим моментам, поэтому многое выглядит как "хаки" и произвол. Короче говоря, с...
Viktor G.
2
@Benzenoid can you tell me the easiest, and safest way to bu.y HEX now?
Živa Žena
20
This is a question from my wife who make a fortune with memes 😂😂 About the Migration and Tokens: 1. How will the old tokens be migrated to the new $LGCYX network? What is th...
🍿 °anton°
2
30500 за редактор? )
Владимир
47
а через ESC-код ?
Alexey Kulakov
29
What is the Dex situation? Agora team started with the Pnetwork for their dex which helped them both with integration. It’s completed but as you can see from the Pnetwork ann...
Ben
1
Гайс, вопрос для разносторонее развитых: читаю стрим с юарта, нада выделять с него фреймы с определенной структурой, если ли чо готовое, или долбаться с ринг буффером? нада у...
Vitaly
9
Anyone knows where there are some instructions or discort about failed bridge transactions ?
Jochem
21
@lozuk how do I get my phex copies of my ehex from a atomic wallet, to move to my rabby?
Justfrontin 👀
11
Карта сайта