* Id: 'weston': no such user issue Disable is required
@ 2024-11-11 6:04 sateesh m
2024-11-11 13:22 ` [yocto] " Marchini, Anthony A
2024-11-12 7:50 ` Gyorgy Sarvari
0 siblings, 2 replies; 9+ messages in thread
From: sateesh m @ 2024-11-11 6:04 UTC (permalink / raw)
To: yocto
[-- Attachment #1.1: Type: text/plain, Size: 230 bytes --]
Hi Team,
After logging into my machine, I see the error message: "Id: 'weston': no such user". However, my board doesn't have display support. I want to disable or fix this "no such user" error. Can anybody help me with this?
[-- Attachment #1.2: Type: text/html, Size: 413 bytes --]
[-- Attachment #2: Screenshot from 2024-11-11 11-30-57.png --]
[-- Type: image/png, Size: 26872 bytes --]
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [yocto] Id: 'weston': no such user issue Disable is required
2024-11-11 6:04 Id: 'weston': no such user issue Disable is required sateesh m
@ 2024-11-11 13:22 ` Marchini, Anthony A
2024-11-12 7:50 ` Gyorgy Sarvari
1 sibling, 0 replies; 9+ messages in thread
From: Marchini, Anthony A @ 2024-11-11 13:22 UTC (permalink / raw)
To: yocto@lists.yoctoproject.org, sateesh0457@gmail.com
[-- Attachment #1.1: Type: text/plain, Size: 884 bytes --]
How you tried creating a weston user in the short term?
________________________________
From: yocto@lists.yoctoproject.org <yocto@lists.yoctoproject.org> on behalf of sateesh m via lists.yoctoproject.org <sateesh0457=gmail.com@lists.yoctoproject.org>
Sent: Monday, November 11, 2024 1:04 AM
To: yocto@lists.yoctoproject.org <yocto@lists.yoctoproject.org>
Subject: [yocto] Id: 'weston': no such user issue Disable is required
You don't often get email from sateesh0457=gmail.com@lists.yoctoproject.org. Learn why this is important<https://aka.ms/LearnAboutSenderIdentification>
Hi Team,
After logging into my machine, I see the error message: "Id: 'weston': no such user". However, my board doesn't have display support. I want to disable or fix this "no such user" error. Can anybody help me with this?
[cid:attach_0_1806D4CD06FBB57C_20128@lists.yoctoproject.org]
[-- Attachment #1.2: Type: text/html, Size: 9839 bytes --]
[-- Attachment #2: Screenshot from 2024-11-11 11-30-57.png --]
[-- Type: image/png, Size: 26872 bytes --]
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [yocto] Id: 'weston': no such user issue Disable is required
2024-11-11 6:04 Id: 'weston': no such user issue Disable is required sateesh m
2024-11-11 13:22 ` [yocto] " Marchini, Anthony A
@ 2024-11-12 7:50 ` Gyorgy Sarvari
2024-11-12 14:48 ` sateesh m
1 sibling, 1 reply; 9+ messages in thread
From: Gyorgy Sarvari @ 2024-11-12 7:50 UTC (permalink / raw)
To: yocto, sateesh0457
As a first step I would check where the error is coming from: check
systemd/init scripts/units starting upon login, /etc/local.d folder,
.bashrc, and other usual suspects.
Once you have it, check which package/recipe provides that script (e.g.
"opkg search $FILE_PATH" or "dpkg -S $FILE_PATH" or whatever command
your pkg mgr is using).
Once you have the package/recipe, either remove it from the image if you
don't need it, or check in the recipe how to remove the offending commands.
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [yocto] Id: 'weston': no such user issue Disable is required
2024-11-12 7:50 ` Gyorgy Sarvari
@ 2024-11-12 14:48 ` sateesh m
2024-11-12 15:46 ` Gyorgy Sarvari
0 siblings, 1 reply; 9+ messages in thread
From: sateesh m @ 2024-11-12 14:48 UTC (permalink / raw)
To: Gyorgy Sarvari; +Cc: yocto
[-- Attachment #1: Type: text/plain, Size: 625 bytes --]
How to delete it.
Regards,
Sateesh
On Tue, 12 Nov, 2024, 1:20 pm Gyorgy Sarvari, <skandigraun@gmail.com> wrote:
> As a first step I would check where the error is coming from: check
> systemd/init scripts/units starting upon login, /etc/local.d folder,
> .bashrc, and other usual suspects.
>
> Once you have it, check which package/recipe provides that script (e.g.
> "opkg search $FILE_PATH" or "dpkg -S $FILE_PATH" or whatever command
> your pkg mgr is using).
>
> Once you have the package/recipe, either remove it from the image if you
> don't need it, or check in the recipe how to remove the offending commands.
>
>
[-- Attachment #2: Type: text/html, Size: 971 bytes --]
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [yocto] Id: 'weston': no such user issue Disable is required
2024-11-12 14:48 ` sateesh m
@ 2024-11-12 15:46 ` Gyorgy Sarvari
2024-11-12 16:11 ` sateesh m
0 siblings, 1 reply; 9+ messages in thread
From: Gyorgy Sarvari @ 2024-11-12 15:46 UTC (permalink / raw)
To: sateesh m; +Cc: yocto
On 11/12/24 15:48, sateesh m wrote:
> How to delete it.
>
> Regards,
> Sateesh
>
>
How to remove a package from an image? Remove the package name from the
IMAGE_INSTALL variable, either by deleting it explicitly, or by adding
something like 'IMAGE_INSTALL:remove = " $PACKAGE_NAME "' to your image
recipe or local.conf (or your other, favorite relevant conf file)
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [yocto] Id: 'weston': no such user issue Disable is required
2024-11-12 15:46 ` Gyorgy Sarvari
@ 2024-11-12 16:11 ` sateesh m
2024-11-12 16:25 ` Gyorgy Sarvari
0 siblings, 1 reply; 9+ messages in thread
From: sateesh m @ 2024-11-12 16:11 UTC (permalink / raw)
To: Gyorgy Sarvari; +Cc: yocto
[-- Attachment #1: Type: text/plain, Size: 652 bytes --]
Hi Sarvari,
IMAGE_INSTALL:remove = "weston weston-init"
PACKAGECONFIG:remove:weston = "init"
I did it even though I see same id: weston no such user"
Thanks & Regards,
Sateesh
On Tue, 12 Nov, 2024, 9:16 pm Gyorgy Sarvari, <skandigraun@gmail.com> wrote:
> On 11/12/24 15:48, sateesh m wrote:
> > How to delete it.
> >
> > Regards,
> > Sateesh
> >
> >
>
>
> How to remove a package from an image? Remove the package name from the
> IMAGE_INSTALL variable, either by deleting it explicitly, or by adding
> something like 'IMAGE_INSTALL:remove = " $PACKAGE_NAME "' to your image
> recipe or local.conf (or your other, favorite relevant conf file)
>
>
[-- Attachment #2: Type: text/html, Size: 1093 bytes --]
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [yocto] Id: 'weston': no such user issue Disable is required
2024-11-12 16:11 ` sateesh m
@ 2024-11-12 16:25 ` Gyorgy Sarvari
2024-11-12 16:29 ` sateesh m
0 siblings, 1 reply; 9+ messages in thread
From: Gyorgy Sarvari @ 2024-11-12 16:25 UTC (permalink / raw)
To: sateesh m; +Cc: yocto
On 11/12/24 17:11, sateesh m wrote:
> IMAGE_INSTALL:remove = "weston weston-init"
> PACKAGECONFIG:remove:weston = "init"
>
> I did it even though I see same id: weston no such user"
>
What's the name/path of the script that's emitting these errors? Are you
sure that it is provided by weston/weston-init packages?
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [yocto] Id: 'weston': no such user issue Disable is required
2024-11-12 16:25 ` Gyorgy Sarvari
@ 2024-11-12 16:29 ` sateesh m
2024-11-12 16:52 ` Gyorgy Sarvari
0 siblings, 1 reply; 9+ messages in thread
From: sateesh m @ 2024-11-12 16:29 UTC (permalink / raw)
To: Gyorgy Sarvari; +Cc: yocto
[-- Attachment #1: Type: text/plain, Size: 616 bytes --]
Hi Sarvari,
My intention if we disable weston we won't see this error.becuase I don't
need display.
Could you please help me with this. Actually I am not clear about my end.
Thanks & Regards,
Sateesh
On Tue, 12 Nov, 2024, 9:55 pm Gyorgy Sarvari, <skandigraun@gmail.com> wrote:
> On 11/12/24 17:11, sateesh m wrote:
> > IMAGE_INSTALL:remove = "weston weston-init"
> > PACKAGECONFIG:remove:weston = "init"
> >
> > I did it even though I see same id: weston no such user"
> >
>
> What's the name/path of the script that's emitting these errors? Are you
> sure that it is provided by weston/weston-init packages?
>
[-- Attachment #2: Type: text/html, Size: 1026 bytes --]
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [yocto] Id: 'weston': no such user issue Disable is required
2024-11-12 16:29 ` sateesh m
@ 2024-11-12 16:52 ` Gyorgy Sarvari
0 siblings, 0 replies; 9+ messages in thread
From: Gyorgy Sarvari @ 2024-11-12 16:52 UTC (permalink / raw)
To: sateesh m; +Cc: yocto
On 11/12/24 17:29, sateesh m wrote:
> Hi Sarvari,
>
> My intention if we disable weston we won't see this error.becuase I
> don't need display.
>
> Could you please help me with this. Actually I am not clear about my end.
>
> Thanks & Regards,
> Sateesh
>
Usually (unless someone did some extra magic with the image recipe)
weston can be removed by ensuring that "weston" is not in the
IMAGE_FEATURES variable, and "wayland" is not in DISTRO_FEATURES.
Since your system is complaining about missing weston user, it looks
like that you don't have weston installed (You can also verify that by
listing all the installed packages in your system, just to make sure.)
It just seems that you just still have something else that's expecting
weston to be installed for some reason, and complaining about it. That's
why it would be interesting to see what scripts are executed upon login,
and from them, which one is looking for weston user.
^ permalink raw reply [flat|nested] 9+ messages in thread
end of thread, other threads:[~2024-11-12 16:52 UTC | newest]
Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-11-11 6:04 Id: 'weston': no such user issue Disable is required sateesh m
2024-11-11 13:22 ` [yocto] " Marchini, Anthony A
2024-11-12 7:50 ` Gyorgy Sarvari
2024-11-12 14:48 ` sateesh m
2024-11-12 15:46 ` Gyorgy Sarvari
2024-11-12 16:11 ` sateesh m
2024-11-12 16:25 ` Gyorgy Sarvari
2024-11-12 16:29 ` sateesh m
2024-11-12 16:52 ` Gyorgy Sarvari
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox