In F34 /usr/bin/X process is a wrapper of /usr/libexec/Xorg
(Originally from https://bugzilla.redhat.com/show_bug.cgi?id=1993662)
Description of problem:
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
Expected results:
suggest to use command "ps aux|grep Xorg"
Additional info:
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