xfce4: “sudo startxfce4” - all good, but only “startxfce4” - fail. Why? [duplicate]












0















This question already has an answer here:




  • How can I install XFCE along side Unity?

    2 answers




xfce4: sudo startxfce4 - all good, but only startxfce4 - fail. Why?



How to correct this behavior? I think that need to change permissions, but where?



Thank for your attention to this problem, and thank for your opinions about it.










share|improve this question















marked as duplicate by N0rbert, Eric Carvalho, Fabby, user68186, Thomas Dec 27 '18 at 11:18


This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.















  • Thank, but... I have ubuntu server, and only install on it xfce4 and it good work with sudo, but without - fail. And I tried install xubuntu-desktop, and had same result.
    – sayfriend
    Dec 24 '18 at 10:29








  • 2




    If you have run any window manager / desktop session using sudo (even once) you have likely cause your ~/.Xauthority and/or ~/.ICEauthority to become owned by root, which will prevent subsequent non-root session starts
    – steeldriver
    Dec 24 '18 at 15:01
















0















This question already has an answer here:




  • How can I install XFCE along side Unity?

    2 answers




xfce4: sudo startxfce4 - all good, but only startxfce4 - fail. Why?



How to correct this behavior? I think that need to change permissions, but where?



Thank for your attention to this problem, and thank for your opinions about it.










share|improve this question















marked as duplicate by N0rbert, Eric Carvalho, Fabby, user68186, Thomas Dec 27 '18 at 11:18


This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.















  • Thank, but... I have ubuntu server, and only install on it xfce4 and it good work with sudo, but without - fail. And I tried install xubuntu-desktop, and had same result.
    – sayfriend
    Dec 24 '18 at 10:29








  • 2




    If you have run any window manager / desktop session using sudo (even once) you have likely cause your ~/.Xauthority and/or ~/.ICEauthority to become owned by root, which will prevent subsequent non-root session starts
    – steeldriver
    Dec 24 '18 at 15:01














0












0








0








This question already has an answer here:




  • How can I install XFCE along side Unity?

    2 answers




xfce4: sudo startxfce4 - all good, but only startxfce4 - fail. Why?



How to correct this behavior? I think that need to change permissions, but where?



Thank for your attention to this problem, and thank for your opinions about it.










share|improve this question
















This question already has an answer here:




  • How can I install XFCE along side Unity?

    2 answers




xfce4: sudo startxfce4 - all good, but only startxfce4 - fail. Why?



How to correct this behavior? I think that need to change permissions, but where?



Thank for your attention to this problem, and thank for your opinions about it.





This question already has an answer here:




  • How can I install XFCE along side Unity?

    2 answers








xfce






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Dec 24 '18 at 10:33







sayfriend

















asked Dec 24 '18 at 9:10









sayfriendsayfriend

11




11




marked as duplicate by N0rbert, Eric Carvalho, Fabby, user68186, Thomas Dec 27 '18 at 11:18


This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.






marked as duplicate by N0rbert, Eric Carvalho, Fabby, user68186, Thomas Dec 27 '18 at 11:18


This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.














  • Thank, but... I have ubuntu server, and only install on it xfce4 and it good work with sudo, but without - fail. And I tried install xubuntu-desktop, and had same result.
    – sayfriend
    Dec 24 '18 at 10:29








  • 2




    If you have run any window manager / desktop session using sudo (even once) you have likely cause your ~/.Xauthority and/or ~/.ICEauthority to become owned by root, which will prevent subsequent non-root session starts
    – steeldriver
    Dec 24 '18 at 15:01


















  • Thank, but... I have ubuntu server, and only install on it xfce4 and it good work with sudo, but without - fail. And I tried install xubuntu-desktop, and had same result.
    – sayfriend
    Dec 24 '18 at 10:29








  • 2




    If you have run any window manager / desktop session using sudo (even once) you have likely cause your ~/.Xauthority and/or ~/.ICEauthority to become owned by root, which will prevent subsequent non-root session starts
    – steeldriver
    Dec 24 '18 at 15:01
















Thank, but... I have ubuntu server, and only install on it xfce4 and it good work with sudo, but without - fail. And I tried install xubuntu-desktop, and had same result.
– sayfriend
Dec 24 '18 at 10:29






Thank, but... I have ubuntu server, and only install on it xfce4 and it good work with sudo, but without - fail. And I tried install xubuntu-desktop, and had same result.
– sayfriend
Dec 24 '18 at 10:29






2




2




If you have run any window manager / desktop session using sudo (even once) you have likely cause your ~/.Xauthority and/or ~/.ICEauthority to become owned by root, which will prevent subsequent non-root session starts
– steeldriver
Dec 24 '18 at 15:01




If you have run any window manager / desktop session using sudo (even once) you have likely cause your ~/.Xauthority and/or ~/.ICEauthority to become owned by root, which will prevent subsequent non-root session starts
– steeldriver
Dec 24 '18 at 15:01










