Rocksolid Light

Welcome to RetroBBS

mail  files  register  newsreader  groups  login

Message-ID:  

7 May, 2024: fms is rebuilding. Don't expect much in that section for quite a few days, maybe longer.
Also, overboard does not work right now. If I knew why, I'd fix it!


devel / comp.unix.shell / Save all the detailed sourced files information and the errors during the logging process.

SubjectAuthor
* Save all the detailed sourced files information and the errors duringhongy...@gmail.com
+* Re: Save all the detailed sourced files information and the errorsBit Twister
|`* Re: Save all the detailed sourced files information and the errorshongy...@gmail.com
| +* Re: Save all the detailed sourced files information and the errors during the loKees Nuyt
| |+- Re: Save all the detailed sourced files information and the errorshongy...@gmail.com
| |`* Re: Save all the detailed sourced files information and the errorshongy...@gmail.com
| | +* Re: Save all the detailed sourced files information and the errors during the loKees Nuyt
| | |`- Re: Save all the detailed sourced files information and the errorshongy...@gmail.com
| | `* Re: Save all the detailed sourced files information and the errorshongy...@gmail.com
| |  `* Re: Save all the detailed sourced files information and the errors during the loKees Nuyt
| |   `- Re: Save all the detailed sourced files information and the errorshongy...@gmail.com
| `* Re: Save all the detailed sourced files information and the errorsBit Twister
|  +* Re: Save all the detailed sourced files information and the errorshongy...@gmail.com
|  |+* Re: Save all the detailed sourced files information and the errorsBit Twister
|  ||+* Re: Save all the detailed sourced files information and the errorshongy...@gmail.com
|  |||`* Re: Save all the detailed sourced files information and the errorsBit Twister
|  ||| `* Re: Save all the detailed sourced files information and the errorshongy...@gmail.com
|  |||  `* Re: Save all the detailed sourced files information and the errorsBit Twister
|  |||   `- Re: Save all the detailed sourced files information and the errorshongy...@gmail.com
|  ||`- Re: Save all the detailed sourced files information and the errors during the loJerry Peters
|  |`- Re: Save all the detailed sourced files information and the errorsJanis Papanagnou
|  `* Re: Save all the detailed sourced files information and the errorshongy...@gmail.com
|   `* Re: Save all the detailed sourced files information and the errorsBit Twister
|    +- Re: Save all the detailed sourced files information and the errorshongy...@gmail.com
|    `* Re: Save all the detailed sourced files information and the errorshongy...@gmail.com
|     `* Re: Save all the detailed sourced files information and the errorsBit Twister
|      `* Re: Save all the detailed sourced files information and the errorshongy...@gmail.com
|       `* Re: Save all the detailed sourced files information and the errorsJalen Q
|        +- Re: Save all the detailed sourced files information and the errorsJalen Q
|        `- Re: Save all the detailed sourced files information and the errorsJalen Q
+* Re: Save all the detailed sourced files information and the errorsJalen Q
|`- Re: Save all the detailed sourced files information and the errorsJalen Q
+- Re: Save all the detailed sourced files information and the errorsJalen Q
+- Re: Save all the detailed sourced files information and the errorsJalen Q
`- Re: Save all the detailed sourced files information and the errorsJalen Q

Pages:12
Save all the detailed sourced files information and the errors during the logging process.

<effab43f-f856-4d8e-8554-cf8e4731c47en@googlegroups.com>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=5949&group=comp.unix.shell#5949

  copy link   Newsgroups: comp.unix.shell
X-Received: by 2002:a05:6214:5c83:b0:4c7:8589:c5a5 with SMTP id lj3-20020a0562145c8300b004c78589c5a5mr1774158qvb.54.1674707312013;
Wed, 25 Jan 2023 20:28:32 -0800 (PST)
X-Received: by 2002:a25:3784:0:b0:80b:8514:e7c1 with SMTP id
e126-20020a253784000000b0080b8514e7c1mr629595yba.603.1674707311636; Wed, 25
Jan 2023 20:28:31 -0800 (PST)
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!news.misty.com!border-2.nntp.ord.giganews.com!nntp.giganews.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.unix.shell
Date: Wed, 25 Jan 2023 20:28:31 -0800 (PST)
Injection-Info: google-groups.googlegroups.com; posting-host=103.149.249.17; posting-account=kF0ZaAoAAACPbiK5gldhAyX5qTd3krV2
NNTP-Posting-Host: 103.149.249.17
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <effab43f-f856-4d8e-8554-cf8e4731c47en@googlegroups.com>
Subject: Save all the detailed sourced files information and the errors during
the logging process.
From: hongyi.zhao@gmail.com (hongy...@gmail.com)
Injection-Date: Thu, 26 Jan 2023 04:28:32 +0000
Content-Type: text/plain; charset="UTF-8"
Lines: 7
 by: hongy...@gmail.com - Thu, 26 Jan 2023 04:28 UTC

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.

Regards,
Zhao

Re: Save all the detailed sourced files information and the errors during the logging process.

<slrntt42v6.176b.BitTwister@wb.home.arpa>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=5950&group=comp.unix.shell#5950

  copy link   Newsgroups: comp.unix.shell
Path: i2pn2.org!i2pn.org!eternal-september.org!reader01.eternal-september.org!.POSTED!not-for-mail
From: BitTwister@mouse-potato.com (Bit Twister)
Newsgroups: comp.unix.shell
Subject: Re: Save all the detailed sourced files information and the errors
during the logging process.
Date: Wed, 25 Jan 2023 23:13:03 -0600
Organization: A noiseless patient Spider
Lines: 13
Message-ID: <slrntt42v6.176b.BitTwister@wb.home.arpa>
References: <effab43f-f856-4d8e-8554-cf8e4731c47en@googlegroups.com>
Injection-Info: reader01.eternal-september.org; posting-host="0853998829a65eac5e963e2f546e1946";
logging-data="1113197"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/tULSxOKWqD/mYGXOhhj+0QoLBq4fLr/A="
User-Agent: slrn/pre1.0.4-6 (Linux)
Cancel-Lock: sha1:Ch6xKz9raq9UDhfZvJ8nxjrgimw=
 by: Bit Twister - Thu, 26 Jan 2023 05:13 UTC

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.

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*

Re: Save all the detailed sourced files information and the errors during the logging process.

<dce84b69-c48e-4309-8b25-b05d44adeec9n@googlegroups.com>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=5951&group=comp.unix.shell#5951

  copy link   Newsgroups: comp.unix.shell
X-Received: by 2002:a05:622a:4f18:b0:3b6:2ada:d6f3 with SMTP id ei24-20020a05622a4f1800b003b62adad6f3mr1363618qtb.258.1674717426629;
Wed, 25 Jan 2023 23:17:06 -0800 (PST)
X-Received: by 2002:a25:d095:0:b0:802:baa3:ee51 with SMTP id
h143-20020a25d095000000b00802baa3ee51mr2071211ybg.422.1674717426364; Wed, 25
Jan 2023 23:17:06 -0800 (PST)
Path: i2pn2.org!i2pn.org!usenet.blueworldhosting.com!feed1.usenet.blueworldhosting.com!peer01.iad!feed-me.highwinds-media.com!news.highwinds-media.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.unix.shell
Date: Wed, 25 Jan 2023 23:17:06 -0800 (PST)
In-Reply-To: <slrntt42v6.176b.BitTwister@wb.home.arpa>
Injection-Info: google-groups.googlegroups.com; posting-host=103.149.249.17; posting-account=kF0ZaAoAAACPbiK5gldhAyX5qTd3krV2
NNTP-Posting-Host: 103.149.249.17
References: <effab43f-f856-4d8e-8554-cf8e4731c47en@googlegroups.com> <slrntt42v6.176b.BitTwister@wb.home.arpa>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <dce84b69-c48e-4309-8b25-b05d44adeec9n@googlegroups.com>
Subject: Re: Save all the detailed sourced files information and the errors
during the logging process.
From: hongyi.zhao@gmail.com (hongy...@gmail.com)
Injection-Date: Thu, 26 Jan 2023 07:17:06 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Received-Bytes: 4207
 by: hongy...@gmail.com - Thu, 26 Jan 2023 07:17 UTC

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

Re: Save all the detailed sourced files information and the errors during the logging process.

<n2r4thtqhb1lm61vtndf5ipfebb2rvhh47@dim53.demon.nl>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=5952&group=comp.unix.shell#5952

  copy link   Newsgroups: comp.unix.shell
From: k.nuyt@nospam.demon.nl (Kees Nuyt)
Newsgroups: comp.unix.shell
Subject: Re: Save all the detailed sourced files information and the errors during the logging process.
Date: Thu, 26 Jan 2023 13:12:05 +0100
Reply-To: k.nuyt@nospam.demon.nl
Message-ID: <n2r4thtqhb1lm61vtndf5ipfebb2rvhh47@dim53.demon.nl>
References: <effab43f-f856-4d8e-8554-cf8e4731c47en@googlegroups.com> <slrntt42v6.176b.BitTwister@wb.home.arpa> <dce84b69-c48e-4309-8b25-b05d44adeec9n@googlegroups.com>
User-Agent: ForteAgent/7.10.32.1214
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Organization: KPN B.V.
Path: i2pn2.org!i2pn.org!weretis.net!feeder8.news.weretis.net!newsreader4.netcologne.de!news.netcologne.de!peer01.ams1!peer.ams1.xlned.com!news.xlned.com!peer01.ams4!peer.am4.highwinds-media.com!news.highwinds-media.com!feed.abavia.com!abe006.abavia.com!abp001.abavia.com!news.kpn.nl!not-for-mail
Lines: 24
Injection-Date: Thu, 26 Jan 2023 13:12:06 +0100
Injection-Info: news.kpn.nl; mail-complaints-to="abuse@kpn.com"
X-Received-Bytes: 1705
 by: Kees Nuyt - Thu, 26 Jan 2023 12:12 UTC

On Wed, 25 Jan 2023 23:17:06 -0800 (PST), "hongy...@gmail.com"
<hongyi.zhao@gmail.com> wrote:

[...]
>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
[...]

Binay search will take just a few tries.
Move half of the scripts in ~/.profile.d/ somewhere where they
will not run.
Try again.
- No error: the problem was in the half you moved away
- Still error: the problem was in the half you did not move

