LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Fedora (https://www.linuxquestions.org/questions/fedora-35/)
-   -   it starts with boot tty and not with normal login with a graphical login environment (https://www.linuxquestions.org/questions/fedora-35/it-starts-with-boot-tty-and-not-with-normal-login-with-a-graphical-login-environment-4175726754/)

slayer21 07-08-2023 02:03 PM

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

colorpurple21859 07-08-2023 03:29 PM

Which distro?
What commands?
You don’t give much to go on.
Did you try the startx command.

yancek 07-09-2023 03:39 AM

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.

slayer21 07-10-2023 02:05 AM

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

hazel 07-10-2023 04:40 AM

What happens if you type startx?

slayer21 07-10-2023 11:59 AM

Quote:

Originally Posted by hazel (Post 6441227)
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

hazel 07-10-2023 12:10 PM

Quote:

Originally Posted by slayer21 (Post 6441269)
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.

slayer21 07-10-2023 01:03 PM

Quote:

Originally Posted by hazel (Post 6441270)
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?

colorpurple21859 07-10-2023 02:47 PM

what happens if you do:
sudo startx
or
sudo su -
startx

slayer21 07-11-2023 10:49 AM

Quote:

Originally Posted by colorpurple21859 (Post 6441294)
what happens if you do:
sudo startx
or
sudo su -
startx

it produces the same results as what I wrote above

hazel 07-11-2023 11:00 AM

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.

slayer21 07-11-2023 11:28 AM

Quote:

Originally Posted by hazel (Post 6441439)
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

hazel 07-11-2023 11:51 AM

Quote:

Originally Posted by slayer21 (Post 6441442)
with what commands do I check them?

Code:

cd /usr/bin
ls -l X
ls -l Xorg

Paste the results here between code tags.

slayer21 07-11-2023 12:12 PM

Quote:

Originally Posted by hazel (Post 6441444)
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

slayer21 07-11-2023 12:16 PM

Quote:

Originally Posted by hazel (Post 6441444)
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


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