Похожие чаты

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

4 просмотра

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

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

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

А чем вам питонисты не угодили?😂
.
79
всем доброго времени суток! имею вопрос: как понять ТОЧНО, что на нексус производится атака или он перегружен? исходные данные: - Nexus OSS 3.67.1-01 на OrientDB - Total co...
Michael Kostelcev
11
Всем привет, написал код ниже, но он выдает сегфолт, в чем причина? #include <stdio.h> #include <stdlib.h> #include <string.h> struct product { char *name; float price; };...
buzz базз
75
or any website to buy prepaid card with xmr that's not trocador that's down?
Umbrella Party Partner
18
Hi, I can't understand promises in JavaScript and what we should use them for (maybe the teacher didn't teach well XD). Do you have a solution for this? And are promises used...
A
29
Ещё такой вопрос. Мне необходимо хранить пароль пользователя локально. Для этого планирую использовать ini файл. Это для автозаполнения полей логин и пароль при авторизации. Е...
Евгений
19
Добрый день, LO Writer, проблема с нумерацией таблиц (вставка названия). У меня два стиля нумерованных списка, один для основного текста (вида 1.1.1) другой доя приложений (ви...
Виктор
6
My assets the Oceans at Binance, its displaying passive and no automatically convert, this situation will change?
Nationalizze
8
Xem delist ho rha hai agr naa bhechu toh kya hoga after 1 july?
ABHI
27
Ты просто гитлеровскую эстетику плохо понимаешь. Он же всё под Цезаря делал. А это как бы запрещённый приём в политике. Пиджаки они зачем все носят? Чтобы показать что они тип...
Ivan Kropotkin
4
Карта сайта