Page 1 of 2 12 LastLast
Results 1 to 10 of 15

Thread: Booting into black screen. Can only log in using root user.

  1. #1

    Question Booting into black screen. Can only log in using root user.

    I've been using Opensuse on VirtualBox for my school for 5 months now. 2 days ago I tried booting it again. But the screen where the commands should be (very bad example because I don't know what actually is there [OK] Starting system. [OK] Starting sound services. etc) there was a gray screen with 3 little squares in the middle. Looks like a loading screen with no animations.

    After 5-7 mins it boots up but instead of a password box, there is a black screen where I cannot interact with almost anything.
    Almost anything because pressing Ctrl + alt + F1 works. after that I can sign in to my root user and type : startx to launch graphical interface.

    The problem is, if I log in with my default user, and type startx I get 4 crash handlers and every time I close on, another opens. I clicked on "developer information" but it said crash report not useful.

    I also tried making a new account and typing startx but this time it gives me "could not sync environment to dbus" and goes back to my root user's interface.


    PS: Yesterday I installed it again with my teacher using his .ISO after installation when I tried booting it, I saw the log in screen and typed in my password. A lightbulb icon showed up with a spinning circle under it (loading screen) after 5 seconds the circle left the screen and now I am stuck with a lightbulb forever. I waited for 30mins and nothing happens.

    PSS: If you ask for any logs you also have to guide me on how to get them because I am very new to this linux

    PSSS: The gray screen where there are 3 squares it sometimes say "CPU#3 stuck for 28s"
    Last edited by Quidney; 18-Feb-2022 at 02:38. Reason: Extra information

  2. #2

    Default Re: Booting into black screen. Can only log in using root user.

    I can only edit 1 time so I'll add this comment. After 40 minutes or so other linux (the new clean installation) booted up. so no problem there. But I still don't know why my first one crashed and is still giving 4 crash handlers.

  3. #3
    Join Date
    Dec 2008
    Location
    FL, USA
    Posts
    4,120
    Blog Entries
    1

    Default Re: Booting into black screen. Can only log in using root user.

    Quote Originally Posted by Quidney View Post
    Ctrl + alt + F1 works. after that I can sign in to my root user
    From here, troubleshooting data is available. What does inxi -SGxx report? What is output from cat /var/log/Xorg.0.log | susepaste? Do you see any wrong owner:group listings from ls -l in /home/ or /home/username/ or below?
    Reg. Linux User 211409 *** multibooting since 1992
    Primary: 15.4, TW, 15.1 & 13.1 on Haswell @earthlink.net
    Secondary: eComStation (OS/2) &15.4 on i965P/Radeon
    Tertiary: Debian, Fedora, Mageia, more on Rocket Lake & older Intel, AMD, NVidia....

  4. #4

    Default Re: Booting into black screen. Can only log in using root user.

    Quote Originally Posted by mrmazda View Post
    What does inxi -SGxx report?
    System:
    Host: Localhost
    Kernel: 5.3.18-150300.59.49-default x86_64
    Bits: 64
    Compiler: gcc
    V: 7.5.0
    Console: tty 1
    dm: SDDM
    Distro: openSuse Leap 15.3
    Graphics:
    Device-1: VMWare SUGA II Adapter
    Driver: vmwgfx
    V: 2.18.0.0
    Bus ID: 00:02.0
    Chip ID: 15ad:0405
    Display:
    Server: X.org 1.20.3
    Driver: vmware
    unloaded: fbdev,modsettings,vesa
    tty: 100x37
    Message: Advanced graphics data unavalible in console for root.

    What is output from cat /var/log/Xorg.0.log | susepaste?
    Pasted as:
    https://susepaste.org/7619379
    https://paste.opensuse.org/7619379
    Error: Can't open display: (null)
    Link is also in your clipboard.

    Do you see any wrong owner:group listings from ls -l in /home/ or /home/username/ or below?
    My home folder (called quidney) is owned by quidney and it has rwx
    but the owner group is Users and it only has r-x

    .serverauth .xauth files are owned by root
    I cannot see all files because I cannot scroll back on CLI

  5. #5
    Join Date
    Dec 2008
    Location
    FL, USA
    Posts
    4,120
    Blog Entries
    1

    Default Re: Booting into black screen. Can only log in using root user.

    Quote Originally Posted by Quidney View Post
    My home folder (called quidney) is owned by quidney and it has rwx
    but the owner group is Users and it only has r-x

    .serverauth .xauth files are owned by root
    Please remove those two files, then try quidney login. Your homedir should only ever contain files owned by you, never by root.
    I cannot see all files because I cannot scroll back on CLI
    When this happens you may append | less, e.g.
    Code:
    > ls -al | less
    Alternatively, before running any commands, but before logging in, run the screen command, which provides scrollback, and more. Another alternative:
    Code:
    > ls -al | grep root
    Reg. Linux User 211409 *** multibooting since 1992
    Primary: 15.4, TW, 15.1 & 13.1 on Haswell @earthlink.net
    Secondary: eComStation (OS/2) &15.4 on i965P/Radeon
    Tertiary: Debian, Fedora, Mageia, more on Rocket Lake & older Intel, AMD, NVidia....

  6. #6

    Default Re: Booting into black screen. Can only log in using root user.

    Quote Originally Posted by mrmazda View Post
    Code:
    > ls -al | grep root
    I removed all of the files that were owned by root
    But
    the dir .. is also owned by root.
    If I am not mistaken it means : /home/quidney/.. = /home/
    But should I try to change that?

    Edit: I tried without changing it, didn't work. So I changed it, it still didn't work. They both gave the same error messages. as seen below.
    Error: "could not sync environment to dbus"
    Crash Handler: "
    ksplashqml closed unexpectedly"

  7. #7

    Default Re: Booting into black screen. Can only log in using root user.

    HAPPY NEWS. IT USED TO TAKE 10 MINS TO BOOT OPENSUSE BUT NOW ITS BACK TO NORMAL AFTER UNINSTALLING HYPER-V
    NOW, AFTER IT BOOTS IT DOESNT SHOW A BLACK SCREEN BUT THE LOG IN SCREEN!!

    Bad news: When I type my password the ksplashqml crashes once again BUT I can now get the developer info about the crash (which was not available)

    The LOG:

    Code:
    Application: ksplashqml (ksplashqml), signal: Segmentation fault
    [KCrash Handler]
    #4  0x00007f8951b5ffca in QObject::setProperty(char const*, QVariant const&) () from /usr/lib64/libQt5Core.so.5
    #5  0x0000556ac3820eb4 in SplashWindow::setStage (this=this@entry=0x556ac4321060, stage=0) at /usr/src/debug/plasma5-workspace-5.18.6-bp153.4.2.3.x86_64/ksplash/ksplashqml/splashwindow.cpp:80
    #6  0x0000556ac381f950 in SplashApp::adoptScreen (this=this@entry=0x7ffc17202780, screen=0x556ac438fea0) at /usr/src/debug/plasma5-workspace-5.18.6-bp153.4.2.3.x86_64/ksplash/ksplashqml/splashapp.cpp:141
    #7  0x0000556ac3820138 in SplashApp::SplashApp (this=0x7ffc17202780, argc=<optimized out>, argv=<optimized out>) at /usr/src/debug/plasma5-workspace-5.18.6-bp153.4.2.3.x86_64/ksplash/ksplashqml/splashapp.cpp:76
    #8  0x0000556ac381ee7d in main (argc=<optimized out>, argv=0x7ffc172028d8) at /usr/src/debug/plasma5-workspace-5.18.6-bp153.4.2.3.x86_64/ksplash/ksplashqml/main.cpp:74
    [Inferior 1 (process 2160) detached]
    
    

  8. #8
    Join Date
    Dec 2008
    Location
    FL, USA
    Posts
    4,120
    Blog Entries
    1

    Default Re: Booting into black screen. Can only log in using root user.

    Quote Originally Posted by Quidney View Post
    But
    the dir .. is also owned by root.
    If I am not mistaken it means : /home/quidney/.. = /home/
    But should I try to change that?

    Edit: I tried without changing it, didn't work. So I changed it, it still didn't work. They both gave the same error messages. as seen below.
    Error: "could not sync environment to dbus"
    Crash Handler: "ksplashqml closed unexpectedly"
    1-logout as quidney
    2-Ctrl-Alt-F3
    3-Login root
    4-chown -R quidney:groupname /home/quidney
    5-logout root
    6-Alt-F7
    7-login normally
    Reg. Linux User 211409 *** multibooting since 1992
    Primary: 15.4, TW, 15.1 & 13.1 on Haswell @earthlink.net
    Secondary: eComStation (OS/2) &15.4 on i965P/Radeon
    Tertiary: Debian, Fedora, Mageia, more on Rocket Lake & older Intel, AMD, NVidia....

  9. #9

    Default Re: Booting into black screen. Can only log in using root user.

    Quote Originally Posted by mrmazda View Post
    1-logout as quidney
    2-Ctrl-Alt-F3
    3-Login root
    4-chown -R quidney:groupname /home/quidney
    5-logout root
    6-Alt-F7
    7-login normally
    Didn't work. Because I still get the "could not sync environment to dbus" error.
    Anb ksplashqml crashes.

  10. #10
    Join Date
    Dec 2008
    Location
    FL, USA
    Posts
    4,120
    Blog Entries
    1

    Default Re: Booting into black screen. Can only log in using root user.

    To see whether this is a user issue or a system issue, create a new user using useradd, then login as the new user to see if the problem then exists.
    Reg. Linux User 211409 *** multibooting since 1992
    Primary: 15.4, TW, 15.1 & 13.1 on Haswell @earthlink.net
    Secondary: eComStation (OS/2) &15.4 on i965P/Radeon
    Tertiary: Debian, Fedora, Mageia, more on Rocket Lake & older Intel, AMD, NVidia....

Page 1 of 2 12 LastLast

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •