Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1993662

Summary: In F34 /usr/bin/X process is a wrapper of /usr/libexec/Xorg
Product: [Retired] Fedora Documentation Reporter: Saihua Shi <sinosuse>
Component: system-administrator's-guideAssignee: Petr Bokoc <pbokoc>
Status: CLOSED UPSTREAM QA Contact: Fedora Docs QA <docs-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: develCC: swadeley
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2024-05-21 13:00:12 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Saihua Shi 2021-08-15 08:22:14 UTC
Description of problem:

https://docs.fedoraproject.org/en-US/fedora/f34/system-administrators-guide/basic-system-configuration/Opening_GUI_Applications/


command  "ps aux|grep /usr/bin/X"

In f34, /usr/bin/X is linked to /usr/bin/Xorg, which is wrapper of /usr/libexec/Xorg.

[suse@suse ~]$ ls -altr /usr/bin/X
lrwxrwxrwx 1 root root 4 Apr 14 18:58 /usr/bin/X -> Xorg
[suse@suse ~]$ ls -altr /usr/bin/Xorg 
-rwxr-xr-x 1 root root 277 Apr 14 18:55 /usr/bin/Xorg
[suse@suse ~]$ cat /usr/bin/Xorg
#!/usr/bin/sh
#
# Execute Xorg.wrap if it exists otherwise execute Xorg directly.
# This allows distros to put the suid wrapper in a separate package.

basedir=/usr/libexec
if [ -x "$basedir"/Xorg.wrap ]; then
	exec "$basedir"/Xorg.wrap "$@"
else
	exec "$basedir"/Xorg "$@"
fi




Version-Release number of selected component (if applicable):
xorg-x11-server-Xorg-1.20.11-1.fc34.x86_64

How reproducible:


Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:

suggest to use command "ps aux|grep Xorg"


Additional info:

Comment 1 Saihua Shi 2021-08-15 08:28:06 UTC
according to the document, if running "grep /usr/bin/X", it returns empty.

following is the result.

[suse@suse ~]$ ps -ef|grep  Xorg
root         997     988  1 09:12 tty1     00:07:35 /usr/libexec/Xorg -core -noreset :0 -seat seat0 -auth /run/lightdm/root/:0 -nolisten tcp vt1 -novtswitch
suse        9862    7905  0 16:27 pts/6    00:00:00 grep --color=auto Xorg