Proceed by activating half of the set of scripts that has the
problem.
Repeat until the size of the set is one script.
--
Kees Nuyt

Re: Save all the detailed sourced files information and the errors during the logging process.

<685506d7-1943-4773-87b5-bdc9b2d30ecdn@googlegroups.com>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=5953&group=comp.unix.shell#5953

  copy link   Newsgroups: comp.unix.shell
X-Received: by 2002:a05:620a:208e:b0:6ff:9375:34bc with SMTP id e14-20020a05620a208e00b006ff937534bcmr1989974qka.627.1674736370127;
Thu, 26 Jan 2023 04:32:50 -0800 (PST)
X-Received: by 2002:a25:6d7:0:b0:7c9:a46a:5c8e with SMTP id
206-20020a2506d7000000b007c9a46a5c8emr3071953ybg.362.1674736369937; Thu, 26
Jan 2023 04:32:49 -0800 (PST)
Path: i2pn2.org!i2pn.org!usenet.blueworldhosting.com!feed1.usenet.blueworldhosting.com!peer02.iad!feed-me.highwinds-media.com!news.highwinds-media.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.unix.shell
Date: Thu, 26 Jan 2023 04:32:49 -0800 (PST)
In-Reply-To: <n2r4thtqhb1lm61vtndf5ipfebb2rvhh47@dim53.demon.nl>
Injection-Info: google-groups.googlegroups.com; posting-host=103.149.249.17; posting-account=kF0ZaAoAAACPbiK5gldhAyX5qTd3krV2
NNTP-Posting-Host: 103.149.249.17
References: <effab43f-f856-4d8e-8554-cf8e4731c47en@googlegroups.com>
<slrntt42v6.176b.BitTwister@wb.home.arpa> <dce84b69-c48e-4309-8b25-b05d44adeec9n@googlegroups.com>
<n2r4thtqhb1lm61vtndf5ipfebb2rvhh47@dim53.demon.nl>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <685506d7-1943-4773-87b5-bdc9b2d30ecdn@googlegroups.com>
Subject: Re: Save all the detailed sourced files information and the errors
during the logging process.
From: hongyi.zhao@gmail.com (hongy...@gmail.com)
Injection-Date: Thu, 26 Jan 2023 12:32:50 +0000
Content-Type: text/plain; charset="UTF-8"
X-Received-Bytes: 2268
 by: hongy...@gmail.com - Thu, 26 Jan 2023 12:32 UTC

On Thursday, January 26, 2023 at 8:12:15 PM UTC+8, Kees Nuyt wrote:
> On Wed, 25 Jan 2023 23:17:06 -0800 (PST), "hongy...@gmail.com"
> <hongy...@gmail.com> wrote:
>
> [...]
> >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
> [...]
>
> Binay search will take just a few tries.
> Move half of the scripts in ~/.profile.d/ somewhere where they
> will not run.
> Try again.
> - No error: the problem was in the half you moved away
> - Still error: the problem was in the half you did not move
>
> Proceed by activating half of the set of scripts that has the
> problem.
> Repeat until the size of the set is one script.

Nice idea. I'll give a try.

> --
> Kees Nuyt

Regards,
Zhao

Re: Save all the detailed sourced files information and the errors during the logging process.

<slrntt51c0.a9vo.BitTwister@wb.home.arpa>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=5954&group=comp.unix.shell#5954

  copy link   Newsgroups: comp.unix.shell
Path: i2pn2.org!i2pn.org!eternal-september.org!reader01.eternal-september.org!.POSTED!not-for-mail
From: BitTwister@mouse-potato.com (Bit Twister)
Newsgroups: comp.unix.shell
Subject: Re: Save all the detailed sourced files information and the errors
during the logging process.
Date: Thu, 26 Jan 2023 07:51:58 -0600
Organization: A noiseless patient Spider
Lines: 16
Message-ID: <slrntt51c0.a9vo.BitTwister@wb.home.arpa>
References: <effab43f-f856-4d8e-8554-cf8e4731c47en@googlegroups.com>
<slrntt42v6.176b.BitTwister@wb.home.arpa>
<dce84b69-c48e-4309-8b25-b05d44adeec9n@googlegroups.com>
Injection-Info: reader01.eternal-september.org; posting-host="0853998829a65eac5e963e2f546e1946";
logging-data="1276951"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+NBvcWmT/qKZ5xN5vrfhFJK6zxXTrDu20="
User-Agent: slrn/pre1.0.4-6 (Linux)
Cancel-Lock: sha1:TDE9nb2odwDFTrpbgrxx0Uhblc8=
 by: Bit Twister - Thu, 26 Jan 2023 13:51 UTC

On Wed, 25 Jan 2023 23:17:06 -0800 (PST), hongy...@gmail.com wrote:

> 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.

I suggest creating a test account, say junk. Log out of hongyi and into junk.
If junk has the same problem as hongyi you know it is a system wide problem.
If junk does not have the problem then you know it is a user (hongyi) problem.

You can test the login process from either account by logging into the
other user account by clicking up a terminal and doing
su - junk
from a hongyi terminal or su - hongyi from a junk terminal, depending
on who you want to test.

For you, I suggest anytime you make any login script change is to
su - junk and very there are no problems.

Re: Save all the detailed sourced files information and the errors during the logging process.

<5ae93e9a-0c77-45f0-8202-a10bdcf3bbdfn@googlegroups.com>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=5955&group=comp.unix.shell#5955

  copy link   Newsgroups: comp.unix.shell
X-Received: by 2002:a05:6214:c6e:b0:537:6653:dbbb with SMTP id t14-20020a0562140c6e00b005376653dbbbmr689472qvj.39.1674788987109;
Thu, 26 Jan 2023 19:09:47 -0800 (PST)
X-Received: by 2002:a81:6357:0:b0:506:f919:99ec with SMTP id
x84-20020a816357000000b00506f91999ecmr927181ywb.422.1674788986949; Thu, 26
Jan 2023 19:09:46 -0800 (PST)
Path: i2pn2.org!i2pn.org!usenet.blueworldhosting.com!feed1.usenet.blueworldhosting.com!peer02.iad!feed-me.highwinds-media.com!news.highwinds-media.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.unix.shell
Date: Thu, 26 Jan 2023 19:09:46 -0800 (PST)
In-Reply-To: <slrntt51c0.a9vo.BitTwister@wb.home.arpa>
Injection-Info: google-groups.googlegroups.com; posting-host=103.152.220.131; posting-account=kF0ZaAoAAACPbiK5gldhAyX5qTd3krV2
NNTP-Posting-Host: 103.152.220.131
References: <effab43f-f856-4d8e-8554-cf8e4731c47en@googlegroups.com>
<slrntt42v6.176b.BitTwister@wb.home.arpa> <dce84b69-c48e-4309-8b25-b05d44adeec9n@googlegroups.com>
<slrntt51c0.a9vo.BitTwister@wb.home.arpa>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <5ae93e9a-0c77-45f0-8202-a10bdcf3bbdfn@googlegroups.com>
Subject: Re: Save all the detailed sourced files information and the errors
during the logging process.
From: hongyi.zhao@gmail.com (hongy...@gmail.com)
Injection-Date: Fri, 27 Jan 2023 03:09:47 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Received-Bytes: 2576
 by: hongy...@gmail.com - Fri, 27 Jan 2023 03:09 UTC

On Thursday, January 26, 2023 at 9:52:05 PM UTC+8, Bit Twister wrote:
> On Wed, 25 Jan 2023 23:17:06 -0800 (PST), hongy...@gmail.com wrote:
>
> > 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.
> I suggest creating a test account, say junk. Log out of hongyi and into junk.
> If junk has the same problem as hongyi you know it is a system wide problem.
> If junk does not have the problem then you know it is a user (hongyi) problem.
>
> You can test the login process from either account by logging into the
> other user account by clicking up a terminal and doing
> su - junk
> from a hongyi terminal or su - hongyi from a junk terminal, depending
> on who you want to test.
>
> For you, I suggest anytime you make any login script change is to
> su - junk and very there are no problems.

Do you mean always first test any newly added/revised script with this account?

Best,
Zhao

Re: Save all the detailed sourced files information and the errors during the logging process.

<slrntt6gfa.cl2l.BitTwister@wb.home.arpa>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=5956&group=comp.unix.shell#5956

  copy link   Newsgroups: comp.unix.shell
Path: i2pn2.org!i2pn.org!eternal-september.org!reader01.eternal-september.org!.POSTED!not-for-mail
From: BitTwister@mouse-potato.com (Bit Twister)
Newsgroups: comp.unix.shell
Subject: Re: Save all the detailed sourced files information and the errors
during the logging process.
Date: Thu, 26 Jan 2023 21:15:54 -0600
Organization: A noiseless patient Spider
Lines: 16
Message-ID: <slrntt6gfa.cl2l.BitTwister@wb.home.arpa>
References: <effab43f-f856-4d8e-8554-cf8e4731c47en@googlegroups.com>
<slrntt42v6.176b.BitTwister@wb.home.arpa>
<dce84b69-c48e-4309-8b25-b05d44adeec9n@googlegroups.com>
<slrntt51c0.a9vo.BitTwister@wb.home.arpa>
<5ae93e9a-0c77-45f0-8202-a10bdcf3bbdfn@googlegroups.com>
Injection-Info: reader01.eternal-september.org; posting-host="e268e2064d44806965ac1f283a824fe0";
logging-data="1615737"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+DjVD5l9PNmopNq/S88iUMEpn+SNdorFo="
User-Agent: slrn/pre1.0.4-6 (Linux)
Cancel-Lock: sha1:KxAU19a8+421n0D2DuUEK8lqKfc=
 by: Bit Twister - Fri, 27 Jan 2023 03:15 UTC

On Thu, 26 Jan 2023 19:09:46 -0800 (PST), hongy...@gmail.com wrote:
> On Thursday, January 26, 2023 at 9:52:05 PM UTC+8, Bit Twister wrote:
>> On Wed, 25 Jan 2023 23:17:06 -0800 (PST), hongy...@gmail.com wrote:

>> For you, I suggest anytime you make any login script change is to
>> su - junk and very there are no problems.
>
> Do you mean always first test any newly added/revised script with this
> account?

Why not. Can not see that it take long to su -l junk and enter password.

