LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Password
Fedora This forum is for the discussion of the Fedora Project.

Notices


Reply
  Search this Thread
Old 07-08-2023, 02:03 PM   #1
slayer21
LQ Newbie
 
Registered: Jul 2023
Posts: 26

Rep: Reputation: 0
it starts with boot tty and not with normal login with a graphical login environment


my friends i need your help sos!

I experimented with different commands in the terminal from a tutorial for greater security and privacy without actually knowing many things and in a manual mechanical way and it starts with boot tty in terminal format and I can't get the graphical login to enter the graphical desktop environment with the icons the windows and stuff. help me because i have a file for work and i can't get in
 
Old 07-08-2023, 03:29 PM   #2
colorpurple21859
LQ Veteran
 
Registered: Jan 2008
Location: florida panhandle
Distribution: Slackware Debian, Fedora, others
Posts: 7,353

Rep: Reputation: 1590Reputation: 1590Reputation: 1590Reputation: 1590Reputation: 1590Reputation: 1590Reputation: 1590Reputation: 1590Reputation: 1590Reputation: 1590Reputation: 1590
Which distro?
What commands?
You don’t give much to go on.
Did you try the startx command.
 
Old 07-09-2023, 03:39 AM   #3
yancek
LQ Guru
 
Registered: Apr 2008
Distribution: Slackware, Ubuntu, PCLinux,
Posts: 10,523

Rep: Reputation: 2494Reputation: 2494Reputation: 2494Reputation: 2494Reputation: 2494Reputation: 2494Reputation: 2494Reputation: 2494Reputation: 2494Reputation: 2494Reputation: 2494
Are you using the most recent release of Fedora? If not, which are you using. Posting the commands you used would be helpful. Can you still boot Fedora and access a terminal? If you can, you should be able to access the file and copy it to another device if you know where on the filesystem it is located.
 
Old 07-10-2023, 02:05 AM   #4
slayer21
LQ Newbie
 
Registered: Jul 2023
Posts: 26

