LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu
User Name
Password
Ubuntu This forum is for the discussion of Ubuntu Linux.

Notices


Reply
  Search this Thread
Old 06-27-2019, 11:14 PM   #1
lmohammeed
Member
 
Registered: Sep 2013
Posts: 61

Rep: Reputation: Disabled
Problem exiting tty1


Dear respected developers and users,

I need your help to exist tty1.
I have tried cltr+alt+F7, when I do init 5
I got
Failed to start graphic.target: Interactive authentication required
Failes to open /dev/initct1: permission denied
Failed to talk to init deamon.

Your help is welcome.
Regards
Lawal

Last edited by lmohammeed; 06-27-2019 at 11:17 PM. Reason: Typo
 
Old 06-28-2019, 12:19 AM   #2
mrmazda
LQ Guru
 
Registered: Aug 2016
Location: SE USA
Distribution: openSUSE 24/7; Debian, Knoppix, Mageia, Fedora, others
Posts: 5,879
Blog Entries: 1

Rep: Reputation: 2078Reputation: 2078Reputation: 2078Reputation: 2078Reputation: 2078Reputation: 2078Reputation: 2078Reputation: 2078Reputation: 2078Reputation: 2078Reputation: 2078
We need more information. It is not clear what you are attempting. Which Ubuntu version do you have? Is this a new problem that began right after installing Ubuntu? Is the GUI failing to start?

Ctrl-Alt-F7 from your graphical session or login manager is probably a null event, as virtual terminal 7 (vtty7) is normally where the GUI runs. If the GUI is running there, then Ctrl-Alt-F[1-6] should switch you to a vtty. The GUI might be running on vtty1, so to get to a text vtty would require Ctrl-Alt-F[2-6].

Init 5 is an alias to initiate the GUI login manager when not booted directly into graphical mode. It is another null event, if the GUI is already running.
 
Old 06-28-2019, 12:56 AM   #3
pan64
LQ Addict
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 22,057

Rep: Reputation: 7349Reputation: 7349Reputation: 7349Reputation: 7349Reputation: 7349Reputation: 7349Reputation: 7349Reputation: 7349Reputation: 7349Reputation: 7349Reputation: 7349
http://www.catb.org/esr/faqs/smart-q...html#beprecise

Yes, would be nice to explain what do you want to achieve, what do you mean by " help to exist tty1"...
 
Old 06-28-2019, 02:10 AM   #4
lmohammeed
Member
 
Registered: Sep 2013
Posts: 61

Original Poster
Rep: Reputation: Disabled
Thank you.
I am using Ubuntu 16.04. The system was working fine, However, I didn't use it for about three months. Now I tried to use it but the GUI fail to start. I run update and restarts but it still boots on tty1.

Thanks in advance.
 
Old 06-28-2019, 03:54 AM   #5
pan64
LQ Addict
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 22,057

Rep: Reputation: 7349Reputation: 7349Reputation: 7349Reputation: 7349Reputation: 7349Reputation: 7349Reputation: 7349Reputation: 7349Reputation: 7349Reputation: 7349Reputation: 7349
you need to check logs and also post error messages
 
Old 06-29-2019, 08:03 AM   #6
lmohammeed
Member
 
Registered: Sep 2013
Posts: 61

Original Poster
Rep: Reputation: Disabled
Dear Pan64,

Thanks a lot. Sorry for the delay. Please how to check the logs? For more information I got this message when I tried to install update.
W: Possible missing firmware /lib/firmware/i915/kbl_guc_ver9_14.bin for module i915
W: Possible missing firmware /lib/firmware/i915/bxt_guc_ver8_7.bin for module i915
rocessing triggers for resolving (1.78ubuntu7)...
 
Old 06-29-2019, 09:01 AM   #7
pan64
LQ Addict
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 22,057

