On Thursday, January 26, 2023 at 1:13:16 PM UTC+8, Bit Twister wrote:
> On Wed, 25 Jan 2023 20:28:31 -0800 (PST),
hongy...@gmail.com wrote:
> > Hi here,
> >
> > For Linux desktop login, say, Gnome, with the bash as the default shell, is there a method to save all the detailed sourced files information and the errors during the logging process?
> >
> > I often encounter strange phenomena and problems in login, but I don't know where they come from. Any tips will be appreciated.
> Since you did not provide what Distribution you are using, no one can a
> lot of detailed information.
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 22.10
Release: 22.10
Codename: kinetic
werner@X10DAi:~$ echo $SHELL
/bin/bash
Furthermore, I've complicated and structured customized profile configurations in the following locations:
werner@X10DAi:~$ ls /etc/profile.d/000-rootshare.sh
/etc/profile.d/000-rootshare.sh
werner@X10DAi:~$ ls ~/.profile.d/
000-networkd-resolved-netplan-dnsmasq.bash 300-fcitx5-rime.bash
001-dnsmasq-dnsproxy.bash 300-firefox.bash
005-blacklist-nouveau.sh 300-ftl.git.bash
005-disable-update-upgrade.sh 300-fzf.git.bash
005-fix-locale.bash 300-gnus.d.bash
005-git-env.sh 300-iso.bash
005-zsys-daemon-connection-error.bash 300-nginx.git.bash
010-docker-client.sh 300-openjdk.bash
010-docker-daemon.sh 300-openssh.bash
010-dockerd-data-root.sh.save 300-ripgrep-all.git.bash.save
010-proxychains-ng-daemon.git.bash 300-ripgrep.git.bash
015-apollo.git.bash 300-slurm.bash
100-gnome-terminal.sh 300-tclreadline.git.bash
100-xdgbds.bash 300-tessdata_best.git.bash.save
200-git-config.sh 300-tessdata.git.bash
200-go.git.bash 300-texlive.bash
200-pyenv.git.bash 300-wine-libgl.bash
300-brook.git.bash 300-x11docker.git.bash
300-calibre.git.bash 400-maven.bash
300-carat.git.bash 900-homeshare.git.bash
300-ext-saladict-chrome.bash
> So, check system logs, X11 logs, and user logs.
> Since I am running Xfce4 on Mageia Linux that would be journalctl, /var/log.
> and ~/.*error*
Recently, I always meet the "Are you sure you want to proceed?" message on login as described here [1], and none of the above logs give me some clues. I want to disable the above message window to appear each time when I'm trying to log in and still failed to figure out the solution.
[1]
https://askubuntu.com/questions/587868/are-you-sure-you-want-to-proceed-message-on-login
Regards,
Zhao