Original Poster
Rep: Reputation: 0
I have fedora cinnamon installed. I tried to make some settings for greater security without being an expert and I followed manual steps from a tutorial. Basically I scanned for vulnerabilities like OpenSCAP (https://static.open-scap.org/ssg-gui...ide-index.html) and the results it produced gave me instructions on how to make more security, more encrypted and after a reboot, it comes out in terminal format something like tty and while I write the username and password it does not proceed to enter a graphical desktop environment but remains there as a terminal
 
Old 07-10-2023, 04:40 AM   #5
hazel
LQ Guru
 
Registered: Mar 2016
Location: Harrow, UK
Distribution: LFS, AntiX, Slackware
Posts: 7,587
Blog Entries: 19

Rep: Reputation: 4454Reputation: 4454Reputation: 4454Reputation: 4454Reputation: 4454Reputation: 4454Reputation: 4454Reputation: 4454Reputation: 4454Reputation: 4454Reputation: 4454
What happens if you type startx?
 
Old 07-10-2023, 11:59 AM   #6
slayer21
LQ Newbie
 
Registered: Jul 2023
Posts: 26

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by hazel View Post
What happens if you type startx?
when I gave the startx command it gave me the following:

xauth: file /root/.serverauth.2135 does not exist

xinit: unable to run server ''/usr/bin/X'': No such file or directory

xinit: giving up
xinit: unable to connect to X server :Connection refused
xinit: server error
 
Old 07-10-2023, 12:10 PM   #7
hazel
LQ Guru
 
Registered: Mar 2016
Location: Harrow, UK
Distribution: LFS, AntiX, Slackware
Posts: 7,587
Blog Entries: 19

Rep: Reputation: 4454Reputation: 4454Reputation: 4454Reputation: 4454Reputation: 4454Reputation: 4454Reputation: 4454Reputation: 4454Reputation: 4454Reputation: 4454Reputation: 4454
Quote:
Originally Posted by slayer21 View Post
when I gave the startx command it gave me the following:

xauth: file /root/.serverauth.2135 does not exist
That's a purely technical error. It's supposed to say that.
Quote:
xinit: unable to run server ''/usr/bin/X'': No such file or directory

xinit: giving up
xinit: unable to connect to X server :Connection refused
xinit: server error
Now that's significant! Something you did has caused X to become inaccessible. Just check quickly that /usr/bin/X exists and is a symbolic link to /usr/bin/Xorg. Also that you haven't encrypted this partition in a way that might make these files invisible.

I wish you had asked here before following online tutorials. Not all these people on YouTube know what they are talking about.
 
Old 07-10-2023, 01:03 PM   #8
slayer21
LQ Newbie
 
Registered: Jul 2023
Posts: 26

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by hazel View Post
That's a purely technical error. It's supposed to say that.

Now that's significant! Something you did has caused X to become inaccessible. Just check quickly that /usr/bin/X exists and is a symbolic link to /usr/bin/Xorg. Also that you haven't encrypted this partition in a way that might make these files invisible.

I wish you had asked here before following online tutorials. Not all these people on YouTube know what they are talking about.
you are right. next time I will ask before I take any action. I am upset. What command should I write and bring it back?
 
Old 07-10-2023, 02:47 PM   #9
colorpurple21859
LQ Veteran
 
Registered: Jan 2008
Location: florida panhandle
Distribution: Slackware Debian, Fedora, others
Posts: 7,353

Rep: Reputation: 1590Reputation: 1590Reputation: 1590Reputation: 1590Reputation: 1590Reputation: 1590Reputation: 1590Reputation: 1590Reputation: 1590Reputation: 1590Reputation: 1590
what happens if you do:
sudo startx
or
sudo su -
startx
 
Old 07-11-2023, 10:49 AM   #10
slayer21
LQ Newbie
 
Registered: Jul 2023
Posts: 26

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by colorpurple21859 View Post
what happens if you do:
sudo startx
or
sudo su -
startx
it produces the same results as what I wrote above
 
Old 07-11-2023, 11:00 AM   #11
hazel
LQ Guru
 
Registered: Mar 2016
Location: Harrow, UK
Distribution: LFS, AntiX, Slackware
Posts: 7,587
Blog Entries: 19

Rep: Reputation: 4454Reputation: 4454Reputation: 4454Reputation: 4454Reputation: 4454Reputation: 4454Reputation: 4454Reputation: 4454Reputation: 4454Reputation: 4454Reputation: 4454
Did you check for /usr/bin/Xorg and its symbolic link /usr/bin/X as I suggested? There has to be a reason why these files are not being found. Perhaps the hardening procedure you carried out has made them inaccessible.
 
Old 07-11-2023, 11:28 AM   #12
slayer21
LQ Newbie
 
Registered: Jul 2023
Posts: 26

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by hazel View Post
Did you check for /usr/bin/Xorg and its symbolic link /usr/bin/X as I suggested? There has to be a reason why these files are not being found. Perhaps the hardening procedure you carried out has made them inaccessible.
with what commands do I check them? in the meantime, when in this environment I give the ls command, it lists all my files normally, which means that they have not been deleted and that they simply exist, I cannot enter a graphical desktop environment and I am trapped in this form terminal
 
Old 07-11-2023, 11:51 AM   #13
hazel
LQ Guru
 
Registered: Mar 2016
Location: Harrow, UK
Distribution: LFS, AntiX, Slackware
Posts: 7,587
Blog Entries: 19

Rep: Reputation: 4454Reputation: 4454Reputation: 4454Reputation: 4454Reputation: 4454Reputation: 4454Reputation: 4454Reputation: 4454Reputation: 4454Reputation: 4454Reputation: 4454
Quote:
Originally Posted by slayer21 View Post
with what commands do I check them?
Code:
cd /usr/bin
ls -l X
ls -l Xorg
Paste the results here between code tags.
 
Old 07-11-2023, 12:12 PM   #14
slayer21
LQ Newbie
 
Registered: Jul 2023
Posts: 26

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by hazel View Post
Code:
cd /usr/bin
ls -l X
ls -l Xorg
Paste the results here between code tags.
ls: cannot access 'x' : No such file or directory
 
Old 07-11-2023, 12:16 PM   #15
slayer21
LQ Newbie
 
Registered: Jul 2023
Posts: 26

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by hazel View Post
Code:
cd /usr/bin
ls -l X
ls -l Xorg
Paste the results here between code tags.
from this guide, through this programmer, I scanned for vulnerabilities and then it gave me the corresponding results and instructions through commands for greater security, encryption and the like. From what I understand, it boots through root and I haven't understood what this tty is and it won't let me to login through a graphical environment and enter the desktop work surface.probably the problem may be related to the Restrict Root Logins category

https://static.open-scap.org/ssg-gui...ide-index.html
 
  


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
Getting grub rescue normal.mod not found on some machines and normal boot on others Darkyputz Linux - Newbie 26 12-09-2020 10:21 PM
[SOLVED] NFS-mounted $HOME directories does not work on local graphical login, but works on ssh/tty someshpr Linux - Newbie 18 08-23-2017 05:23 AM
[SOLVED] TTY's not working, switching TTY's does nothing David2010 Linux - Hardware 5 01-17-2012 11:25 PM
TTY's not working, switching TTY's does nothing David2010 Linux - Software 3 01-16-2012 03:29 AM
tty in chroot env says "not a tty" pattbert Linux - Software 1 11-19-2011 10:06 PM

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

All times are GMT -5. The time now is 10:07 AM.

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