Rep: Reputation: 7349Reputation: 7349Reputation: 7349Reputation: 7349Reputation: 7349Reputation: 7349Reputation: 7349Reputation: 7349Reputation: 7349Reputation: 7349Reputation: 7349
looks like this: https://askubuntu.com/questions/8114...ting-initramfs can help you,
You need to download those files and copy them into the right location.
 
Old 06-29-2019, 04:26 PM   #8
mrmazda
LQ Guru
 
Registered: Aug 2016
Location: SE USA
Distribution: openSUSE 24/7; Debian, Knoppix, Mageia, Fedora, others
Posts: 5,879
Blog Entries: 1

Rep: Reputation: 2078Reputation: 2078Reputation: 2078Reputation: 2078Reputation: 2078Reputation: 2078Reputation: 2078Reputation: 2078Reputation: 2078Reputation: 2078Reputation: 2078
If you could provide output from
Code:
inxi -GxxSM
run in a desktop terminal, better help might be available. We still know nothing about your hardware. Do you have a laptop described as Optimus? Missing firmware has become a common message that usually is of no importance.
 
Old 06-29-2019, 09:44 PM   #9
lmohammeed
Member
 
Registered: Sep 2013
Posts: 61

Original Poster
Rep: Reputation: Disabled
This is the output of the command
Code:
info -GxxSM
System: Host: ABU Kernel: 4.15
0-54-generic x86_64 (64 bit gcc: 5.4.0) Console:try 1 dm:gdm3
Distro:Ubuntu 16
04 denial
Machine System:Hewlett-Packard product:HP Pavilion m6 Notebook PC v:0791100000205610000620100
Mobo:Hewlett-Packard model:18A5 v:73.22 Bios:Insyde v:F.03 date:05/03/2012
Chassis:type:10
Graphics:Card-1:Intel 3rd Gen Core processor Graphics Controller bus-ID:00:02
0 chip-ID:8086:0166
Card-2:Advanced Micro Devices [AMD/ATI] Thames [Radeon HD 7500M/7600M Series]
Display Server: N/A drivers: fbdev,ati,radeon(inloaded:vesa)
try size:170×48 Advanced Data:N/A out of X

@Pan64
I am trying to download those files
 
Old 06-29-2019, 10:18 PM   #10
mrmazda
LQ Guru
 
Registered: Aug 2016
Location: SE USA
Distribution: openSUSE 24/7; Debian, Knoppix, Mageia, Fedora, others
Posts: 5,879
Blog Entries: 1

Rep: Reputation: 2078Reputation: 2078Reputation: 2078Reputation: 2078Reputation: 2078Reputation: 2078Reputation: 2078Reputation: 2078Reputation: 2078Reputation: 2078Reputation: 2078
Quote:
Originally Posted by lmohammeed View Post
Code:
Graphics: Card-1:Intel 3rd Gen Core processor Graphics Controller bus-ID:00:020 chip-ID:8086:0166
	Card-2:Advanced Micro Devices [AMD/ATI] Thames [Radeon HD 7500M/7600M Series]
This indicates you have a laptop with special hardware, AMD hybrid graphics, sometimes called "switchable graphics" or "dual graphics". This requires some special configuration with which I have no useful familiarity for providing further help.

