Похожие чаты

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 ответов

11 просмотров

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

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

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

30500 за редактор? )
Владимир
47
а через ESC-код ?
Alexey Kulakov
29
Anyone knows where there are some instructions or discort about failed bridge transactions ?
Jochem
21
Also, why can’t the community have a vote/ say when it comes to initiatives like buybacks. Isn’t the point of crypto decentralisation? Don’t we deserve input as long term supp...
👨🏽‍🦰
13
Чёт не понял, я ж правильной функцией воспользовался чтобы вывести отладочную информацию? но что-то она не ловится
notme
18
Привет)) уже кажется эту тему перемусолили, но вот я так и не понял. Я сейчас сижу на 27дюймов 2к мониторе. На Актуальной макоси, если я куплю 27д 4к монитор: - будет ли изобр...
Vladislav Piskunov
15
any reference of this implementation?
BitBuddha
29
Hi guys, any problem with Pulsebrige? Trying to transfer from wETH to ETH. First it tells me to connect my metamask "through mobile app" not desktop. Then I did and confirmed ...
Snowflakecrypto
13
У меня есть функция где происходит это: write_bit(buffer, 1); write_bit(buffer, 0); write_bit(buffer, 1); write_bit(buffer, 1); write_bit(buffer, 1); w...
~
13
Страшнейшая правда про списки ЦБ. С первых дней жизни P2P сферы, молодые человеки, начитавшись законодательной базы и "внутренних" документов, решили, что им противостоит сер...
Foxcool
3
Карта сайта