Tuesday, October 2, 2018

ati - Ubuntu is in command mode how to turn on the GUI mode again?




I have HP Probook 4540s with Radeon graphic card, I downloaded drivers from This site and installed those after reboot I couldnt see my launcher and toolbar but yes i could use few shortkeys, I looked for problem and run that

dconf reset -f /org/compiz/

unity --reset-icons &disown

and this command

sudo apt-get purge fglrx lightdm && sudo apt-get install lightdm ubuntu-desktop



on the terminal, Web Link of the page



after running the last command i restarted and now no GUI comes up its just black command line interface and ask for my user name and password. I have no idea how to get this back to normal
Help !



This is last thing you can do to install a display manager to fix your problem





  • Go to following link and download gdma display manager much similar to lightdm by choosing your specific Ubuntu version and architecture.



    http://pkgs.org/download/gdm


  • One file with .deb extension will be downloaded. Save it to your pen-drive.


  • Then login in Recovery Mode2nd option from your grub-menu when your system starts. You may have to hold Shift if your system doesn't show any Grub Menu. After a lot of text displayed in black screen one list will come which list some options. First go to option Grub, it will mount your file system in read/write mode. (Just in case go for network option, which will enable your network). Then chose root option in order to login as root. Then go to the pendrive where you saved the deb file. The drive should be listed in in /media. I am assuming that you saved the file in gdm
    directory inside pendrive (pendrive is the name of your pendrive)



    # cd /media && ls



    (which will list your pendrive if you don't get pendrive
    folder then go to Mount Pendrive Section at last, then come back here and continue to next step.)



    # cd /media/pendrive/gdm 


    (go to gdm directory where .deb file is saved.)



    # dpkg -i *.deb   



    (installing gdm)
    While installing gdm one window will come which will ask your to chose gdm
    from the list. Chose gdm. If this window doesn't appear then try following command:



    # dpkg-reconfigure gdm


    (chose gdm) Then finally execute following command:




    # reboot (reboot your system)



Mount Pendrive Section




  • Mounting pendrive while working in recovery mode.




Run this command:



    # fdisk -l


Find your device in the list, it is probably something like /dev/sdb1. Then execute other commands one by another:



    # mkdir /media/pendrive




  • Run this command if your pendrive is formatted in FAT/FAT32.



    # mount -t vfat /dev/sdb1 /media/pendrive -o uid=1000,gid=1000,utf8,dmask=027,fmask=137

  • Or this command if your pendrive is formatted in NTFS



    # mount -t ntfs-3g /dev/sdb1 /media/pendrive




Hope it will work for you.. For any further assistance please reply..


No comments:

Post a Comment

11.10 - Can't boot from USB after installing Ubuntu

I bought a Samsung series 5 notebook and a very strange thing happened: I installed Ubuntu 11.10 from a usb pen drive but when I restarted (...