Does an X client process always have one or more GUI window(s)?
Conversely, if a process has one or more GUI window(s), is it an X client process?
Does an X client never have a controlling terminal? Does the concept of "controlling terminal" only apply to processes which have no GUI window?
Thanks.
xdpyinfo
orxwininfo
, which talk to the X server but don't open windows. A process which use a GUI window to interact with the user may or may not be an X client, depending on what mechanism is uses to use that window. For example, a shell uses a terminal emulator window to interact with the user, but it's not an X client. An X client may or may not have a controlling terminal; for example, runxclock
from the command line in a terminal emulator, and press Ctrl-C to check whetherxclock
terminates or not. – AlexP Dec 05 '18 at 12:44ffmpeg
, do you consider that as GUI program?While X client is a process who connect to an X server(locally or remotely), which is much more clearly defined.
The key point is, the concept of "window" depends on the window system, including waylang server, Xorg, xvnc, window system of OS X or MS Windows.
– 炸鱼薯条德里克 Dec 28 '18 at 01:58