Linux mint tty1 при запуске

Linux Mint Forums

Welcome to the Linux Mint forums!

[Solved] LightDM failure on boot — boots to tty1

[Solved] LightDM failure on boot — boots to tty1

Post by keys3429 » Wed Feb 05, 2020 10:14 pm

My Linux Mint Mate 19.3 (64-bit) isn’t booting to the desktop.
I get a text screen where I enter my username and password and I’m at a command prompt at tty1

During the boot process I can see a lot of text scrolling down the screen with a green OK besides most of them.
It scrolls way to fast for me to get a good look at it but there is a red failed next to LightDM from what I can make out.

I am able to type in startx to go to desktop, but I would like this to occur automatically. Also, the text login screen doesn’t look nearly as nice as the graphical login screen. And it doesn’t pre-fill my username either.

I have 2 PC’s (Both intel NUC’s) with Linux Mint Mate 19.3. One works perfectly and the other I get text login. They were both working perfectly fine — The next day I turned on one PC and it gives me text. The other was still graphical login. I can’t figure out what is different is between the 2 as they’re virtually identical.

I’ve uninstalled / reinstalled LightDM which didn’t change anything.
Checked the grub settings. My Grub settings are set to GRUB_CMDLINE_LINUX_DEFAULT=»splash»

Running command ‘systemctl get-default’ gives me graphical.target which is what it should be.
I’m running out of ideas with my limited Linux knowledge. I have no idea why it’s defaulting to text, especially when I can type in startx and it goes to the desktop.

Any assistance would be greatly appreciated.

Источник

Linux Mint Forums

Welcome to the Linux Mint forums!

19.1 Cinnamon boots to tty1

19.1 Cinnamon boots to tty1

Post by novicenewbie » Mon Mar 25, 2019 11:05 am

So I wiped my Windows 7 install for Cinnamon 19.1, all was running fine until I rebooted now it boots straight into tty1 with no GUI. I done some searching on Google but don’t want to go messing with things without tknowing what I’m doing. Any help is appreciated

Re: 19.1 Cinnamon boots to tty1

Post by rene » Mon Mar 25, 2019 11:21 am

Are you sure it «boots into tty1» in the sense of you being presented a login prompt? Or are you referring to a GRUB prompt? Because former is fairly hard to get without being aware of having done anything to provoke it.

Читайте также:  Virtual studio для linux

Also, needs more info. Was the Mint install pre-existing or are we talking about Windows 7 having been erased as part of the Mint install and the first boot into the actual system on the hard drive failing? If not that, is the Mint install at least new enough that simply reinstalling again is not an issue?

Re: 19.1 Cinnamon boots to tty1

Post by novicenewbie » Mon Mar 25, 2019 12:13 pm

Are you sure it «boots into tty1» in the sense of you being presented a login prompt? Or are you referring to a GRUB prompt? Because former is fairly hard to get without being aware of having done anything to provoke it.

Also, needs more info. Was the Mint install pre-existing or are we talking about Windows 7 having been erased as part of the Mint install and the first boot into the actual system on the hard drive failing? If not that, is the Mint install at least new enough that simply reinstalling again is not an issue?

Re: 19.1 Cinnamon boots to tty1

Post by rene » Mon Mar 25, 2019 1:38 pm

So this happens upon first boot into the installed system? Try holding down left-shift while booting and from the resulting Grub menu add «nomodeset» to the kernel command line. IIRC it was «e» to edit the command line (it’s printed below the menu); replace «quiet splash» on the «linux» line with «nomodeset».

It’s still not completely clear to me what you’re experiencing but above covers one option. It that helps and if you have Nvidia graphics you’ll want to switch to the proprietary driver through Driver Manager. If other graphics. not sure in fact; please in that case post the output of inxi -Fxz so we can see how and what.

Re: 19.1 Cinnamon boots to tty1

Post by novicenewbie » Tue Mar 26, 2019 3:38 am

So this happens upon first boot into the installed system? Try holding down left-shift while booting and from the resulting Grub menu add «nomodeset» to the kernel command line. IIRC it was «e» to edit the command line (it’s printed below the menu); replace «quiet splash» on the «linux» line with «nomodeset».

It’s still not completely clear to me what you’re experiencing but above covers one option. It that helps and if you have Nvidia graphics you’ll want to switch to the proprietary driver through Driver Manager. If other graphics. not sure in fact; please in that case post the output of inxi -Fxz so we can see how and what.

Re: 19.1 Cinnamon boots to tty1

Post by rene » Tue Mar 26, 2019 5:51 am

Wanting to see the inxi -Fxz output was not really in a «would be nice» sort of way; it provides needed information on your hardware. In any case: if this happens after a few reboots I suppose it’s related to an upgrade; kernel likely, possibly mesa or X server. In the case of a kernel upgrade you can from that same Grub menu you got above boot previous kernels to try, and/or from the Update Manager’s View -> Linux kernels menu try a different kernel series altogether.

If you can’t get back to the previous functional situation AND have no idea what it is you changed I’d reinstall, given that to be preserved long-term history is apparently not the case anyway.

Re: 19.1 Cinnamon boots to tty1

Post by Moem » Wed Jun 19, 2019 3:36 am

If your issue is solved, kindly indicate that by editing the first post in the topic, and adding [SOLVED] to the title. Thanks!

Читайте также:  Лента для механического принтера dymo omega

Источник

Linux Mint Forums

Welcome to the Linux Mint forums!

SOLVED: Mint boots in terminal (tty1), want GUI (disk was full)

SOLVED: Mint boots in terminal (tty1), want GUI (disk was full)

Post by bassek » Sun May 23, 2021 6:40 am

Suddenly I can not seem to open up the graphical user interface when booting. Or even after login.
CTRL+ALT F7 does nothing. CTRL+ALT F2-6 makes black screen, CTRL+ALT F1 takes me back to tty1.
CTRL+ALT F8 to F12 does nothing either.
How do I get back the GUI?

Re: Mint boots in terminal (tty1), want GUI

Post by djph » Sun May 23, 2021 9:05 am

Re: Mint boots in terminal (tty1), want GUI

Post by bassek » Sun May 23, 2021 9:10 am

Re: Mint boots in terminal (tty1), want GUI

Post by bassek » Sun May 23, 2021 9:13 am

Re: Mint boots in terminal (tty1), want GUI

Post by Flemur » Sun May 23, 2021 9:23 am

Re: Mint boots in terminal (tty1), want GUI

Post by bassek » Sun May 23, 2021 9:37 am

The sudo lightdm did not work, because the disk is full!
Now I might have discovered the root cause.

Any command hat might give me disk space?

Re: Mint boots in terminal (tty1), want GUI

Post by bassek » Sun May 23, 2021 9:56 am

Re: Mint boots in terminal (tty1), want GUI

Post by bassek » Sun May 23, 2021 10:13 am

Re: Mint boots in terminal (tty1), want GUI

Post by sanmig » Sun May 23, 2021 10:56 am

Re: Mint boots in terminal (tty1), want GUI

Post by SMG » Sun May 23, 2021 11:15 am

The data you posted appears to be a mix between LM19 and LM20. Did you upgrade and not do a clean install of LM20? It’s possible not everything upgraded properly if you did.

Maybe some of the tips in this thread Disk full, unable to login. I need help [SOLVED] may help you clear enough space that you can get back into your system.

Here are some additional tips How to Clean Linux Mint Safely

Источник

Linux Mint Forums

Welcome to the Linux Mint forums!

Boots to tty1 before login

Boots to tty1 before login

Post by Uncle_Snail » Sun May 28, 2017 12:15 am