When someone here asks for output from a command, you should use code tags as I did, the [ # ] icon above the input window, to surround the ouput. If you cannot copy and paste the output from a command directly here, what you can do is redirect output from the command to a file, then copy from the file to the input window. This will retain the command's output formatting, which avoids confusion and mis- or omitted typing. It looks like some of the output from your inxi command was not included.

Please run this command:
Code:
pastebinit /var/log/Xorg.0.log
and provide the URL resulting here. It might provide clues to troubleshoot this.

Last edited by mrmazda; 06-29-2019 at 10:22 PM.
 
Old 06-30-2019, 02:18 AM   #11
lmohammeed
Member
 
Registered: Sep 2013
Posts: 61

Original Poster
Rep: Reputation: Disabled
Thanks.
Code:
pastebinit /var/log/Xorg.0.log
Code:
http://paste.ununtu.com/p/n3BR4qrV2k/
 
Old 06-30-2019, 03:19 AM   #12
mrmazda
LQ Guru
 
Registered: Aug 2016
Location: SE USA
Distribution: openSUSE 24/7; Debian, Knoppix, Mageia, Fedora, others
Posts: 5,879
Blog Entries: 1

Rep: Reputation: 2078Reputation: 2078Reputation: 2078Reputation: 2078Reputation: 2078Reputation: 2078Reputation: 2078Reputation: 2078Reputation: 2078Reputation: 2078Reputation: 2078
That log shows a serious problem, "(EE) /dev/dri/card1: failed to set DRM interface version 1.4: Permission denied", but I don't know what might cause it. You could try striking the E key when the grub menu appears and removing vt.handoff=7. I've seen that recommended elsewhere, and I don't have it on my Bionic. If it helps, then remove it also from /etc/default/grub and regenerate your grub.cfg.

The kernel and xserver in use in that log are rather old. The log is from August 2018. Please check the date on file ~/.local/share/xorg/Xorg.0.log. If it exists and is recent or current, please do:
Code:
pastebinit ~/.local/share/xorg/Xorg.0.log
and report the provided URL.

I suggest to try a system update:
Code:
sudo apt update; sudo apt upgrade
The previous update may have been incomplete, resulting in strange errors.
 
Old 06-30-2019, 05:20 AM   #13
lmohammeed
Member
 
Registered: Sep 2013
Posts: 61

Original Poster
Rep: Reputation: Disabled
Thanks a lot.
The code
Code:
 pastebinit ~/.local/share/xorg/Xorg.0.log
Code:
Unable to read from: /computername/username/.local/share/xorg/Xorg.0.log
However, the code
Code:
pastebinit ~/.local/share/xorg/Xorg.1.log
Code:
http://paste.ubuntu.com/p/2n6Pk797X6/
And code
Code:
pastebinit ~/.local/share/xorg/Xorg.1.log.old
Code:
http://paste.ubuntu.com/p/kgB8dDTwqx/
Update shows All packages are up to date.

Last edited by lmohammeed; 06-30-2019 at 05:25 AM.
 
Old 06-30-2019, 10:51 AM   #14
mrmazda
LQ Guru
 
Registered: Aug 2016
Location: SE USA
Distribution: openSUSE 24/7; Debian, Knoppix, Mageia, Fedora, others
Posts: 5,879
Blog Entries: 1

Rep: Reputation: 2078Reputation: 2078Reputation: 2078Reputation: 2078Reputation: 2078Reputation: 2078Reputation: 2078Reputation: 2078Reputation: 2078Reputation: 2078Reputation: 2078
Quote:
Originally Posted by lmohammeed View Post
Code:
Unable to read from: /computername/username/.local/share/xorg/Xorg.0.log
That should be
Code:
/home/username/.local/share/xorg/Xorg.0.log
These are several weeks old, and appear may be from before your trouble started.
 
Old 06-30-2019, 07:45 PM   #15
lmohammeed
Member
 
Registered: Sep 2013
Posts: 61

Original Poster
Rep: Reputation: Disabled
Thanks a lot.
It seems there is little chance for solving my problem. Is there way forward for this issue?

Thank in advanced.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Kubuntu problem, lost tty1 to 6 wright.ade@gmail.com Ubuntu 1 02-22-2010 08:19 PM
Exiting BASH function without exiting sourced environment SwingingSimian Programming 10 08-12-2009 12:59 AM
HELP--home/tty1[~]$ Can't login problem... lenny45 Linux - Software 2 03-26-2006 12:55 AM
Exiting X-Windows for TTY1 Prompt DangerMouse Linux - Newbie 3 10-03-2003 05:27 PM
X and tty1 errors Lazlo Linux - General 0 11-15-2001 12:06 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu

All times are GMT -5. The time now is 07:58 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration