sddm shows a black screen only

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP











up vote
1
down vote

favorite












I'm new to Arch Linux and wanted to use the plasma 5 desktop with sddm.

I'm able to start the plasma desktop via startx without any issues but when I try to use sddm it only shows me a black screen on startup.



I tried to restart the sddm service with systemctl restart sddm but it remains black.



When I run sddm-greeter --test-mode --theme /usr/share/sddm/themes/breezeit shows the greeter screen but I can't get it to run on startup.



My /etc/sddm.config looks like this:



[Autologin]
Relogin=false
Session=
User=

[General]
HaltCommand=
RebootCommand=

[Theme]
Current=breeze
CursorTheme=breeze_cursors

[Users]
MaximumUid=65000
MinimumUid=1000


And journalctl -b --unit=sddm.service gives me the following output



Jan 13 11:04:15 dev systemd[1]: Started Simple Desktop Display Manager.
Jan 13 11:04:15 dev sddm[855]: Initializing...
Jan 13 11:04:15 dev sddm[855]: Logind interface found
Jan 13 11:04:15 dev sddm[855]: Starting...
Jan 13 11:04:15 dev sddm[855]: Adding new display on vt 1 ...
Jan 13 11:04:15 dev sddm[855]: Loading theme configuration from ""
Jan 13 11:04:15 dev sddm[855]: Display server starting...
Jan 13 11:04:15 dev sddm[855]: Running: /usr/bin/X -nolisten tcp -auth /var/run/sddm/{af3bc692-6770-441f-9c28-
Jan 13 11:04:18 dev sddm[855]: Setting default cursor
Jan 13 11:04:18 dev sddm[855]: Running display setup script "/usr/share/sddm/scripts/Xsetup"
Jan 13 11:04:18 dev sddm[855]: Display server started.
Jan 13 11:04:18 dev sddm[855]: Socket server starting...
Jan 13 11:04:18 dev sddm[855]: Socket server started.
Jan 13 11:04:18 dev sddm[855]: Loading theme configuration from ""
Jan 13 11:04:18 dev sddm[855]: Greeter starting...
Jan 13 11:04:18 dev sddm[855]: Adding cookie to "/var/run/sddm/af3bc692-6770-441f-9c28-2eb05f1d0ede"
Jan 13 11:04:18 dev sddm-helper[869]: [PAM] Starting...
Jan 13 11:04:18 dev sddm-helper[869]: [PAM] Authenticating...
Jan 13 11:04:18 dev sddm-helper[869]: [PAM] returning.
Jan 13 11:04:18 dev sddm-helper[869]: pam_unix(sddm-greeter:session): session opened for user sddm by (uid=0)
Jan 13 11:04:18 dev sddm[855]: Greeter session started successfully
Jan 13 11:04:18 dev sddm[855]: Message received from greeter: Connect






share|improve this question




















  • Are you using NVidia+Intel hybrid graphics? wiki.archlinux.org/index.php/NVIDIA_Optimus#SDDM fixed this issue for me.
    – Elmo Todurov
    Mar 9 at 10:22














up vote
1
down vote

favorite












I'm new to Arch Linux and wanted to use the plasma 5 desktop with sddm.

I'm able to start the plasma desktop via startx without any issues but when I try to use sddm it only shows me a black screen on startup.



I tried to restart the sddm service with systemctl restart sddm but it remains black.



When I run sddm-greeter --test-mode --theme /usr/share/sddm/themes/breezeit shows the greeter screen but I can't get it to run on startup.



My /etc/sddm.config looks like this:



[Autologin]
Relogin=false
Session=
User=

[General]
HaltCommand=
RebootCommand=

[Theme]
Current=breeze
CursorTheme=breeze_cursors

[Users]
MaximumUid=65000
MinimumUid=1000


And journalctl -b --unit=sddm.service gives me the following output



Jan 13 11:04:15 dev systemd[1]: Started Simple Desktop Display Manager.
Jan 13 11:04:15 dev sddm[855]: Initializing...
Jan 13 11:04:15 dev sddm[855]: Logind interface found
Jan 13 11:04:15 dev sddm[855]: Starting...
Jan 13 11:04:15 dev sddm[855]: Adding new display on vt 1 ...
Jan 13 11:04:15 dev sddm[855]: Loading theme configuration from ""
Jan 13 11:04:15 dev sddm[855]: Display server starting...
Jan 13 11:04:15 dev sddm[855]: Running: /usr/bin/X -nolisten tcp -auth /var/run/sddm/{af3bc692-6770-441f-9c28-
Jan 13 11:04:18 dev sddm[855]: Setting default cursor
Jan 13 11:04:18 dev sddm[855]: Running display setup script "/usr/share/sddm/scripts/Xsetup"
Jan 13 11:04:18 dev sddm[855]: Display server started.
Jan 13 11:04:18 dev sddm[855]: Socket server starting...
Jan 13 11:04:18 dev sddm[855]: Socket server started.
Jan 13 11:04:18 dev sddm[855]: Loading theme configuration from ""
Jan 13 11:04:18 dev sddm[855]: Greeter starting...
Jan 13 11:04:18 dev sddm[855]: Adding cookie to "/var/run/sddm/af3bc692-6770-441f-9c28-2eb05f1d0ede"
Jan 13 11:04:18 dev sddm-helper[869]: [PAM] Starting...
Jan 13 11:04:18 dev sddm-helper[869]: [PAM] Authenticating...
Jan 13 11:04:18 dev sddm-helper[869]: [PAM] returning.
Jan 13 11:04:18 dev sddm-helper[869]: pam_unix(sddm-greeter:session): session opened for user sddm by (uid=0)
Jan 13 11:04:18 dev sddm[855]: Greeter session started successfully
Jan 13 11:04:18 dev sddm[855]: Message received from greeter: Connect






share|improve this question




















  • Are you using NVidia+Intel hybrid graphics? wiki.archlinux.org/index.php/NVIDIA_Optimus#SDDM fixed this issue for me.
    – Elmo Todurov
    Mar 9 at 10:22












up vote
1
down vote

favorite









up vote
1
down vote

favorite











I'm new to Arch Linux and wanted to use the plasma 5 desktop with sddm.

I'm able to start the plasma desktop via startx without any issues but when I try to use sddm it only shows me a black screen on startup.



I tried to restart the sddm service with systemctl restart sddm but it remains black.



When I run sddm-greeter --test-mode --theme /usr/share/sddm/themes/breezeit shows the greeter screen but I can't get it to run on startup.



My /etc/sddm.config looks like this:



[Autologin]
Relogin=false
Session=
User=

[General]
HaltCommand=
RebootCommand=

[Theme]
Current=breeze
CursorTheme=breeze_cursors

[Users]
MaximumUid=65000
MinimumUid=1000


And journalctl -b --unit=sddm.service gives me the following output



Jan 13 11:04:15 dev systemd[1]: Started Simple Desktop Display Manager.
Jan 13 11:04:15 dev sddm[855]: Initializing...
Jan 13 11:04:15 dev sddm[855]: Logind interface found
Jan 13 11:04:15 dev sddm[855]: Starting...
Jan 13 11:04:15 dev sddm[855]: Adding new display on vt 1 ...
Jan 13 11:04:15 dev sddm[855]: Loading theme configuration from ""
Jan 13 11:04:15 dev sddm[855]: Display server starting...
Jan 13 11:04:15 dev sddm[855]: Running: /usr/bin/X -nolisten tcp -auth /var/run/sddm/{af3bc692-6770-441f-9c28-
Jan 13 11:04:18 dev sddm[855]: Setting default cursor
Jan 13 11:04:18 dev sddm[855]: Running display setup script "/usr/share/sddm/scripts/Xsetup"
Jan 13 11:04:18 dev sddm[855]: Display server started.
Jan 13 11:04:18 dev sddm[855]: Socket server starting...
Jan 13 11:04:18 dev sddm[855]: Socket server started.
Jan 13 11:04:18 dev sddm[855]: Loading theme configuration from ""
Jan 13 11:04:18 dev sddm[855]: Greeter starting...
Jan 13 11:04:18 dev sddm[855]: Adding cookie to "/var/run/sddm/af3bc692-6770-441f-9c28-2eb05f1d0ede"
Jan 13 11:04:18 dev sddm-helper[869]: [PAM] Starting...
Jan 13 11:04:18 dev sddm-helper[869]: [PAM] Authenticating...
Jan 13 11:04:18 dev sddm-helper[869]: [PAM] returning.
Jan 13 11:04:18 dev sddm-helper[869]: pam_unix(sddm-greeter:session): session opened for user sddm by (uid=0)
Jan 13 11:04:18 dev sddm[855]: Greeter session started successfully
Jan 13 11:04:18 dev sddm[855]: Message received from greeter: Connect






share|improve this question












I'm new to Arch Linux and wanted to use the plasma 5 desktop with sddm.

I'm able to start the plasma desktop via startx without any issues but when I try to use sddm it only shows me a black screen on startup.



I tried to restart the sddm service with systemctl restart sddm but it remains black.



When I run sddm-greeter --test-mode --theme /usr/share/sddm/themes/breezeit shows the greeter screen but I can't get it to run on startup.



My /etc/sddm.config looks like this:



[Autologin]
Relogin=false
Session=
User=

[General]
HaltCommand=
RebootCommand=

[Theme]
Current=breeze
CursorTheme=breeze_cursors

[Users]
MaximumUid=65000
MinimumUid=1000


And journalctl -b --unit=sddm.service gives me the following output



Jan 13 11:04:15 dev systemd[1]: Started Simple Desktop Display Manager.
Jan 13 11:04:15 dev sddm[855]: Initializing...
Jan 13 11:04:15 dev sddm[855]: Logind interface found
Jan 13 11:04:15 dev sddm[855]: Starting...
Jan 13 11:04:15 dev sddm[855]: Adding new display on vt 1 ...
Jan 13 11:04:15 dev sddm[855]: Loading theme configuration from ""
Jan 13 11:04:15 dev sddm[855]: Display server starting...
Jan 13 11:04:15 dev sddm[855]: Running: /usr/bin/X -nolisten tcp -auth /var/run/sddm/{af3bc692-6770-441f-9c28-
Jan 13 11:04:18 dev sddm[855]: Setting default cursor
Jan 13 11:04:18 dev sddm[855]: Running display setup script "/usr/share/sddm/scripts/Xsetup"
Jan 13 11:04:18 dev sddm[855]: Display server started.
Jan 13 11:04:18 dev sddm[855]: Socket server starting...
Jan 13 11:04:18 dev sddm[855]: Socket server started.
Jan 13 11:04:18 dev sddm[855]: Loading theme configuration from ""
Jan 13 11:04:18 dev sddm[855]: Greeter starting...
Jan 13 11:04:18 dev sddm[855]: Adding cookie to "/var/run/sddm/af3bc692-6770-441f-9c28-2eb05f1d0ede"
Jan 13 11:04:18 dev sddm-helper[869]: [PAM] Starting...
Jan 13 11:04:18 dev sddm-helper[869]: [PAM] Authenticating...
Jan 13 11:04:18 dev sddm-helper[869]: [PAM] returning.
Jan 13 11:04:18 dev sddm-helper[869]: pam_unix(sddm-greeter:session): session opened for user sddm by (uid=0)
Jan 13 11:04:18 dev sddm[855]: Greeter session started successfully
Jan 13 11:04:18 dev sddm[855]: Message received from greeter: Connect








share|improve this question











share|improve this question




share|improve this question










asked Jan 13 at 13:20









Pascal_AC

1062




1062











  • Are you using NVidia+Intel hybrid graphics? wiki.archlinux.org/index.php/NVIDIA_Optimus#SDDM fixed this issue for me.
    – Elmo Todurov
    Mar 9 at 10:22
















  • Are you using NVidia+Intel hybrid graphics? wiki.archlinux.org/index.php/NVIDIA_Optimus#SDDM fixed this issue for me.
    – Elmo Todurov
    Mar 9 at 10:22















Are you using NVidia+Intel hybrid graphics? wiki.archlinux.org/index.php/NVIDIA_Optimus#SDDM fixed this issue for me.
– Elmo Todurov
Mar 9 at 10:22




Are you using NVidia+Intel hybrid graphics? wiki.archlinux.org/index.php/NVIDIA_Optimus#SDDM fixed this issue for me.
– Elmo Todurov
Mar 9 at 10:22










1 Answer
1






active

oldest

votes

















up vote
0
down vote













I don't know why Elmo Todurov wrote a comment instead of an answer, but it was indeed the only working solution for me and therefore an answer.



edit the file: /usr/share/sddm/scripts/Xsetup



prepend the following lines:



xrandr --setprovideroutputsource modesetting NVIDIA-0
xrandr --auto





share|improve this answer




















    Your Answer







    StackExchange.ready(function()
    var channelOptions =
    tags: "".split(" "),
    id: "106"
    ;
    initTagRenderer("".split(" "), "".split(" "), channelOptions);

    StackExchange.using("externalEditor", function()
    // Have to fire editor after snippets, if snippets enabled
    if (StackExchange.settings.snippets.snippetsEnabled)
    StackExchange.using("snippets", function()
    createEditor();
    );

    else
    createEditor();

    );

    function createEditor()
    StackExchange.prepareEditor(
    heartbeatType: 'answer',
    convertImagesToLinks: false,
    noModals: false,
    showLowRepImageUploadWarning: true,
    reputationToPostImages: null,
    bindNavPrevention: true,
    postfix: "",
    onDemand: true,
    discardSelector: ".discard-answer"
    ,immediatelyShowMarkdownHelp:true
    );



    );








     

    draft saved


    draft discarded


















    StackExchange.ready(
    function ()
    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f416808%2fsddm-shows-a-black-screen-only%23new-answer', 'question_page');

    );

    Post as a guest






























    1 Answer
    1






    active

    oldest

    votes








    1 Answer
    1






    active

    oldest

    votes









    active

    oldest

    votes






    active

    oldest

    votes








    up vote
    0
    down vote













    I don't know why Elmo Todurov wrote a comment instead of an answer, but it was indeed the only working solution for me and therefore an answer.



    edit the file: /usr/share/sddm/scripts/Xsetup



    prepend the following lines:



    xrandr --setprovideroutputsource modesetting NVIDIA-0
    xrandr --auto





    share|improve this answer
























      up vote
      0
      down vote













      I don't know why Elmo Todurov wrote a comment instead of an answer, but it was indeed the only working solution for me and therefore an answer.



      edit the file: /usr/share/sddm/scripts/Xsetup



      prepend the following lines:



      xrandr --setprovideroutputsource modesetting NVIDIA-0
      xrandr --auto





      share|improve this answer






















        up vote
        0
        down vote










        up vote
        0
        down vote









        I don't know why Elmo Todurov wrote a comment instead of an answer, but it was indeed the only working solution for me and therefore an answer.



        edit the file: /usr/share/sddm/scripts/Xsetup



        prepend the following lines:



        xrandr --setprovideroutputsource modesetting NVIDIA-0
        xrandr --auto





        share|improve this answer












        I don't know why Elmo Todurov wrote a comment instead of an answer, but it was indeed the only working solution for me and therefore an answer.



        edit the file: /usr/share/sddm/scripts/Xsetup



        prepend the following lines:



        xrandr --setprovideroutputsource modesetting NVIDIA-0
        xrandr --auto






        share|improve this answer












        share|improve this answer



        share|improve this answer










        answered Apr 15 at 11:11









        Proper

        1




        1






















             

            draft saved


            draft discarded


























             


            draft saved


            draft discarded














            StackExchange.ready(
            function ()
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f416808%2fsddm-shows-a-black-screen-only%23new-answer', 'question_page');

            );

            Post as a guest













































































            Popular posts from this blog

            How to check contact read email or not when send email to Individual?

            Bahrain

            Postfix configuration issue with fips on centos 7; mailgun relay