About me: I have been using Linux a few years now, so I generally have some idea of what I’m doing. I am using Linux Mint 18.1 with Cinnamon, and it is a fresh install, as of a few days ago, but I have installed quite a few programs and done a bit of customization (including updating my nvidia graphics drivers to nvidia 340 using the driver manager. This driver is compatible with my card, and it is what I had before the switch to 18.1).

The background: I had the «show desktop» applet error, where the windows become transparent. I couldn’t look it up on the Internet at the time, because all my windows were transparent. Thus, I pressed ctrl+alt+F1 to drop into the tty1 terminal. I tried to restart the x server, but I couldn’t remember the command correctly (I did not end up doing anything, so I am quite sure I did not wreck anything. It just showed me suggestions of what I might be trying to type). (I know how to restart x now 🙂
I then switched back to tty7 to see that the problem persisted, and I could not restart (because the restart window was also transparent). Thus, I switched to tty1 and restarted with the «shutdown -r 0» command.

The problem: Now every time I start the computer it boots to tty1 for a few seconds, until the x server starts, and the cinnamon login screen loads. Not only is this annoying, but it seems to be slowing down the boot process by at least a few seconds. Edit: it also shows in tty1 mode after the x server is stopped when shutting down, for a few seconds before the computer turns off.

Читайте также:  Linux сетевое окружение windows 10

The follow-up: I tried making sure I was in tty7 before restarting, and testing if that fixed it, but I can’t get it right. I don’t want to try any of the other solutions I could find, because they are all for people who really «messed things up», and I don’t want to reinstall graphics drivers, or cinnamon, or add anything to the grub startup command, because I am pretty sure those have nothing to do with the problem. Probably the answer is quite simple and obvious, I just need the right person to help me. I have switched to tty1 before in Mint 17.2 and I do not think there were ever any problems like this. If grub was automatically edited somehow by me switching to tty1, I’ll change it, but I’ve edited grub before and I wanted to leave it unedited until I really had to change it, because I wanted to leave this install «pure», without any random fixes that may not have been the correct method. It’s bound to happen, as I make lots of mistakes, and have to learn, but as far as I can help it, I will leave this install clutter free of incorrect workarounds.

Thanks in advance everyone. The Linux community is really amazing. 🙂

(note, I do not use my computer on Sunday, so if I do not get back to you right away, I’m sorry.)

Источник

Linux Mint Forums

Welcome to the Linux Mint forums!

[SOLVED] Stuck in TTY1 after updating nvidia drivers

[SOLVED] Stuck in TTY1 after updating nvidia drivers

Post by Spacebar » Fri Jun 26, 2020 4:25 am

I’ve been using Linux Cinnamon for half a year on a custom built PC. This is my first Linux computer and I’ve been happily using it as an alternative to Windows, but I’m very inexperienced and don’t know any commands for command line stuff. So sorry if this is a very dumb noob question and I just missed the solution in some other thread.

Current problem is on boot up I get sent straight to tty1 login (which I didn’t even know about till now) and I don’t know how to go back to normal operation. Based on other threads where people were stuck in tty1 I was at least able to log in and try to run startx, but I. don’t actually have a clue what the output means or what to do with the info. I put the output in the photo at the bottom along with the inxi info.

I restart my desktop regularly for updates including earlier today without issue. So I’m fairly sure what caused the problem was I wanted to try installing Lutris. I was following the instructions here and enabled 32bit architecture, updated NVIDIA drivers, and installed vulkan seemingly without issue. I did then try to install wine from the terminal according to these instructions, but it failed giving some error code related to broken packages. That was when I remembered that I skipped the step to reboot after updating all the graphics drivers, but upon rebooting I was greeted by the tty1 screen I can’t get out of now.

I do know an easy solution would be to just use Timeshift from my USB Linux stick as I did set up Timeshift to collect regular backups, but I don’t know when the last back up was made and I’d like to see if there is at least a simple fix to get out of tty1 for future reference.

Источник

Поделиться с друзьями
КомпСовет
Adblock
detector