On my distribution, that kind of error will not let you do a gui login.

What is your procedure if you make a change and can not do a gui login?

Re: Save all the detailed sourced files information and the errors during the logging process.

<tqvq5v$1isiu$1@dont-email.me>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=5957&group=comp.unix.shell#5957

  copy link   Newsgroups: comp.unix.shell
Path: i2pn2.org!i2pn.org!eternal-september.org!reader01.eternal-september.org!.POSTED!not-for-mail
From: janis_papanagnou+ng@hotmail.com (Janis Papanagnou)
Newsgroups: comp.unix.shell
Subject: Re: Save all the detailed sourced files information and the errors
during the logging process.
Date: Fri, 27 Jan 2023 07:15:27 +0100
Organization: A noiseless patient Spider
Lines: 39
Message-ID: <tqvq5v$1isiu$1@dont-email.me>
References: <effab43f-f856-4d8e-8554-cf8e4731c47en@googlegroups.com>
<slrntt42v6.176b.BitTwister@wb.home.arpa>
<dce84b69-c48e-4309-8b25-b05d44adeec9n@googlegroups.com>
<slrntt51c0.a9vo.BitTwister@wb.home.arpa>
<5ae93e9a-0c77-45f0-8202-a10bdcf3bbdfn@googlegroups.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 7bit
Injection-Date: Fri, 27 Jan 2023 06:15:27 -0000 (UTC)
Injection-Info: reader01.eternal-september.org; posting-host="0d490e41051f11067b7129b2a7e9158f";
logging-data="1667678"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+Wmq97Hwl4koLvfnT8lTDU"
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101
Thunderbird/45.8.0
Cancel-Lock: sha1:hLvI6J0gRpN7vfr+1BZMh7d9oOw=
X-Enigmail-Draft-Status: N1110
In-Reply-To: <5ae93e9a-0c77-45f0-8202-a10bdcf3bbdfn@googlegroups.com>
 by: Janis Papanagnou - Fri, 27 Jan 2023 06:15 UTC

On 27.01.2023 04:09, hongy...@gmail.com wrote:
> On Thursday, January 26, 2023 at 9:52:05 PM UTC+8, Bit Twister wrote:
>> [...]
>
> Do you mean always first test any newly added/revised script with this account?

Nah! In this part of the world we say that testing is only for wimps.

We accept that systems get spoiled. Provide arbitrary changes quickly.
It's certainly thrilling.

Unavailable and unreliable and non-trustworthy environments for users
and customers are just a minor nuisance.

Real heroes can then jump in an fix any issues. (With more untested
scripts.)

Mind that admins get no credit for nicely and reliably working systems.

If you show that you can fix issues (and issues of fixes, recursively)
you prove that you are a competent doer, a hero with quick solutions.
(In many environments no one cares if you are the [continuous] source
of the issue.)

This all works well at least in companies with ignorant management and
where folks have to depend on skills and expertise.

Disclaimer: Anyone who is taking above as serious professional approach
is hopelessly lost. - OTOH that might fit well in quite some parts of
our (IT-)world. *sigh*

Janis

>
> Best,
> Zhao
>

Re: Save all the detailed sourced files information and the errors during the logging process.

<b1050002-88c7-4302-963e-f2feeae4e7c5n@googlegroups.com>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=5958&group=comp.unix.shell#5958

  copy link   Newsgroups: comp.unix.shell
X-Received: by 2002:a37:9ac8:0:b0:719:4937:f10 with SMTP id c191-20020a379ac8000000b0071949370f10mr31181qke.627.1674808524821;
Fri, 27 Jan 2023 00:35:24 -0800 (PST)
X-Received: by 2002:a25:9802:0:b0:800:9d2d:ac38 with SMTP id
a2-20020a259802000000b008009d2dac38mr2856494ybo.272.1674808524634; Fri, 27
Jan 2023 00:35:24 -0800 (PST)
Path: i2pn2.org!i2pn.org!usenet.blueworldhosting.com!feed1.usenet.blueworldhosting.com!peer03.iad!feed-me.highwinds-media.com!news.highwinds-media.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.unix.shell
Date: Fri, 27 Jan 2023 00:35:24 -0800 (PST)
In-Reply-To: <slrntt6gfa.cl2l.BitTwister@wb.home.arpa>
Injection-Info: google-groups.googlegroups.com; posting-host=60.249.28.128; posting-account=kF0ZaAoAAACPbiK5gldhAyX5qTd3krV2
NNTP-Posting-Host: 60.249.28.128
References: <effab43f-f856-4d8e-8554-cf8e4731c47en@googlegroups.com>
<slrntt42v6.176b.BitTwister@wb.home.arpa> <dce84b69-c48e-4309-8b25-b05d44adeec9n@googlegroups.com>
<slrntt51c0.a9vo.BitTwister@wb.home.arpa> <5ae93e9a-0c77-45f0-8202-a10bdcf3bbdfn@googlegroups.com>
<slrntt6gfa.cl2l.BitTwister@wb.home.arpa>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <b1050002-88c7-4302-963e-f2feeae4e7c5n@googlegroups.com>
Subject: Re: Save all the detailed sourced files information and the errors
during the logging process.
From: hongyi.zhao@gmail.com (hongy...@gmail.com)
Injection-Date: Fri, 27 Jan 2023 08:35:24 +0000
Content-Type: text/plain; charset="UTF-8"
X-Received-Bytes: 2677
 by: hongy...@gmail.com - Fri, 27 Jan 2023 08:35 UTC

On Friday, January 27, 2023 at 11:16:01 AM UTC+8, Bit Twister wrote:
> On Thu, 26 Jan 2023 19:09:46 -0800 (PST), hongy...@gmail.com wrote:
> > On Thursday, January 26, 2023 at 9:52:05 PM UTC+8, Bit Twister wrote:
> >> On Wed, 25 Jan 2023 23:17:06 -0800 (PST), hongy...@gmail.com wrote:
>
> >> For you, I suggest anytime you make any login script change is to
> >> su - junk and very there are no problems.
> >
> > Do you mean always first test any newly added/revised script with this
> > account?
> Why not. Can not see that it take long to su -l junk and enter password.

Agreed.
> On my distribution, that kind of error will not let you do a gui login.

That's the same dilemma I face here.

> What is your procedure if you make a change and can not do a gui login?

Fortunately, I found the following quick workaround to avoid rebooting the system for the next login attempt when the "Are you sure you want to proceed?" problem occurs:

1. Ctrl + Alt + F4 opens a console window, where you can log in using the username and password.
2. After logging in, run the following command to restart gdm:

$ sudo systemctl restart gdm

3. Then you will have the opportunity to log back in to the GUI.

Best,
Zhao

Re: Save all the detailed sourced files information and the errors during the logging process.

<slrntt7b2p.lv0h.BitTwister@wb.home.arpa>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=5959&group=comp.unix.shell#5959

  copy link   Newsgroups: comp.unix.shell
Path: i2pn2.org!i2pn.org!eternal-september.org!reader01.eternal-september.org!.POSTED!not-for-mail
From: BitTwister@mouse-potato.com (Bit Twister)
Newsgroups: comp.unix.shell
Subject: Re: Save all the detailed sourced files information and the errors
during the logging process.
Date: Fri, 27 Jan 2023 04:50:00 -0600
Organization: A noiseless patient Spider
Lines: 34
Message-ID: <slrntt7b2p.lv0h.BitTwister@wb.home.arpa>
References: <effab43f-f856-4d8e-8554-cf8e4731c47en@googlegroups.com>
<slrntt42v6.176b.BitTwister@wb.home.arpa>
<dce84b69-c48e-4309-8b25-b05d44adeec9n@googlegroups.com>
<slrntt51c0.a9vo.BitTwister@wb.home.arpa>
<5ae93e9a-0c77-45f0-8202-a10bdcf3bbdfn@googlegroups.com>
<slrntt6gfa.cl2l.BitTwister@wb.home.arpa>
<b1050002-88c7-4302-963e-f2feeae4e7c5n@googlegroups.com>
Injection-Info: reader01.eternal-september.org; posting-host="e268e2064d44806965ac1f283a824fe0";
logging-data="1753927"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18jS+qislwRjYXp5la+mOjkUZIHrJ5ohxY="
User-Agent: slrn/pre1.0.4-6 (Linux)
Cancel-Lock: sha1:AQ9N2bS/dfswBf+vNqvL1H8bCcE=
 by: Bit Twister - Fri, 27 Jan 2023 10:50 UTC

On Fri, 27 Jan 2023 00:35:24 -0800 (PST), hongy...@gmail.com wrote:
> On Friday, January 27, 2023 at 11:16:01 AM UTC+8, Bit Twister wrote:
>> On Thu, 26 Jan 2023 19:09:46 -0800 (PST), hongy...@gmail.com wrote:
>> > On Thursday, January 26, 2023 at 9:52:05 PM UTC+8, Bit Twister wrote:
>> >> On Wed, 25 Jan 2023 23:17:06 -0800 (PST), hongy...@gmail.com wrote:
>>
>> >> For you, I suggest anytime you make any login script change is to
>> >> su - junk and very there are no problems.
>> >
>> > Do you mean always first test any newly added/revised script with this
>> > account?
>> Why not. Can not see that it take long to su -l junk and enter password.
>
> Agreed.
>
>> On my distribution, that kind of error will not let you do a gui login.
>
> That's the same dilemma I face here.
>
>> What is your procedure if you make a change and can not do a gui login?
>
> Fortunately, I found the following quick workaround to avoid rebooting the system for the next login attempt when the "Are you sure you want to proceed?" problem occurs:
>
> 1. Ctrl + Alt + F4 opens a console window, where you can log in using the username and password.
> 2. After logging in, run the following command to restart gdm:
>
> $ sudo systemctl restart gdm
>
> 3. Then you will have the opportunity to log back in to the GUI.

But what happens if gui does not start.

Can YOU run a non gui editor to rectify your induced problem?

Re: Save all the detailed sourced files information and the errors during the logging process.

<9d373ee3-c246-4e8a-8acd-48ec9f464373n@googlegroups.com>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=5960&group=comp.unix.shell#5960

  copy link   Newsgroups: comp.unix.shell
