How to run linux without any DesktopEnvironment? - linux

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.

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

Ubuntu 20.04 x11vnc blank (not black) screen after session login

I have a remote headless server without a monitor attached with SSH access.
From what I found out the hard way, the default install does not support VNC (using vino) without a monitor attached.
Tried several things to get this working this without success.
I followed this guide on setting up x11vnc and lightdm: https://www.crazy-logic.co.uk/projects/computing/how-to-install-x11vnc-vnc-server-as-a-service-on-ubuntu-20-04-for-remote-access-or-screen-sharing
I then also tried to install xubuntu-desktop, which did not help.
The issue is:
VNC asks for password and connects. All good.
I see the session login window (with the panel at the top), everything looks ok. All good.
screenshot1
After login I only see a blank screen. Nothing responds. Right click on the desktop does not open a context menu. Not good.
screenshot2
Expected would be to see the desktop, panels, menus...etc.
How would one solve this? And what exactly is happening here. The session logs show everything is ok, no errors. But the computer is unresponsive on VNC, only the background is visible.
Note: I do not have physical access to this server. A solution via SSH would be best.

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.

Ubuntu 14.04 not able to login to system using password.

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

Default Jenkins User Password

I have a fresh install of Jenkins as a service on my Linux machine. When Jenkins installs, it creates a 'jenkins' user, but I can't seem to find the default password for it anywhere.
I'm trying to secure my system, so if the default password is '123' or something insecure that I just haven't thought of yet, that's a problem.
Thanks!
I don't believe it has any password. You should be able to do:
sudo passwd jenkins
This will prompt for you to set a password.
Alternatively you could create the jenkins user prior to installing, and it would leverage that one.
For fedora,
Go to /root/.jenkins/
open config.xml
In config.xml, set disableSignup to false.
Restart Jenkins.
Go to the Jenkins web page and sign up with a new user.
In config.xml, duplicate one of the hudson.model.Hudson.Administer:username lines and replace username with the new user.
If it's a private server, set disableSignup back to true in config.xml.
Restart Jenkins.
Go to the Jenkins web page and log in as the new user.
Reset the password of the original user.
Log in as the original user.
Default password for user jenkins is just "jenkins". However, logging into this user automatically closes your session (probably it is set to be used only to allow using particular computer as a jenkins agent, but I'm not sure). That't why su - jenkins and typing jenkins do not work.
You can try logging as a jenkins user with ssh and you will see that it works, but suddenly the session is closed:
I believe there is a solution for this, but maybe it is not needed in your case. Really need to use system as a jenkins user? Doubt it.
C:\Windows\system32\config\systemprofile.jenkins\secrets\
goto above mentioned path and find
"initialAdminPassword" click that file and copy value
this is password for jenkins!

Resources