Page 8 of 9 FirstFirst ... 6789 LastLast
Results 71 to 80 of 90

Thread: Commonly Used Sudo Commands for (*)Ubuntu/Unity Crash Recovery

  1. #71
    Join Date
    Oct 2008
    Location
    ExodusHair<Čubura
    Beans
    3,855
    Distro
    Ubuntu 14.04 Trusty Tahr

    Re: Commonly Used Sudo Commands for (*)Ubuntu/Unity Crash Recovery

    Quote Originally Posted by ventrical View Post
    Actually it was during the Oneric Ocelot cycle. I'll see if I still have that install and check for logs/history.
    I do not have such install but a brief search gives:
    https://help.ubuntu.com/community/Ka...s/Kubuntu/8.04
    In accordance with my loyal old notebook... One of the first entries...
    Last edited by zika; April 18th, 2013 at 04:45 PM.

  2. #72
    Join Date
    Sep 2010
    Location
    Beta Testing in Canada
    Beans
    5,504
    Distro
    Ubuntu Development Release

    Re: Commonly Used Sudo Commands for (*)Ubuntu/Unity Crash Recovery

    Quote Originally Posted by zika View Post
    I do not have such install but a brief search gives:
    https://help.ubuntu.com/community/Ka...s/Kubuntu/8.04
    In accordance with my loyal old notebook... One of the first entries...
    Just beautiful Now I have the bug to search down the thread where I got that sudo -i from
    This is Rolling Release
    Warnings for New Beta Testers& Helpful Terminal Commands:
    Running Trusty /devel/@ 5.120GHz32bit/ Please put [ prefix] on New Threads!

  3. #73
    Join Date
    Sep 2010
    Location
    Beta Testing in Canada
    Beans
    5,504
    Distro
    Ubuntu Development Release

    Re: Commonly Used Sudo Commands for (*)Ubuntu/Unity Crash Recovery

    @cariboo907

    Thanks .. ummm but one thing .. you forgot the -a

    sudo -i dpkg --configure -a



    .. and if you think it best to drop the '-i' then please do so.

    Thanks again.

    Last edited by ventrical; April 18th, 2013 at 05:30 PM.
    This is Rolling Release
    Warnings for New Beta Testers& Helpful Terminal Commands:
    Running Trusty /devel/@ 5.120GHz32bit/ Please put [ prefix] on New Threads!

  4. #74
    Join Date
    May 2007
    Location
    The New Forest
    Beans
    Hidden!
    Distro
    Xubuntu Development Release

    Re: Commonly Used Sudo Commands for (*)Ubuntu/Unity Crash Recovery

    I added the a

    Not getting involved in a circular argument about -i

    I might

    Code:
    sudo -i
    then do

    Code:
    dpkg --configure -a
    If I had a whole bunch of other stuff to do - but I'd only use

    Code:
    sudo dpkg --configure -a
    if that was all I was doing

  5. #75
    Join Date
    Sep 2010
    Location
    Beta Testing in Canada
    Beans
    5,504
    Distro
    Ubuntu Development Release

    Re: Commonly Used Sudo Commands for (*)Ubuntu/Unity Crash Recovery

    Thanks very much Elfy.
    This is Rolling Release
    Warnings for New Beta Testers& Helpful Terminal Commands:
    Running Trusty /devel/@ 5.120GHz32bit/ Please put [ prefix] on New Threads!

  6. #76
    Join Date
    Sep 2010
    Location
    Beta Testing in Canada
    Beans
    5,504
    Distro
    Ubuntu Development Release

    Re: Commonly Used Sudo Commands for (*)Ubuntu/Unity Crash Recovery

    If anyone is having problems with gksu and password authentication then please check out this link for the fix.

    http://ubuntuforums.org/showthread.p...9#post12616119
    This is Rolling Release
    Warnings for New Beta Testers& Helpful Terminal Commands:
    Running Trusty /devel/@ 5.120GHz32bit/ Please put [ prefix] on New Threads!

  7. #77
    Join Date
    Sep 2010
    Location
    Beta Testing in Canada
    Beans
    5,504
    Distro
    Ubuntu Development Release

    Re: Commonly Used Sudo Commands for (*)Ubuntu/Unity Crash Recovery

    +1

    Make sure that the sources.list text has this added info.

    http://ubuntuforums.org/showthread.p...1#post12619169
    Last edited by ventrical; May 1st, 2013 at 04:04 PM. Reason: editing boo boo
    This is Rolling Release
    Warnings for New Beta Testers& Helpful Terminal Commands:
    Running Trusty /devel/@ 5.120GHz32bit/ Please put [ prefix] on New Threads!

  8. #78
    Join Date
    Sep 2010
    Location
    Beta Testing in Canada
    Beans
    5,504
    Distro
    Ubuntu Development Release

    Re: Commonly Used Sudo Commands for (*)Ubuntu/Unity Crash Recovery

    Just some notes on the btrfs file system.

    Btrfs can be downloaded from the saucy repositories.

    Code:
    sudo apt-get install apt-btrfs-snapshot
    *note* You have to have your file system formatted to btrfs when you are doing an install from Ubiquity. apt-btrfs-snapshot can only be run from the #root terminal. If you get no desktop after an upgrade and cannot access a terminal you can get to a terminal by holding down the <shift> key (or any key) which will bring up the GRub menu.

    From the GRuB menu you can choose <Recovery Mode> option, then <root>. Once you have dropped to root# you can enter:

    Code:
    mount -o remount,rw /
    then , if you type in <exit> it will bring you back to the recovery GUI with the option to choose an @apt-snapshot.

    The other way is to enter all the information at the cli and then reboot from there.

    Code:
    root_name#> apt-btrfs-snapshot set-default @apt-snapshot_name_of_snapshot
    This is a great recovery tool to learn how to use , especially if you are experimenting with 'mir' server ppa or other cutting edge Ubuntu tools.
    Last edited by ventrical; July 1st, 2013 at 01:55 PM.
    This is Rolling Release
    Warnings for New Beta Testers& Helpful Terminal Commands:
    Running Trusty /devel/@ 5.120GHz32bit/ Please put [ prefix] on New Threads!

  9. #79
    Join Date
    Sep 2010
    Location
    Beta Testing in Canada
    Beans
    5,504
    Distro
    Ubuntu Development Release

    Re: Commonly Used Sudo Commands for (*)Ubuntu/Unity Crash Recovery

    How to tell your current graphics adapter card and driver:

    Code:
    sudo lshw -C display
    This is Rolling Release
    Warnings for New Beta Testers& Helpful Terminal Commands:
    Running Trusty /devel/@ 5.120GHz32bit/ Please put [ prefix] on New Threads!

  10. #80
    Join Date
    Sep 2010
    Location
    Beta Testing in Canada
    Beans
    5,504
    Distro
    Ubuntu Development Release

    Re: Commonly Used Sudo Commands for (*)Ubuntu/Unity Crash Recovery

    Other desktop enviroments downloaded&installed from the repos or Ubuntu Software Center can and will overwrite data to a file:

    /etc/lightdm/lighdm.conf and/or /etc/lightdm/lightdm.conf.d/50-unity-greeter.conf

    The new lightdm.conf file will look like this after installing KDE Plasma Desktop:

    Code:
    [SeatDefaults]
    user-session=kde-plasma
    greeter-session=lightdm-kde-greeter

    To restore your original greeter you have to edit : /etc/lightdm/lightdm.conf in this way:

    Code:
    [SeatDefaults]
    user-session=unity-greeter
    type=unity
    regards..
    This is Rolling Release
    Warnings for New Beta Testers& Helpful Terminal Commands:
    Running Trusty /devel/@ 5.120GHz32bit/ Please put [ prefix] on New Threads!

Page 8 of 9 FirstFirst ... 6789 LastLast

Bookmarks

Posting Permissions

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