X-Received: by 2002:a05:620a:407:b0:702:4128:2891 with SMTP id 7-20020a05620a040700b0070241282891mr2276887qkp.146.1674828894018;
Fri, 27 Jan 2023 06:14:54 -0800 (PST)
X-Received: by 2002:a25:6d7:0:b0:7c9:a46a:5c8e with SMTP id
206-20020a2506d7000000b007c9a46a5c8emr3430529ybg.362.1674828893837; Fri, 27
Jan 2023 06:14:53 -0800 (PST)
Path: i2pn2.org!i2pn.org!usenet.blueworldhosting.com!feed1.usenet.blueworldhosting.com!peer02.iad!feed-me.highwinds-media.com!news.highwinds-media.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.unix.shell
Date: Fri, 27 Jan 2023 06:14:53 -0800 (PST)
In-Reply-To: <slrntt7b2p.lv0h.BitTwister@wb.home.arpa>
Injection-Info: google-groups.googlegroups.com; posting-host=60.249.28.132; posting-account=kF0ZaAoAAACPbiK5gldhAyX5qTd3krV2
NNTP-Posting-Host: 60.249.28.132
References: <effab43f-f856-4d8e-8554-cf8e4731c47en@googlegroups.com>
<slrntt42v6.176b.BitTwister@wb.home.arpa> <dce84b69-c48e-4309-8b25-b05d44adeec9n@googlegroups.com>
<slrntt51c0.a9vo.BitTwister@wb.home.arpa> <5ae93e9a-0c77-45f0-8202-a10bdcf3bbdfn@googlegroups.com>
<slrntt6gfa.cl2l.BitTwister@wb.home.arpa> <b1050002-88c7-4302-963e-f2feeae4e7c5n@googlegroups.com>
<slrntt7b2p.lv0h.BitTwister@wb.home.arpa>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <9d373ee3-c246-4e8a-8acd-48ec9f464373n@googlegroups.com>
Subject: Re: Save all the detailed sourced files information and the errors
during the logging process.
From: hongyi.zhao@gmail.com (hongy...@gmail.com)
Injection-Date: Fri, 27 Jan 2023 14:14:54 +0000
Content-Type: text/plain; charset="UTF-8"
X-Received-Bytes: 3422
 by: hongy...@gmail.com - Fri, 27 Jan 2023 14:14 UTC

On Friday, January 27, 2023 at 6:50:08 PM UTC+8, Bit Twister wrote:
> On Fri, 27 Jan 2023 00:35:24 -0800 (PST), hongy...@gmail.com wrote:
> > On Friday, January 27, 2023 at 11:16:01 AM UTC+8, Bit Twister wrote:
> >> On Thu, 26 Jan 2023 19:09:46 -0800 (PST), hongy...@gmail.com wrote:
> >> > On Thursday, January 26, 2023 at 9:52:05 PM UTC+8, Bit Twister wrote:
> >> >> On Wed, 25 Jan 2023 23:17:06 -0800 (PST), hongy...@gmail.com wrote:
> >>
> >> >> For you, I suggest anytime you make any login script change is to
> >> >> su - junk and very there are no problems.
> >> >
> >> > Do you mean always first test any newly added/revised script with this
> >> > account?
> >> Why not. Can not see that it take long to su -l junk and enter password.
> >
> > Agreed.
> >
> >> On my distribution, that kind of error will not let you do a gui login.
> >
> > That's the same dilemma I face here.
> >
> >> What is your procedure if you make a change and can not do a gui login?
> >
> > Fortunately, I found the following quick workaround to avoid rebooting the system for the next login attempt when the "Are you sure you want to proceed?" problem occurs:
> >
> > 1. Ctrl + Alt + F4 opens a console window, where you can log in using the username and password.
> > 2. After logging in, run the following command to restart gdm:
> >
> > $ sudo systemctl restart gdm
> >
> > 3. Then you will have the opportunity to log back in to the GUI.
> But what happens if gui does not start.

As far as the current focus question is concerned, a.k.a., "Are you sure you want to proceed?", I really didn't have observed GUI did not start again.
> Can YOU run a non gui editor to rectify your induced problem?

Only if I know what's the culprit, otherwise, I don't know what should be rectified, just as the question discussed here.

Regards,
Zhao

Re: Save all the detailed sourced files information and the errors during the logging process.

<slrntt86t6.17g6.BitTwister@wb.home.arpa>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=5961&group=comp.unix.shell#5961

  copy link   Newsgroups: comp.unix.shell
Path: i2pn2.org!i2pn.org!eternal-september.org!reader01.eternal-september.org!.POSTED!not-for-mail
From: BitTwister@mouse-potato.com (Bit Twister)
Newsgroups: comp.unix.shell
Subject: Re: Save all the detailed sourced files information and the errors
during the logging process.
Date: Fri, 27 Jan 2023 12:44:49 -0600
Organization: A noiseless patient Spider
Lines: 16
Message-ID: <slrntt86t6.17g6.BitTwister@wb.home.arpa>
References: <effab43f-f856-4d8e-8554-cf8e4731c47en@googlegroups.com>
<slrntt42v6.176b.BitTwister@wb.home.arpa>
<dce84b69-c48e-4309-8b25-b05d44adeec9n@googlegroups.com>
<slrntt51c0.a9vo.BitTwister@wb.home.arpa>
<5ae93e9a-0c77-45f0-8202-a10bdcf3bbdfn@googlegroups.com>
<slrntt6gfa.cl2l.BitTwister@wb.home.arpa>
<b1050002-88c7-4302-963e-f2feeae4e7c5n@googlegroups.com>
<slrntt7b2p.lv0h.BitTwister@wb.home.arpa>
<9d373ee3-c246-4e8a-8acd-48ec9f464373n@googlegroups.com>
Injection-Info: reader01.eternal-september.org; posting-host="e268e2064d44806965ac1f283a824fe0";
logging-data="1908931"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/fsB8wDmoN0/vXy6Ejnin0JHL+UOh9nEo="
User-Agent: slrn/pre1.0.4-6 (Linux)
Cancel-Lock: sha1:Sjoh29BnMo+USJJQbnz9y4AYoIo=
 by: Bit Twister - Fri, 27 Jan 2023 18:44 UTC

On Fri, 27 Jan 2023 06:14:53 -0800 (PST), hongy...@gmail.com wrote:
> On Friday, January 27, 2023 at 6:50:08 PM UTC+8, Bit Twister wrote:

>> Can YOU run a non gui editor to rectify your induced problem?
>
> Only if I know what's the culprit, otherwise, I don't know what should be rectified, just as the question discussed here.

If you are modifying one of your files in the login path, I assume you have
set -u
just after the #!/bin/bash at the top of your scripts, I would expect when
you do a su - l junk you will see some bash error message.

The quest was not about what file, but can YOU run a non-gui editor?

Re: Save all the detailed sourced files information and the errors during the logging process.

<eb89317c-5b3e-4ac9-a082-4236256a311en@googlegroups.com>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=5962&group=comp.unix.shell#5962

  copy link   Newsgroups: comp.unix.shell
X-Received: by 2002:a05:620a:2608:b0:706:c53c:a238 with SMTP id z8-20020a05620a260800b00706c53ca238mr2254088qko.498.1674867460752;
Fri, 27 Jan 2023 16:57:40 -0800 (PST)
X-Received: by 2002:a25:8045:0:b0:80b:b0c4:7a09 with SMTP id
a5-20020a258045000000b0080bb0c47a09mr884042ybn.568.1674867460571; Fri, 27 Jan
2023 16:57:40 -0800 (PST)
Path: i2pn2.org!i2pn.org!usenet.blueworldhosting.com!feed1.usenet.blueworldhosting.com!peer01.iad!feed-me.highwinds-media.com!news.highwinds-media.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.unix.shell
Date: Fri, 27 Jan 2023 16:57:40 -0800 (PST)
In-Reply-To: <slrntt86t6.17g6.BitTwister@wb.home.arpa>
Injection-Info: google-groups.googlegroups.com; posting-host=103.149.249.17; posting-account=kF0ZaAoAAACPbiK5gldhAyX5qTd3krV2
NNTP-Posting-Host: 103.149.249.17
References: <effab43f-f856-4d8e-8554-cf8e4731c47en@googlegroups.com>
<slrntt42v6.176b.BitTwister@wb.home.arpa> <dce84b69-c48e-4309-8b25-b05d44adeec9n@googlegroups.com>
<slrntt51c0.a9vo.BitTwister@wb.home.arpa> <5ae93e9a-0c77-45f0-8202-a10bdcf3bbdfn@googlegroups.com>
<slrntt6gfa.cl2l.BitTwister@wb.home.arpa> <b1050002-88c7-4302-963e-f2feeae4e7c5n@googlegroups.com>
<slrntt7b2p.lv0h.BitTwister@wb.home.arpa> <9d373ee3-c246-4e8a-8acd-48ec9f464373n@googlegroups.com>
<slrntt86t6.17g6.BitTwister@wb.home.arpa>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <eb89317c-5b3e-4ac9-a082-4236256a311en@googlegroups.com>
Subject: Re: Save all the detailed sourced files information and the errors
during the logging process.
From: hongyi.zhao@gmail.com (hongy...@gmail.com)
Injection-Date: Sat, 28 Jan 2023 00:57:40 +0000
Content-Type: text/plain; charset="UTF-8"
X-Received-Bytes: 2404
 by: hongy...@gmail.com - Sat, 28 Jan 2023 00:57 UTC

On Saturday, January 28, 2023 at 2:44:59 AM UTC+8, Bit Twister wrote:
> On Fri, 27 Jan 2023 06:14:53 -0800 (PST), hongy...@gmail.com wrote:
> > On Friday, January 27, 2023 at 6:50:08 PM UTC+8, Bit Twister wrote:
>
> >> Can YOU run a non gui editor to rectify your induced problem?
> >
> > Only if I know what's the culprit, otherwise, I don't know what should be rectified, just as the question discussed here.
> If you are modifying one of your files in the login path, I assume you have
> set -u
> just after the #!/bin/bash at the top of your scripts, I would expect when
> you do a su - l junk you will see some bash error message.

Thank you for this tip.
> The quest was not about what file, but can YOU run a non-gui editor?

Yes. I can.

Re: Save all the detailed sourced files information and the errors during the logging process.

<tr6p05$2u6i0$1@dont-email.me>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=5963&group=comp.unix.shell#5963

  copy link   Newsgroups: comp.unix.shell
Path: i2pn2.org!i2pn.org!eternal-september.org!reader01.eternal-september.org!.POSTED!not-for-mail
From: jerry@example.invalid (Jerry Peters)
Newsgroups: comp.unix.shell
Subject: Re: Save all the detailed sourced files information and the errors during the logging process.
Date: Sun, 29 Jan 2023 21:38:13 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 24
Message-ID: <tr6p05$2u6i0$1@dont-email.me>
References: <effab43f-f856-4d8e-8554-cf8e4731c47en@googlegroups.com> <slrntt42v6.176b.BitTwister@wb.home.arpa> <dce84b69-c48e-4309-8b25-b05d44adeec9n@googlegroups.com> <slrntt51c0.a9vo.BitTwister@wb.home.arpa> <5ae93e9a-0c77-45f0-8202-a10bdcf3bbdfn@googlegroups.com> <slrntt6gfa.cl2l.BitTwister@wb.home.arpa>
Injection-Date: Sun, 29 Jan 2023 21:38:13 -0000 (UTC)
Injection-Info: reader01.eternal-september.org; posting-host="47cb0100c83abf64d1479940f2f07910";
logging-data="3086912"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19y+BJK2C7Jh5Xl6yLOWbC2MeP28SLyWuY="
User-Agent: tin/2.4.5-20201224 ("Glen Albyn") (Linux/5.10.157 (x86_64))
Cancel-Lock: sha1:U2GWFvWhdWM9w3ZgTrVyb6l+Ew4=
 by: Jerry Peters - Sun, 29 Jan 2023 21:38 UTC

Bit Twister <BitTwister@mouse-potato.com> wrote:
> On Thu, 26 Jan 2023 19:09:46 -0800 (PST), hongy...@gmail.com wrote:
>> On Thursday, January 26, 2023 at 9:52:05 PM UTC+8, Bit Twister wrote:
>>> On Wed, 25 Jan 2023 23:17:06 -0800 (PST), hongy...@gmail.com wrote:
>
>>> For you, I suggest anytime you make any login script change is to
>>> su - junk and very there are no problems.
>>
>> Do you mean always first test any newly added/revised script with this
>> account?
>
> Why not. Can not see that it take long to su -l junk and enter password.
>
> On my distribution, that kind of error will not let you do a gui login.
>
>
> What is your procedure if you make a change and can not do a gui login?

I run a second X server, when I make changes I test by switching to it
& logging in. Most likely, if login fails, it's the change I just made.
I also use it to test changes to my FVWM configuration to see if I
like them.

Jerry

Re: Save all the detailed sourced files information and the errors during the logging process.

<c35fad5f-9c96-410d-919d-873b7342eca8n@googlegroups.com>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=5964&group=comp.unix.shell#5964

  copy link   Newsgroups: comp.unix.shell
X-Received: by 2002:ac8:6903:0:b0:3b6:2cdc:81f1 with SMTP id bt3-20020ac86903000000b003b62cdc81f1mr2367183qtb.315.1675042459002;
Sun, 29 Jan 2023 17:34:19 -0800 (PST)
X-Received: by 2002:a25:e6d5:0:b0:801:da8:f41d with SMTP id
d204-20020a25e6d5000000b008010da8f41dmr4069637ybh.634.1675042458804; Sun, 29
Jan 2023 17:34:18 -0800 (PST)
Path: i2pn2.org!i2pn.org!usenet.blueworldhosting.com!feed1.usenet.blueworldhosting.com!peer01.iad!feed-me.highwinds-media.com!news.highwinds-media.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.unix.shell
Date: Sun, 29 Jan 2023 17:34:18 -0800 (PST)
In-Reply-To: <n2r4thtqhb1lm61vtndf5ipfebb2rvhh47@dim53.demon.nl>
Injection-Info: google-groups.googlegroups.com; posting-host=103.149.249.34; posting-account=kF0ZaAoAAACPbiK5gldhAyX5qTd3krV2
NNTP-Posting-Host: 103.149.249.34
References: <effab43f-f856-4d8e-8554-cf8e4731c47en@googlegroups.com>
<slrntt42v6.176b.BitTwister@wb.home.arpa> <dce84b69-c48e-4309-8b25-b05d44adeec9n@googlegroups.com>
<n2r4thtqhb1lm61vtndf5ipfebb2rvhh47@dim53.demon.nl>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <c35fad5f-9c96-410d-919d-873b7342eca8n@googlegroups.com>
Subject: Re: Save all the detailed sourced files information and the errors
during the logging process.
From: hongyi.zhao@gmail.com (hongy...@gmail.com)
Injection-Date: Mon, 30 Jan 2023 01:34:18 +0000
Content-Type: text/plain; charset="UTF-8"
X-Received-Bytes: 2424
 by: hongy...@gmail.com - Mon, 30 Jan 2023 01:34 UTC

On Thursday, January 26, 2023 at 8:12:15 PM UTC+8, Kees Nuyt wrote:
> On Wed, 25 Jan 2023 23:17:06 -0800 (PST), "hongy...@gmail.com"
> <hongy...@gmail.com> wrote:
>
> [...]
> >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
> [...]
>
> Binay search will take just a few tries.
> Move half of the scripts in ~/.profile.d/ somewhere where they
> will not run.
> Try again.
> - No error: the problem was in the half you moved away
> - Still error: the problem was in the half you did not move
>
> Proceed by activating half of the set of scripts that has the
> problem.
> Repeat until the size of the set is one script.

I've tried out the above method, and find that the "Are you sure you want to proceed?" problem is not caused by any scripts located under ~/.profile.d/. So what should I do for further examination?

> --
> Kees Nuyt
Zhao

Re: Save all the detailed sourced files information and the errors during the logging process.

<qt3fth1t59p0en48r4mmf808vinf9er5ai@dim53.demon.nl>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=5967&group=comp.unix.shell#5967

  copy link   Newsgroups: comp.unix.shell
From: k.nuyt@nospam.demon.nl (Kees Nuyt)
Newsgroups: comp.unix.shell
Subject: Re: Save all the detailed sourced files information and the errors during the logging process.
Date: Mon, 30 Jan 2023 10:42:04 +0100
Reply-To: k.nuyt@nospam.demon.nl
Message-ID: <qt3fth1t59p0en48r4mmf808vinf9er5ai@dim53.demon.nl>
References: <effab43f-f856-4d8e-8554-cf8e4731c47en@googlegroups.com> <slrntt42v6.176b.BitTwister@wb.home.arpa> <dce84b69-c48e-4309-8b25-b05d44adeec9n@googlegroups.com> <n2r4thtqhb1lm61vtndf5ipfebb2rvhh47@dim53.demon.nl> <c35fad5f-9c96-410d-919d-873b7342eca8n@googlegroups.com>
User-Agent: ForteAgent/7.10.32.1214
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Organization: KPN B.V.
Path: i2pn2.org!i2pn.org!weretis.net!feeder8.news.weretis.net!newsreader4.netcologne.de!news.netcologne.de!peer02.ams1!peer.ams1.xlned.com!news.xlned.com!peer01.ams4!peer.am4.highwinds-media.com!news.highwinds-media.com!feed.abavia.com!abe006.abavia.com!abp001.abavia.com!news.kpn.nl!not-for-mail
Lines: 14
Injection-Date: Mon, 30 Jan 2023 10:42:05 +0100
Injection-Info: news.kpn.nl; mail-complaints-to="abuse@kpn.com"
X-Received-Bytes: 1517
 by: Kees Nuyt - Mon, 30 Jan 2023 09:42 UTC

On Sun, 29 Jan 2023 17:34:18 -0800 (PST), "hongy...@gmail.com"
<hongyi.zhao@gmail.com> wrote:

> I've tried out the above method, and find that the
> "Are you sure you want to proceed?" problem is not
> caused by any scripts located under ~/.profile.d/. So
> what should I do for further examination?

Continue with the scripts in /etc/profile.d/ , and
and ~/.xxxxxx scripts, like .bashrc and .profile,
and any GUI equivalents of those.
--
Kees Nuyt

Re: Save all the detailed sourced files information and the errors during the logging process.

<263ce7f2-0d30-45a6-8b50-d2ea6cb443c5n@googlegroups.com>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=5975&group=comp.unix.shell#5975

  copy link   Newsgroups: comp.unix.shell
X-Received: by 2002:a05:622a:1489:b0:3b6:3221:945 with SMTP id t9-20020a05622a148900b003b632210945mr39920qtx.399.1675209972305;
Tue, 31 Jan 2023 16:06:12 -0800 (PST)
X-Received: by 2002:a25:bd12:0:b0:80f:565e:8018 with SMTP id
f18-20020a25bd12000000b0080f565e8018mr123330ybk.66.1675209972069; Tue, 31 Jan
2023 16:06:12 -0800 (PST)
Path: i2pn2.org!i2pn.org!weretis.net!feeder8.news.weretis.net!proxad.net!feeder1-2.proxad.net!209.85.160.216.MISMATCH!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.unix.shell
Date: Tue, 31 Jan 2023 16:06:11 -0800 (PST)
In-Reply-To: <qt3fth1t59p0en48r4mmf808vinf9er5ai@dim53.demon.nl>
Injection-Info: google-groups.googlegroups.com; posting-host=103.149.249.34; posting-account=kF0ZaAoAAACPbiK5gldhAyX5qTd3krV2
NNTP-Posting-Host: 103.149.249.34
References: <effab43f-f856-4d8e-8554-cf8e4731c47en@googlegroups.com>
<slrntt42v6.176b.BitTwister@wb.home.arpa> <dce84b69-c48e-4309-8b25-b05d44adeec9n@googlegroups.com>
<n2r4thtqhb1lm61vtndf5ipfebb2rvhh47@dim53.demon.nl> <c35fad5f-9c96-410d-919d-873b7342eca8n@googlegroups.com>
<qt3fth1t59p0en48r4mmf808vinf9er5ai@dim53.demon.nl>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <263ce7f2-0d30-45a6-8b50-d2ea6cb443c5n@googlegroups.com>
Subject: Re: Save all the detailed sourced files information and the errors
during the logging process.
From: hongyi.zhao@gmail.com (hongy...@gmail.com)
Injection-Date: Wed, 01 Feb 2023 00:06:12 +0000
Content-Type: text/plain; charset="UTF-8"
 by: hongy...@gmail.com - Wed, 1 Feb 2023 00:06 UTC

On Monday, January 30, 2023 at 5:42:13 PM UTC+8, Kees Nuyt wrote:
> On Sun, 29 Jan 2023 17:34:18 -0800 (PST), "hongy...@gmail.com"
> <hongy...@gmail.com> wrote:
>
> > I've tried out the above method, and find that the
> > "Are you sure you want to proceed?" problem is not
> > caused by any scripts located under ~/.profile.d/. So
> > what should I do for further examination?
> Continue with the scripts in /etc/profile.d/ , and
> and ~/.xxxxxx scripts, like .bashrc and .profile,
> and any GUI equivalents of those.

In my case, it seems that all stuff under /etc/profile.d/, and in .bashrc or .profile are not the culprits. And I've the following ~/.xxxxxx scripts:

werner@X10DAi:~$ find -L . -maxdepth 1 -mindepth 1 -xtype l -name '.*'
../.bashrc
../.newsrc
../.newsrc.eld
../.gprc
../.tclshrc
../.gnus.el
../.git
../.zshrc
werner@X10DAi:~$ find . -maxdepth 1 -mindepth 1 -type f -name '.*'
../.sys1og.conf
../.pypirc
../.xdvirc
../.zlua
../.sudo_as_admin_successful
../.bash_history
../.wget-hsts
../.pmgrc.yaml
../.latexmkrc
../.profile
../.gap_hist
../.gp_history
../.ripgreprc
../.emacs-w3m.el
../.condarc
../.lesshst
../.python_history
../.gitconfig
../.xinputrc

However, not all of them will be sourced by the login process. So how should I further focus on some of them?

> --
> Kees Nuyt
Zhao

Re: Save all the detailed sourced files information and the errors during the logging process.

<142fa779-89cc-483b-b264-6883b6afedben@googlegroups.com>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=5977&group=comp.unix.shell#5977

  copy link   Newsgroups: comp.unix.shell
X-Received: by 2002:ac8:7e8e:0:b0:3b6:3a22:812c with SMTP id w14-20020ac87e8e000000b003b63a22812cmr2012807qtj.96.1675597282618;
Sun, 05 Feb 2023 03:41:22 -0800 (PST)
X-Received: by 2002:a81:6ed7:0:b0:50e:79ff:776e with SMTP id
j206-20020a816ed7000000b0050e79ff776emr1855981ywc.206.1675597282388; Sun, 05
Feb 2023 03:41:22 -0800 (PST)
Path: i2pn2.org!i2pn.org!usenet.blueworldhosting.com!feed1.usenet.blueworldhosting.com!peer03.iad!feed-me.highwinds-media.com!news.highwinds-media.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.unix.shell
Date: Sun, 5 Feb 2023 03:41:22 -0800 (PST)
In-Reply-To: <c35fad5f-9c96-410d-919d-873b7342eca8n@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=103.149.249.17; posting-account=kF0ZaAoAAACPbiK5gldhAyX5qTd3krV2
NNTP-Posting-Host: 103.149.249.17
References: <effab43f-f856-4d8e-8554-cf8e4731c47en@googlegroups.com>
<slrntt42v6.176b.BitTwister@wb.home.arpa> <dce84b69-c48e-4309-8b25-b05d44adeec9n@googlegroups.com>
<n2r4thtqhb1lm61vtndf5ipfebb2rvhh47@dim53.demon.nl> <c35fad5f-9c96-410d-919d-873b7342eca8n@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <142fa779-89cc-483b-b264-6883b6afedben@googlegroups.com>
Subject: Re: Save all the detailed sourced files information and the errors
during the logging process.
From: hongyi.zhao@gmail.com (hongy...@gmail.com)
Injection-Date: Sun, 05 Feb 2023 11:41:22 +0000
Content-Type: text/plain; charset="UTF-8"
X-Received-Bytes: 3044
 by: hongy...@gmail.com - Sun, 5 Feb 2023 11:41 UTC

On Monday, January 30, 2023 at 9:34:21 AM UTC+8, hongy...@gmail.com wrote:
> On Thursday, January 26, 2023 at 8:12:15 PM UTC+8, Kees Nuyt wrote:
> > On Wed, 25 Jan 2023 23:17:06 -0800 (PST), "hongy...@gmail.com"
> > <hongy...@gmail.com> wrote:
> >
> > [...]
> > >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
> > [...]
> >
> > Binay search will take just a few tries.
> > Move half of the scripts in ~/.profile.d/ somewhere where they
> > will not run.
> > Try again.
> > - No error: the problem was in the half you moved away
> > - Still error: the problem was in the half you did not move
> >
> > Proceed by activating half of the set of scripts that has the
> > problem.
> > Repeat until the size of the set is one script.
> I've tried out the above method, and find that the "Are you sure you want to proceed?" problem is not caused by any scripts located under ~/.profile.d/. So what should I do for further examination?

Finally, it turns out that the problem is caused by a bug of a Ubuntu patch and the incorrect settings in my initialization scripts. See the following links for more details:

https://git.launchpad.net/ubuntu/+source/gdm3/tree/debian/patches/ubuntu/config_error_dialog.patch
https://bugs.launchpad.net/ubuntu/+source/gdm3/+bug/2005135
https://discourse.gnome.org/t/are-you-sure-you-want-to-proceed-message-on-login/13758/7

> > --
> > Kees Nuyt
> Zhao

Re: Save all the detailed sourced files information and the errors during the logging process.

<3fc55d23-a2ed-4ff2-87f5-824021d90f7dn@googlegroups.com>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=5984&group=comp.unix.shell#5984

  copy link   Newsgroups: comp.unix.shell
X-Received: by 2002:ae9:e90e:0:b0:70d:cda:a6e7 with SMTP id x14-20020ae9e90e000000b0070d0cdaa6e7mr1243058qkf.57.1675676443140;
Mon, 06 Feb 2023 01:40:43 -0800 (PST)
X-Received: by 2002:a81:e704:0:b0:483:3c9b:37d6 with SMTP id
x4-20020a81e704000000b004833c9b37d6mr2029044ywl.382.1675676442878; Mon, 06
Feb 2023 01:40:42 -0800 (PST)
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!news.misty.com!border-2.nntp.ord.giganews.com!nntp.giganews.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.unix.shell
Date: Mon, 6 Feb 2023 01:40:42 -0800 (PST)
In-Reply-To: <slrntt51c0.a9vo.BitTwister@wb.home.arpa>
Injection-Info: google-groups.googlegroups.com; posting-host=103.149.248.28; posting-account=kF0ZaAoAAACPbiK5gldhAyX5qTd3krV2
NNTP-Posting-Host: 103.149.248.28
References: <effab43f-f856-4d8e-8554-cf8e4731c47en@googlegroups.com>
<slrntt42v6.176b.BitTwister@wb.home.arpa> <dce84b69-c48e-4309-8b25-b05d44adeec9n@googlegroups.com>
<slrntt51c0.a9vo.BitTwister@wb.home.arpa>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <3fc55d23-a2ed-4ff2-87f5-824021d90f7dn@googlegroups.com>
Subject: Re: Save all the detailed sourced files information and the errors
during the logging process.
From: hongyi.zhao@gmail.com (hongy...@gmail.com)
Injection-Date: Mon, 06 Feb 2023 09:40:43 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
Lines: 50
 by: hongy...@gmail.com - Mon, 6 Feb 2023 09:40 UTC

On Thursday, January 26, 2023 at 9:52:05 PM UTC+8, Bit Twister wrote:
> On Wed, 25 Jan 2023 23:17:06 -0800 (PST), hongy...@gmail.com wrote:
>
> > 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.
> I suggest creating a test account, say junk. Log out of hongyi and into junk.
> If junk has the same problem as hongyi you know it is a system wide problem.
> If junk does not have the problem then you know it is a user (hongyi) problem.
>
> You can test the login process from either account by logging into the
> other user account by clicking up a terminal and doing
> su - junk
> from a hongyi terminal or su - hongyi from a junk terminal, depending
> on who you want to test.
>
> For you, I suggest anytime you make any login script change is to
> su - junk and very there are no problems.

According to the above suggestions, I conducted the following test:

werner@X10DAi:~$ sudo useradd test
werner@X10DAi:~$ sudo passwd test # Set the pw as: asdf1234
werner@X10DAi:~$ sudo usermod -d /home/test -s /bin/bash test
werner@X10DAi:~$ sudo mkdir /home/test

# This time, the problem discussed here doesn't appear again:
werner@X10DAi:~$ su - test
Password:
test@X10DAi:~$

So, I tried to login back as follows and the problem appeared once more:

test@X10DAi:~$ su - werner
Password:
terminate called after throwing an instance of 'std::runtime_error'
what(): Failed to create dbus connection
xhost: unable to open display ""
dirname: invalid option -- 'b'
Try 'dirname --help' for more information.
readlink: invalid option -- 'b'
Try 'readlink --help' for more information.

Any tips for further debugging?

Regards,
Zhao

Re: Save all the detailed sourced files information and the errors during the logging process.

<lo22uh9errkg2jjbdgnek05dv32u5jb0sp@dim53.demon.nl>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=5985&group=comp.unix.shell#5985

  copy link   Newsgroups: comp.unix.shell
From: k.nuyt@nospam.demon.nl (Kees Nuyt)
Newsgroups: comp.unix.shell
Subject: Re: Save all the detailed sourced files information and the errors during the logging process.
Date: Mon, 06 Feb 2023 15:14:51 +0100
Reply-To: k.nuyt@nospam.demon.nl
Message-ID: <lo22uh9errkg2jjbdgnek05dv32u5jb0sp@dim53.demon.nl>
References: <effab43f-f856-4d8e-8554-cf8e4731c47en@googlegroups.com> <slrntt42v6.176b.BitTwister@wb.home.arpa> <dce84b69-c48e-4309-8b25-b05d44adeec9n@googlegroups.com> <n2r4thtqhb1lm61vtndf5ipfebb2rvhh47@dim53.demon.nl> <c35fad5f-9c96-410d-919d-873b7342eca8n@googlegroups.com> <142fa779-89cc-483b-b264-6883b6afedben@googlegroups.com>
User-Agent: ForteAgent/7.10.32.1214
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Organization: KPN B.V.
Path: i2pn2.org!i2pn.org!weretis.net!feeder8.news.weretis.net!newsreader4.netcologne.de!news.netcologne.de!peer02.ams1!peer.ams1.xlned.com!news.xlned.com!peer03.ams4!peer.am4.highwinds-media.com!news.highwinds-media.com!feed.abavia.com!abe005.abavia.com!abp001.abavia.com!news.kpn.nl!not-for-mail
Lines: 11
Injection-Date: Mon, 06 Feb 2023 15:14:53 +0100
Injection-Info: news.kpn.nl; mail-complaints-to="abuse@kpn.com"
X-Received-Bytes: 1398
 by: Kees Nuyt - Mon, 6 Feb 2023 14:14 UTC

On Sun, 5 Feb 2023 03:41:22 -0800 (PST), "hongy...@gmail.com"
<hongyi.zhao@gmail.com> wrote:

> Finally, it turns out that the problem is caused by a bug
> of a Ubuntu patch and the incorrect settings in my
> initialization scripts.

I'm glad you could solve it.
--
Kees Nuyt

Re: Save all the detailed sourced files information and the errors during the logging process.

<468d65bc-f204-4958-a343-a13495f78607n@googlegroups.com>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=5986&group=comp.unix.shell#5986

  copy link   Newsgroups: comp.unix.shell
X-Received: by 2002:ac8:5bd5:0:b0:3ba:138f:7b3f with SMTP id b21-20020ac85bd5000000b003ba138f7b3fmr252751qtb.376.1675735347099;
Mon, 06 Feb 2023 18:02:27 -0800 (PST)
X-Received: by 2002:a25:9f11:0:b0:866:8b90:69c3 with SMTP id
n17-20020a259f11000000b008668b9069c3mr173990ybq.634.1675735346735; Mon, 06
Feb 2023 18:02:26 -0800 (PST)
Path: i2pn2.org!i2pn.org!usenet.blueworldhosting.com!feed1.usenet.blueworldhosting.com!peer02.iad!feed-me.highwinds-media.com!news.highwinds-media.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.unix.shell
Date: Mon, 6 Feb 2023 18:02:26 -0800 (PST)
In-Reply-To: <lo22uh9errkg2jjbdgnek05dv32u5jb0sp@dim53.demon.nl>
Injection-Info: google-groups.googlegroups.com; posting-host=103.149.249.37; posting-account=kF0ZaAoAAACPbiK5gldhAyX5qTd3krV2
NNTP-Posting-Host: 103.149.249.37
References: <effab43f-f856-4d8e-8554-cf8e4731c47en@googlegroups.com>
<slrntt42v6.176b.BitTwister@wb.home.arpa> <dce84b69-c48e-4309-8b25-b05d44adeec9n@googlegroups.com>
<n2r4thtqhb1lm61vtndf5ipfebb2rvhh47@dim53.demon.nl> <c35fad5f-9c96-410d-919d-873b7342eca8n@googlegroups.com>
<142fa779-89cc-483b-b264-6883b6afedben@googlegroups.com> <lo22uh9errkg2jjbdgnek05dv32u5jb0sp@dim53.demon.nl>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <468d65bc-f204-4958-a343-a13495f78607n@googlegroups.com>
Subject: Re: Save all the detailed sourced files information and the errors
during the logging process.
From: hongyi.zhao@gmail.com (hongy...@gmail.com)
Injection-Date: Tue, 07 Feb 2023 02:02:27 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Received-Bytes: 3633
 by: hongy...@gmail.com - Tue, 7 Feb 2023 02:02 UTC

On Monday, February 6, 2023 at 10:15:00 PM UTC+8, Kees Nuyt wrote:
> On Sun, 5 Feb 2023 03:41:22 -0800 (PST), "hongy...@gmail.com"
> <hongy...@gmail.com> wrote:
>
> > Finally, it turns out that the problem is caused by a bug
> > of a Ubuntu patch and the incorrect settings in my
> > initialization scripts.
> I'm glad you could solve it.

But Gunnar Hjalmarsson <2005135@bugs.launchpad.net> gives the alternative maybe nicer solution *:

--- begin quote ---
Gunnar Hjalmarsson (gunnarhj) wrote on 2020-07-12: #2

Second thoughts...

The --no-markup option prevents zenity from interpreting \n which makes the dialog hard to read in most cases. So only adding --no-markup is not a viable solution.

As a possible alternative I played with sed() a bit. The script includes this line:

TEXT="$PARA1\n\n$(fold -s $ERR)\n\n$PARA2"

My thought is to add a new line right after that. Something along these lines:

TEXT=$(printf '%s' "$TEXT" | sed 's/</\&lt;/g')

which would replace all occurrences of '<' with '&lt;'. Can you please test that and see if it helps in your case.
Changed in gdm3 (Ubuntu):
status: In Progress → Incomplete
Changed in lightdm (Ubuntu):
status: In Progress → Incomplete
summary: - lightdm config-error-dialog.sh should pass --no-markup
+ config-error-dialog.sh should pass --no-markup
--- end quote ---

Below is my comment on the above method:

--- begin quote ---
Thank you for letting me know your alternative nice solution. But
there are so many HTML Character Entities [1-2]. How does your method
deal with all these possible situations?

[1] https://www.w3schools.com/HTML/html_entities.asp
[2] https://stackoverflow.com/questions/5068951/what-do-lt-and-gt-stand-for
--- end quote ---

Any more comments, suggestions, and alternative enhancements for fixing this bug gracefully and thoroughly will be greatly appreciated.

* https://bugs.launchpad.net/ubuntu/+source/lightdm/+bug/1887252
> --
> Kees Nuyt

Regards,
Zhao

Re: Save all the detailed sourced files information and the errors during the logging process.

<slrntu6214.fs4o.BitTwister@wb.home.arpa>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=5988&group=comp.unix.shell#5988

  copy link   Newsgroups: comp.unix.shell
Path: i2pn2.org!i2pn.org!eternal-september.org!reader01.eternal-september.org!.POSTED!not-for-mail
From: BitTwister@mouse-potato.com (Bit Twister)
Newsgroups: comp.unix.shell
Subject: Re: Save all the detailed sourced files information and the errors
during the logging process.
Date: Tue, 7 Feb 2023 20:25:26 -0600
Organization: A noiseless patient Spider
Lines: 66
Message-ID: <slrntu6214.fs4o.BitTwister@wb.home.arpa>
References: <effab43f-f856-4d8e-8554-cf8e4731c47en@googlegroups.com>
<slrntt42v6.176b.BitTwister@wb.home.arpa>
<dce84b69-c48e-4309-8b25-b05d44adeec9n@googlegroups.com>
<slrntt51c0.a9vo.BitTwister@wb.home.arpa>
<3fc55d23-a2ed-4ff2-87f5-824021d90f7dn@googlegroups.com>
Injection-Info: reader01.eternal-september.org; posting-host="b5c411336740ba9d823ac9abb9cadfc7";
logging-data="4169183"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+VNZSh5wtSH9bxF+2DNs3cuExKxWMde68="
User-Agent: slrn/pre1.0.4-6 (Linux)
Cancel-Lock: sha1:aqui2KQRkXfdWXR+cRdjVlVD+RU=
 by: Bit Twister - Wed, 8 Feb 2023 02:25 UTC

On Mon, 6 Feb 2023 01:40:42 -0800 (PST), hongy...@gmail.com wrote:
> On Thursday, January 26, 2023 at 9:52:05 PM UTC+8, Bit Twister wrote:
>> On Wed, 25 Jan 2023 23:17:06 -0800 (PST), hongy...@gmail.com wrote:
>>
>> > 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.
>> I suggest creating a test account, say junk. Log out of hongyi and into junk.
>> If junk has the same problem as hongyi you know it is a system wide problem.
>> If junk does not have the problem then you know it is a user (hongyi) problem.
>>
>> You can test the login process from either account by logging into the
>> other user account by clicking up a terminal and doing
>> su - junk
>> from a hongyi terminal or su - hongyi from a junk terminal, depending
>> on who you want to test.
>>
>> For you, I suggest anytime you make any login script change is to
>> su - junk and very there are no problems.
>
> According to the above suggestions, I conducted the following test:
>
> werner@X10DAi:~$ sudo useradd test
> werner@X10DAi:~$ sudo passwd test # Set the pw as: asdf1234
> werner@X10DAi:~$ sudo usermod -d /home/test -s /bin/bash test
> werner@X10DAi:~$ sudo mkdir /home/test
>
> # This time, the problem discussed here doesn't appear again:
> werner@X10DAi:~$ su - test
> Password:
> test@X10DAi:~$
>
> So, I tried to login back as follows and the problem appeared once more:
>
> test@X10DAi:~$ su - werner
> Password:
> terminate called after throwing an instance of 'std::runtime_error'
> what(): Failed to create dbus connection
> xhost: unable to open display ""
> dirname: invalid option -- 'b'
> Try 'dirname --help' for more information.
> readlink: invalid option -- 'b'
> Try 'readlink --help' for more information.
>su - werner
> Any tips for further debugging?

if su - test works and su - werner failed
then some script executed by werner login is failing.

No idea why

Message about dirname and readlink aught to be fixed.

Apparently you are running some script executing those instructions that
test does not execute.

By the way, after spending years as an maintenance programmer I found it beneficial
to fix any errors I find even if I believe they have no bearing on the problem
I am trying to fix.

For your xhost problem I would need to see the xhost command. Looking through my
host xx__local.sh script I have
# grep xhost xx__local.sh
/local/bin/set_xhost +"$(hostname --fqdn)"
/local/bin/set_xhost +localhost >
xhost +local:docker

You may want to consider install/using shellcheck to check your scripts.

Re: Save all the detailed sourced files information and the errors during the logging process.

<178f3f16-b349-4c88-88d8-7c7895b8e8f7n@googlegroups.com>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=5989&group=comp.unix.shell#5989

  copy link   Newsgroups: comp.unix.shell
X-Received: by 2002:ae9:ed8c:0:b0:705:b29d:c666 with SMTP id c134-20020ae9ed8c000000b00705b29dc666mr652303qkg.462.1675831569614;
Tue, 07 Feb 2023 20:46:09 -0800 (PST)
X-Received: by 2002:a25:9d86:0:b0:858:ff6a:b8b2 with SMTP id
v6-20020a259d86000000b00858ff6ab8b2mr720227ybp.422.1675831569304; Tue, 07 Feb
2023 20:46:09 -0800 (PST)
Path: i2pn2.org!i2pn.org!usenet.blueworldhosting.com!feed1.usenet.blueworldhosting.com!peer03.iad!feed-me.highwinds-media.com!news.highwinds-media.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.unix.shell
Date: Tue, 7 Feb 2023 20:46:09 -0800 (PST)
In-Reply-To: <slrntu6214.fs4o.BitTwister@wb.home.arpa>
Injection-Info: google-groups.googlegroups.com; posting-host=103.149.249.37; posting-account=kF0ZaAoAAACPbiK5gldhAyX5qTd3krV2
NNTP-Posting-Host: 103.149.249.37
References: <effab43f-f856-4d8e-8554-cf8e4731c47en@googlegroups.com>
<slrntt42v6.176b.BitTwister@wb.home.arpa> <dce84b69-c48e-4309-8b25-b05d44adeec9n@googlegroups.com>
<slrntt51c0.a9vo.BitTwister@wb.home.arpa> <3fc55d23-a2ed-4ff2-87f5-824021d90f7dn@googlegroups.com>
<slrntu6214.fs4o.BitTwister@wb.home.arpa>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <178f3f16-b349-4c88-88d8-7c7895b8e8f7n@googlegroups.com>
Subject: Re: Save all the detailed sourced files information and the errors
during the logging process.
From: hongyi.zhao@gmail.com (hongy...@gmail.com)
Injection-Date: Wed, 08 Feb 2023 04:46:09 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Received-Bytes: 5181
 by: hongy...@gmail.com - Wed, 8 Feb 2023 04:46 UTC

On Wednesday, February 8, 2023 at 10:25:47 AM UTC+8, Bit Twister wrote:
> On Mon, 6 Feb 2023 01:40:42 -0800 (PST), hongy...@gmail.com wrote:
> > On Thursday, January 26, 2023 at 9:52:05 PM UTC+8, Bit Twister wrote:
> >> On Wed, 25 Jan 2023 23:17:06 -0800 (PST), hongy...@gmail.com wrote:
> >>
> >> > 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.
> >> I suggest creating a test account, say junk. Log out of hongyi and into junk.
> >> If junk has the same problem as hongyi you know it is a system wide problem.
> >> If junk does not have the problem then you know it is a user (hongyi) problem.
> >>
> >> You can test the login process from either account by logging into the
> >> other user account by clicking up a terminal and doing
> >> su - junk
> >> from a hongyi terminal or su - hongyi from a junk terminal, depending
> >> on who you want to test.
> >>
> >> For you, I suggest anytime you make any login script change is to
> >> su - junk and very there are no problems.
> >
> > According to the above suggestions, I conducted the following test:
> >
> > werner@X10DAi:~$ sudo useradd test
> > werner@X10DAi:~$ sudo passwd test # Set the pw as: asdf1234
> > werner@X10DAi:~$ sudo usermod -d /home/test -s /bin/bash test
> > werner@X10DAi:~$ sudo mkdir /home/test
> >
> > # This time, the problem discussed here doesn't appear again:
> > werner@X10DAi:~$ su - test
> > Password:
> > test@X10DAi:~$
> >
> > So, I tried to login back as follows and the problem appeared once more:
> >
> > test@X10DAi:~$ su - werner
> > Password:
> > terminate called after throwing an instance of 'std::runtime_error'
> > what(): Failed to create dbus connection
> > xhost: unable to open display ""
> > dirname: invalid option -- 'b'
> > Try 'dirname --help' for more information.
> > readlink: invalid option -- 'b'
> > Try 'readlink --help' for more information.
> >su - werner
> > Any tips for further debugging?
> if su - test works and su - werner failed
> then some script executed by werner login is failing.
>
> No idea why
>
> Message about dirname and readlink aught to be fixed.
>
> Apparently you are running some script executing those instructions that
> test does not execute.
>
> By the way, after spending years as an maintenance programmer I found it beneficial
> to fix any errors I find even if I believe they have no bearing on the problem
> I am trying to fix.

Agreed. Nice idea!
> For your xhost problem I would need to see the xhost command. Looking through my
> host xx__local.sh script I have
> # grep xhost xx__local.sh
> /local/bin/set_xhost +"$(hostname --fqdn)"
> /local/bin/set_xhost +localhost >
> xhost +local:docker

Mine is as follows:

werner@X10DAi:~/Public/repo/github.com/bash-it/custom$ ug xhost
300-run-graphical-application-as-root-in-Wayland-session.bash: if ! xhost | grep -qE '^(LOCAL:|SI:localuser:root)'; then
300-run-graphical-application-as-root-in-Wayland-session.bash: # xhost local:
300-run-graphical-application-as-root-in-Wayland-session.bash: xhost si:localuser:root > /dev/null 2>&1
> You may want to consider install/using shellcheck to check your scripts.

Thank you for your advice.

Regards,
Zhao

Re: Save all the detailed sourced files information and the errors during the logging process.

<260c2832-9662-44d0-917b-9d26e9bcd25bn@googlegroups.com>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=5990&group=comp.unix.shell#5990

  copy link   Newsgroups: comp.unix.shell
X-Received: by 2002:ac8:5bd5:0:b0:3ba:138f:7b3f with SMTP id b21-20020ac85bd5000000b003ba138f7b3fmr1275571qtb.376.1675837635111;
Tue, 07 Feb 2023 22:27:15 -0800 (PST)
X-Received: by 2002:a0d:d58c:0:b0:52b:e712:62ef with SMTP id
x134-20020a0dd58c000000b0052be71262efmr158342ywd.58.1675837634791; Tue, 07
Feb 2023 22:27:14 -0800 (PST)
Path: i2pn2.org!i2pn.org!usenet.blueworldhosting.com!feed1.usenet.blueworldhosting.com!peer03.iad!feed-me.highwinds-media.com!news.highwinds-media.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.unix.shell
Date: Tue, 7 Feb 2023 22:27:14 -0800 (PST)
In-Reply-To: <slrntu6214.fs4o.BitTwister@wb.home.arpa>
Injection-Info: google-groups.googlegroups.com; posting-host=103.149.249.37; posting-account=kF0ZaAoAAACPbiK5gldhAyX5qTd3krV2
NNTP-Posting-Host: 103.149.249.37
References: <effab43f-f856-4d8e-8554-cf8e4731c47en@googlegroups.com>
<slrntt42v6.176b.BitTwister@wb.home.arpa> <dce84b69-c48e-4309-8b25-b05d44adeec9n@googlegroups.com>
<slrntt51c0.a9vo.BitTwister@wb.home.arpa> <3fc55d23-a2ed-4ff2-87f5-824021d90f7dn@googlegroups.com>
<slrntu6214.fs4o.BitTwister@wb.home.arpa>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <260c2832-9662-44d0-917b-9d26e9bcd25bn@googlegroups.com>
Subject: Re: Save all the detailed sourced files information and the errors
during the logging process.
From: hongyi.zhao@gmail.com (hongy...@gmail.com)
Injection-Date: Wed, 08 Feb 2023 06:27:15 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Received-Bytes: 4860
 by: hongy...@gmail.com - Wed, 8 Feb 2023 06:27 UTC

On Wednesday, February 8, 2023 at 10:25:47 AM UTC+8, Bit Twister wrote:
> On Mon, 6 Feb 2023 01:40:42 -0800 (PST), hongy...@gmail.com wrote:
> > On Thursday, January 26, 2023 at 9:52:05 PM UTC+8, Bit Twister wrote:
> >> On Wed, 25 Jan 2023 23:17:06 -0800 (PST), hongy...@gmail.com wrote:
> >>
> >> > 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.
> >> I suggest creating a test account, say junk. Log out of hongyi and into junk.
> >> If junk has the same problem as hongyi you know it is a system wide problem.
> >> If junk does not have the problem then you know it is a user (hongyi) problem.
> >>
> >> You can test the login process from either account by logging into the
> >> other user account by clicking up a terminal and doing
> >> su - junk
> >> from a hongyi terminal or su - hongyi from a junk terminal, depending
> >> on who you want to test.
> >>
> >> For you, I suggest anytime you make any login script change is to
> >> su - junk and very there are no problems.
> >
> > According to the above suggestions, I conducted the following test:
> >
> > werner@X10DAi:~$ sudo useradd test
> > werner@X10DAi:~$ sudo passwd test # Set the pw as: asdf1234
> > werner@X10DAi:~$ sudo usermod -d /home/test -s /bin/bash test
> > werner@X10DAi:~$ sudo mkdir /home/test
> >
> > # This time, the problem discussed here doesn't appear again:
> > werner@X10DAi:~$ su - test
> > Password:
> > test@X10DAi:~$
> >
> > So, I tried to login back as follows and the problem appeared once more:
> >
> > test@X10DAi:~$ su - werner
> > Password:
> > terminate called after throwing an instance of 'std::runtime_error'
> > what(): Failed to create dbus connection
> > xhost: unable to open display ""
> > dirname: invalid option -- 'b'
> > Try 'dirname --help' for more information.
> > readlink: invalid option -- 'b'
> > Try 'readlink --help' for more information.
> >su - werner
> > Any tips for further debugging?
> if su - test works and su - werner failed
> then some script executed by werner login is failing.
>
> No idea why
>
> Message about dirname and readlink aught to be fixed.
>
> Apparently you are running some script executing those instructions that
> test does not execute.
>
> By the way, after spending years as an maintenance programmer I found it beneficial
> to fix any errors I find even if I believe they have no bearing on the problem
> I am trying to fix.
>
> For your xhost problem I would need to see the xhost command. Looking through my
> host xx__local.sh script I have
> # grep xhost xx__local.sh
> /local/bin/set_xhost +"$(hostname --fqdn)"
> /local/bin/set_xhost +localhost >
> xhost +local:docker
>
> You may want to consider install/using shellcheck to check your scripts.

I wonder whether there is a similar but targeting for generating detail debug messages of startup scripts (profile, .bashrc, etc...).

Regards,
Zhao

Pages:12
server_pubkey.txt

rocksolid light 0.9.81
clearnet tor