Results 1 to 12 of 12

Thread: Root screen locking

  1. #1
    Join Date
    2013-Mar
    Posts
    17

    Root screen locking

    This is how to make your root screen lock works. Just follow simple steps
    Open up your terminal:

    Code:
    apt-get remove gnome-screensaver
    apt-get source gnome-screensaver
    cd gnome-screensaver-3-4.1/src
    nano setuid.c
    now find
    Code:
    if (getuid () == (uid_t) 0) {
    reason = g_strdup ("running as root");
    ret = FALSE;
    goto out;
    }
    and change it this way
    Code:
    /*if (getuid () == (uid_t) 0) {
    reason = g_strdup ("running as root");
    ret = FALSE;
    goto out;
    }*/
    close nano ( ctrl + x) and save changes.
    now
    Code:
    cd ..
    dpkg-checkbuilddeps
    if there are any dependencies install them with apt-get..
    when all dependencies are installed:
    Code:
    dpkg-buildpackage
    now it will tell you that there are some changes in the source code so you have to type:
    Code:
    dpkg-source --commit
    now you have to name your change, name it how you want it and hit enter, after that it will open some text file just type in :q and hit enter.
    after that type again:
    Code:
    dpkg-buildpackage
    wait until it's done
    Code:
    cd ..
    dpkg --install gnome-screensaver_3.4.1-1_i386.deb
    and make sure that /etc/pam.d/gnome-screensaver looks like this:
    Code:
    @include common-auth
    auth optional pam_gnome_keyring.so
    And that's it, enjoy

  2. #2
    Join Date
    2013-Apr
    Posts
    5
    > apt-get source gnome-screensaver

    hmmm, that want's to deinstall "gnome-core", sounds like it might break something?

  3. #3
    Join Date
    2013-Mar
    Location
    #offsec #kali-linux
    Posts
    8
    UPDATE: This bug has been assigned and updated is expected soon. http://bugs.kali.org/view.php?id=245

  4. #4
    not working bro

  5. #5
    Join Date
    2013-Mar
    Posts
    1
    Is worked fine for me but when I did apt-get update and apt-get upgrade, it stopedt working...

  6. #6
    Join Date
    2013-Mar
    Location
    #offsec #kali-linux
    Posts
    8
    Bug has been resolved. Patch to arrive soon http://bugs.kali.org/view.php?id=245

  7. #7
    Join Date
    2013-Mar
    Location
    n0wh3r3
    Posts
    53
    I think we should wait for Kali Update to fix this bug

  8. #8
    Join Date
    2013-Mar
    Posts
    17
    It's fixed just perform apt-get update and apt-get upgrade.
    Last edited by system_crash; 2013-04-12 at 13:43.

  9. I know this isn't much help, but I'm using KDE 32Bit (self built, no special options), and there are no problems with the Lock Screen.
    Edit* Oops just read in the bug link, that they were able to fix it yesterday, perhaps it has been rolled out already, or soon.
    Last edited by charonsecurity; 2013-04-12 at 13:54.
    Fact, Science and the Pursuit of Knowledge. Working to secure your networks from threats; Outside and Within.

  10. #10
    Join Date
    2013-Apr
    Location
    Phi 1.618
    Posts
    10
    what if you get locked out !! username and password not working after Gph install.. live dvd worked great .. something went wrong after grub install.. any suggestions fellas?

  11. #11
    Join Date
    2013-Mar
    Location
    n0wh3r3
    Posts
    53
    Thanks @system_crash it works after update

  12. #12
    Join Date
    2013-May
    Posts
    7
    Is this an issue where when you lock root it doesnt actually lock? I've noticed if i lock my root account and then move the mouse (even after waiting) it doesnt actually lock which is a slight concern. I'm assuming this will fix it?.

Similar Threads

  1. TightVNCServer is locking me out at login
    By Bendage in forum TroubleShooting Archive
    Replies: 0
    Last Post: 2020-10-21, 22:42
  2. TightVNCServer is locking me out at login
    By Bendage in forum TroubleShooting Archive
    Replies: 0
    Last Post: 2020-10-21, 19:26
  3. Locking the screen crashes window manager
    By breakstuff in forum General Archive
    Replies: 0
    Last Post: 2014-04-09, 18:37

Posting Permissions

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