1 Answer
1






active

oldest

votes


















0














Ok as they said on thread suggested this is a duplicate of... try installing xfce-desktop and then try to start your environment. Also check if there's a xinitrc file under $HOME/.config/xfce4/xinitrc since that is configuration file that startxfce4 script reads from when run.

If it's absent or empty, check /etc/xdg/xfce4/xinitrc since that configuration file is run when you do sudo startxfce4. What you can do and is suggested by startxfce4 man page is to copy contents of xinitrc from /etc into the one that's in your home directory.



cat /etc/xdg/xfce3/xinitrc > $HOME/.config/xfce4/xinitrc 


Then try to start your xfce DE. Hope it helps.






share|improve this answer






























    1 Answer
    1






    active

    oldest

    votes








    1 Answer
    1






    active

    oldest

    votes









    active

    oldest

    votes






    active

    oldest

    votes









    0














    Ok as they said on thread suggested this is a duplicate of... try installing xfce-desktop and then try to start your environment. Also check if there's a xinitrc file under $HOME/.config/xfce4/xinitrc since that is configuration file that startxfce4 script reads from when run.

    If it's absent or empty, check /etc/xdg/xfce4/xinitrc since that configuration file is run when you do sudo startxfce4. What you can do and is suggested by startxfce4 man page is to copy contents of xinitrc from /etc into the one that's in your home directory.



    cat /etc/xdg/xfce3/xinitrc > $HOME/.config/xfce4/xinitrc 


    Then try to start your xfce DE. Hope it helps.






    share|improve this answer




























      0














      Ok as they said on thread suggested this is a duplicate of... try installing xfce-desktop and then try to start your environment. Also check if there's a xinitrc file under $HOME/.config/xfce4/xinitrc since that is configuration file that startxfce4 script reads from when run.

      If it's absent or empty, check /etc/xdg/xfce4/xinitrc since that configuration file is run when you do sudo startxfce4. What you can do and is suggested by startxfce4 man page is to copy contents of xinitrc from /etc into the one that's in your home directory.



      cat /etc/xdg/xfce3/xinitrc > $HOME/.config/xfce4/xinitrc 


      Then try to start your xfce DE. Hope it helps.






      share|improve this answer


























        0












        0








        0






        Ok as they said on thread suggested this is a duplicate of... try installing xfce-desktop and then try to start your environment. Also check if there's a xinitrc file under $HOME/.config/xfce4/xinitrc since that is configuration file that startxfce4 script reads from when run.

        If it's absent or empty, check /etc/xdg/xfce4/xinitrc since that configuration file is run when you do sudo startxfce4. What you can do and is suggested by startxfce4 man page is to copy contents of xinitrc from /etc into the one that's in your home directory.



        cat /etc/xdg/xfce3/xinitrc > $HOME/.config/xfce4/xinitrc 


        Then try to start your xfce DE. Hope it helps.






        share|improve this answer














        Ok as they said on thread suggested this is a duplicate of... try installing xfce-desktop and then try to start your environment. Also check if there's a xinitrc file under $HOME/.config/xfce4/xinitrc since that is configuration file that startxfce4 script reads from when run.

        If it's absent or empty, check /etc/xdg/xfce4/xinitrc since that configuration file is run when you do sudo startxfce4. What you can do and is suggested by startxfce4 man page is to copy contents of xinitrc from /etc into the one that's in your home directory.



        cat /etc/xdg/xfce3/xinitrc > $HOME/.config/xfce4/xinitrc 


        Then try to start your xfce DE. Hope it helps.







        share|improve this answer














        share|improve this answer



        share|improve this answer








        edited Dec 24 '18 at 11:14









        Mr Shunz

        2,2201922




        2,2201922










        answered Dec 24 '18 at 11:01









        Nightmare SeekerNightmare Seeker

        1




        1















            Popular posts from this blog

            flock() on closed filehandle LOCK_FILE at /usr/bin/apt-mirror

            Mangá

             ⁒  ․,‪⁊‑⁙ ⁖, ⁇‒※‌, †,⁖‗‌⁝    ‾‸⁘,‖⁔⁣,⁂‾
”‑,‥–,‬ ,⁀‹⁋‴⁑ ‒ ,‴⁋”‼ ⁨,‷⁔„ ‰′,‐‚ ‥‡‎“‷⁃⁨⁅⁣,⁔
⁇‘⁔⁡⁏⁌⁡‿‶‏⁨ ⁣⁕⁖⁨⁩⁥‽⁀  ‴‬⁜‟ ⁃‣‧⁕‮ …‍⁨‴ ⁩,⁚⁖‫ ,‵ ⁀,‮⁝‣‣ ⁑  ⁂– ․, ‾‽ ‏⁁“⁗‸ ‾… ‹‡⁌⁎‸‘ ‡⁏⁌‪ ‵⁛ ‎⁨ ―⁦⁤⁄⁕