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

Thread: Problems when I login as root.

  1. #1
    Join Date
    Jan 2009
    Location
    Bangalore, India
    Posts
    60

    Default Problems when I login as root.

    Hi,

    When I login as non-root user, the KDE 4.1 comes up good and cool. I can see the desktop fine.

    But when I logout and login again, this time as 'root', I dont see the welcome screen. I neither see my desktop. All I can see is my mouse cursor. I do not understand what is happening. Strangely I can only see windows which are active. For instance I can see the KDE tips window that opens by default everytime we login. And when I press the power button on my laptop I see the window which offers logout, turn off and restart options.

    What could be the cause and how do I fix the problem?

    Also my kernel was updated recently from 29.7.?.1 to 29.7.?.2 online. As a result of which I had to re-install my nvidia graphics driver manually all over again. I had to do this cause it is necessary to build your kernel everytime you update it if you choose to manually install it.

    Could this be causing a problem? I dont think cause even before upgrading my kernel and re-installing graphics card driver I was having the same problem.

    I use:
    openSUSE 11.1
    KDE 4.1
    Graphics card: Nvidia 8400M GS
    Dell Vostro 1400 N series.

    Thanks for your replies.
    And it feels good to have problems and face them and fix them and eventually learn a lot about your system. And this could have not been possible without your help.

    Proud to be SUSEian! 0

  2. #2
    Conficter NNTP User

    Default Re: Problems when I login as root.

    > When I login as non-root user, the KDE 4.1 comes up good and cool. I
    > can see the desktop fine.
    >
    > But when I logout and login again, this time as 'root'


    do NOT log into any Linux GUI (KDE, GNOME, Xfce, etc etc etc) as root,
    ever!

    never ever log in as root! for lots of reasons (some not even
    noticeable immediately and VERY difficult to trouble shoot and solve)..

    yes, some will tell you that it is ok *if* you are VERY CAREFUL and
    then close the session as soon as possible, but those folks are WRONG
    (lucky that they got away with it, but WRONG anyway....lot of the
    permissions problems i see here can EASILY be caused by logging in as
    root..)

    never do it, instead visit: http://en.opensuse.org/SDB:Login_as_root
    and learn how to log in as a regular user and then become root ONLY as
    needed from within a regular user session..

    believe it!

    --
    Conficter

  3. #3
    Join Date
    Jun 2008
    Location
    Netherlands
    Posts
    25,371

    Default Re: Problems when I login as root.

    Needless to say that I support Conficter. There is not much that can make us shiver as much as you are doing.

    Read:SDB:Login as root - openSUSE

    Edit: OK even the link was already given by Conficter. I was so shocked by this behaviour, I did not notice.
    Henk van Velden

  4. #4
    Conficter NNTP User

    Default Re: Problems when I login as root.

    > Edit: OK even the link was already given by Conficter. I was so shocked
    > by this behaviour, I did not notice.


    say it again and and again....can't seem to say it often or fast
    enough....we need a big billboard on the road to openSUSE that
    proclaims: Do not log into the GUI as root! Ever!

    --
    Conficter

  5. #5
    Join Date
    Jun 2008
    Location
    Frisco, TX
    Posts
    1,233

    Default Re: Problems when I login as root.

    On Fri, 2009-04-03 at 16:54 +0000, Conficter wrote:
    > > Edit: OK even the link was already given by Conficter. I was so shocked
    > > by this behaviour, I did not notice.

    >
    > say it again and and again....can't seem to say it often or fast
    > enough....we need a big billboard on the road to openSUSE that
    > proclaims: Do not log into the GUI as root! Ever!


    Well.. while the point is right, the absolute statment is WRONG.

    Logging into the gui as root should work. Saying "don't do it"
    doesn't fix the issue.

    So... everyone log into your GUI as root Just because
    you CAN... and because abolishing all guns is a bad
    idea.



  6. #6

    Default Re: Problems when I login as root.

    Quote Originally Posted by Conficter View Post
    do NOT log into any Linux GUI (KDE, GNOME, Xfce, etc etc etc) as root,
    ever!
    +1

    You can use su or kdesu or gnomesu to do anything that needs to be done in root as a normal user.

  7. #7
    Conficter NNTP User

    Default Re: Problems when I login as root.

    > Logging into the gui as root should work. Saying "don't do it"
    > doesn't fix the issue.


    i disagree: as there is no need to ever do it, and it introduces many
    of the same security issues that Redmond has, there is NO reason that
    logging in as root "should work"...ymmv

    --
    Conficter

  8. #8
    Join Date
    Jan 2009
    Location
    Bangalore, India
    Posts
    60

    Default Re: Problems when I login as root.

    Quote Originally Posted by Conficter View Post
    > Logging into the gui as root should work. Saying "don't do it"
    > doesn't fix the issue.


    i disagree: as there is no need to ever do it, and it introduces many
    of the same security issues that Redmond has, there is NO reason that
    logging in as root "should work"...ymmv

    --
    Conficter
    I understand that there is no need to ever login as root and aslo it is not necessary that it "should work". And I also agree I m stupid if try that. But when my friend logs in as root his GUI works. I m just curious why my GUI does not work. Thats the point it boils down to now!

    So why?

  9. #9
    Conficter NNTP User

    Default Re: Problems when I login as root.

    > But when my friend logs in as root his GUI works. I m just curious
    > why my GUI does not work.


    i do not know why you can't do what should never be done...and,
    suggest your best course from here is to let that remain one of your
    great mysteries of life..

    if you can't live with that i suggest you do a full system backup and
    experiment some more to fix the pseudo-problem of not being able to do
    what is neither necessary or advisable..

    ymmv

    --
    Conficter

  10. #10
    Join Date
    Jan 2009
    Location
    Bangalore, India
    Posts
    60

    Default Re: Problems when I login as root.

    I can live that . And that is my biggest mystery of life!

Page 1 of 2 12 LastLast

Posting Permissions

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