Ubuntu 14.04 not able to login to system using password. - ubuntu-14.04

I am working in ubuntu 14.04' but today when I start my desktop it is not taking my password.not able to login using guest as well. But when I give cntrl alt f2 I am able to login with credentials. I am giving correct password. Can anybody help me to login to my desktop

Are you seeing an error message stating Log-in incorrect even after system restarts? If 'Yes' its a possible corruption for /etc/password (again this is one of the possibility)
Solution - Boot into single user mode, back up /etc/passwad- to /etc/passwd.
Steps for the above process
1. Restart the machine and in the very inital state press any key to enter into the GRUB menu. Select your os from the list.
2. Select kernel, press e to edit parameteres. Add 1 after a space to boot in single user mode
3. Now copy the backup of /etc/passwd which is /etc/passwd-. 'cp /etc/passwd- /etc/passwd'
4. enter commant 'init 5' to enter graphical mode

Related

Login issue in Beaglebone Black using Linux Kernel 4.4.115 and systemd

I managed to compile with success the Uboot(U-Boot 2019.04), Linux kernel(4.4.155)and root file system(systemd 249) using the Buildroot-2021.11.1 on the Beaglebone Black. It was able to boot successfully until the login prompt. However, it seems like there is an error with the login prompt it does not want to enter, just looping around the login prompt after I have entered the login name (not showing the password prompt). Did anyone know about this issue?
Thanks.
The problem is resolved.
I have missed out 2 important settings in Buildroot menuconfig menu which is BR2_PACKAGE_SYSTEMD_LOGIND and BR2_PACKAGE_UTIL_LINUX_LOGIN.
These two (or at least one) need to be set in order to login to the system properly.
Thank you

Alternative Button Combo for Alt + Tab in VMWare Horizon Client?

I'm working remotely via a VMWare Horizon Client portal to access my Windows 10 desktop. I have zero admin rights to modify registries, install software, access the client's settings, etc. Is there another button combo that replicates the Alt+Tab function? It's driving me crazy popping back to my computer's active windows and not the windows within the client.
From the Horizon User Guide:
Enable the Windows key for remote desktops:
To enable this key, click the Open Settings Window toolbar button in the sidebar and turn on Enable Windows Key for Desktops
The actual instructions may vary depending on the client, but the setting should be there.
Important After you turn on Enable Windows Key for Desktops, you must press Ctrl+Win (on Windows), Ctrl+Command (on Mac), or Ctrl+Search (on Chromebook) to simulate pressing the Windows key
You should be able to use Windows + Tab to switch between programs after enabling the setting.
I am unable to test this solution.
Maybe you can pin functions to the taskbar and then win+digit. So you can pin many directories in this way and go exact one without sorting like ctrl+tab or win+tab.
for example win+8 -> open Chrome window or D disc
https://support.microsoft.com/en-us/windows/pin-apps-and-folders-to-the-desktop-or-taskbar-f3c749fb-e298-4cf1-adda-7fd635df6bb0#WindowsVersion=Windows_10
If you can run basic exe files inside the instance (that don't require any installation), then you could download AutoHotkey on your own computer, create an ahk script with the following line:
LCtrl & CapsLock::AltTabMenu
Save the file, then compile it to exe using Convert .ahk to .exe (you can find it in your Start Menu after installing AutoHotkey).
Now, assuming you can copy the compiled executable to your instance and run it, you can invoke the Alt-Tab Menu using Left Ctrl + CapsLock.
Note that you can use a different key combination is this one does not work for you. Here you can find the list of all keys.

Linux Plasma 5.12.3 authorization failed on locked screen

I needed to install my OS (Sabayon, based on Gentoo with Kernel 4.15 and Plasma 5.12.3) again. Installation went fine so far.
When I boot into login screen I can login normally with my password and the Plasma DE appears.
When I lock my screen, I see a wallpaper and a field to enter my password to unlock. Everything as known before.
But when I now try to enter my login password, the same like from first boot, I get a message, which says: "Authorization failed". This behavior is reproducible.
The only way to get back to my Plasma session is to open a terminal (Ctrl-Alt-F2), login as root and enter the command:
loginctl unlock-session 1
Then I need to change back to terminal 1 (Ctrl-Alt-F1) again and the screen is unlocked, so that I'm back in Plasma.
What is wrong with the screen locker, with my procedure that my password is not recognized? Btw. I use SDDM as Display manager.

No sudo permissions on google CentOS VM

It is suposed that every user in the VM created on the Google Cloud Platform has root permissions, but I haven't been able to do anything, because it says that my user has no permissions and I don't have any password, either for my user, or for root.
Is there any default password for root, or any way I could find it?
Thanks!
well i have virtual machine with ubuntu (i presume that it is the same for other linux distros as well) : login to your Google Cloud platform -> VM Instances -> click on you instance (virtual machine) , click on SSH button which is on left upper corner and for example pick a frist option Open in browser window.. when the windows opens you will be logged in as regular user with sudo permission. After that you can create users etc.. If you want to use other ssh client then go to
https://cloud.google.com/compute/docs/instances/connecting-to-instance#standardssh
it well written documentation.. the most "complicated" will be to create key pairs .. if you still have problems just ask :)

How to run linux without any DesktopEnvironment?

I have Manjaro installed on my system and for the Desktop Environment I have XFCE4 and for login manager LXDM everything works fine
but when I try to change some of the lxdm-config option I can't login to my user, the problem came from that I disable that option to shown the select session panel and after logout when I try to login again but after type password and press enter back to select user again!
I have no access to terminal or my user account to change the config again and back it to default or change the login session to xfce4
How can I access to terminal to change config or access to desktop or how can I fix this problem?
Thanks,
Try using ALt+Ctrl +FnKey. Fn key from 1 to 6 would lead you to the terminal shell. you can use all the bash commands over there.
You may restore the configuration file from there.
To reset display settings back to defaults (XFCE), this link may help you.

Resources