Bug 1993662 - In F34 /usr/bin/X process is a wrapper of /usr/libexec/Xorg
Summary: In F34 /usr/bin/X process is a wrapper of /usr/libexec/Xorg
Keywords:
Status: CLOSED UPSTREAM
Alias: None
Product: Fedora Documentation
Classification: Retired
Component: system-administrator's-guide
Version: devel
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Petr Bokoc
QA Contact: Fedora Docs QA
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-08-15 08:22 UTC by Saihua Shi
Modified: 2024-05-21 13:00 UTC (History)
1 user (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2024-05-21 13:00:12 UTC
Embargoed:


Attachments (Terms of Use)

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


Note You need to log in before you can comment on or make changes to this bug.