DTSPCD(1m)
π dtspcd β CDE Subprocess Control Service π
okay so this is the manual page for dtspcd from the user cmd section, bestie β yes, user cmd, that's the manual it lives in, and we are gonna get through it together. grab a lil snack. π
dtspcd [-debug] [-log] [-auth_dirdirectory] [-timeoutnum_minutes]
[-mount_pointmount_point]
β¨ NAME β¨
dtspcd β the CDE Subprocess Control Service. that's the whole name. short, sweet, iconic. π
πΈ DESCRIPTION πΈ
okay so dtspcd is the daemon for the CDE Subprocess Control service. and listen β you do not start this one yourself. like, it's not a "run it in your terminal and vibe" situation. it's supposed to get started automatically by the inetd daemon (peep inetd(1m)) whenever a CDE client asks for a process to be started on the daemon's host. it's giving background main character energy β it shows up when it's needed and that's the whole point. π«Ά
π OPTIONS π
-auth_dir directoryβ the default authentication directory is the user's$HOMEdirectory. this option lets the system administrator use a different directory instead. note that directory must be exported to hosts wishing to use thedtspcservice.directoryβ the name of the directory to use for authentication. ποΈ-timeout minutesβ by default, thedtspcdprocess terminates if it has no activity (process start or process stop) for 10 minutes anddtspcdhas no child processes running. want a different number? set minutes to the desired number of minutes. want to force the daemon to not use a timer at all? set minutes to-1.minutesβ the number of minutes for the timer. β°-mount_point mount_pointβ the file system's mount point is named mount_point. for example, mount_point could be"/net"or"/nfs". the daemon sets the environment variableDTMOUNTPOINTto the value of mount_point, and this value ofDTMOUNTPOINToverrides all other definitions ofDTMOUNTPOINT. π-logβ turns on logging of status info to the file/var/dt/tmp/DTSPCD.log. what gets logged? the name of the client host, the client's username, error messages, and the name of the file used for authentication. default is to not do any logging. π-debugβ turns on logging of thedtspcprotocol to the file/var/dt/tmp/DTSPCD.log. the protocol info logged includes the name of the protocol and the number of bytes in the request. default is to not log the protocol. π
π AUTHENTICATION π
so when a CDE client tries to connect to a dtspcd daemon, the client sends the daemon its username. the daemon uses that username to figure out the user's home directory on the daemon's host. that home directory is used during authentication, and it must be readable by the daemon and writable by the client. which means: the user's home directory on the daemon's host has to be mounted to the client host. no cap, that's non-negotiable. π§
if the user's home directory is not readable and the -auth_dir command line option is not used, then the directory /var/dt/tmp gets used instead.
want to use a directory other than the user's home directory for authentication? that's literally what the -auth_dir command line option is for, bestie. π
βοΈ CONFIGURATION βοΈ
dtspcd is an Internet service, so it must be registered in the file /etc/services like this:
dtspc 6112/tcp
and in the file /etc/inetd.conf like this:
dtspc stream tcp nowait root /nix/store/6waxpwr8lzfzc9ka48gl7yh60rqvlkdb-cde-2.5.3/bin/dtspcd /nix/store/6waxpwr8lzfzc9ka48gl7yh60rqvlkdb-cde-2.5.3/bin/dtspcd
copy it exactly, don't get creative with it, slay. β¨
π ENVIRONMENT VARIABLE MANAGEMENT π
the CDE Subprocess Control service lets the user and the system administrator create files of environment variable definitions, which get placed into the process's environment before a remote process is started. check dtspcdenv(4) for the details, okay? that's where the real tea is. π¦
π OPERATING SYSTEM DEPENDENCIES π
on HP-UX, the file /usr/adm/inetd.sec may be used to control access to the dtspcd daemon. see inetd.sec(4) for more info. π«‘
ποΈ FILES ποΈ
/nix/store/6waxpwr8lzfzc9ka48gl7yh60rqvlkdb-cde-2.5.3/bin/dtspcdβ the CDE Subprocess Control daemon/etc/servicesβ the Internet service name data base/etc/inted.confβ theinetdconfiguration file/nix/store/6waxpwr8lzfzc9ka48gl7yh60rqvlkdb-cde-2.5.3/etc/config/dtspcdenvβ system-wide, locally defined environment variable definitions used when a process is executed/nix/store/6waxpwr8lzfzc9ka48gl7yh60rqvlkdb-cde-2.5.3/config/dtspcdenvβ system-wide, installed environment variable definitions used when a process is executed$HOME/.dt/dtspcdenvβ user-specific environment variable definitions used when a process is executed/var/dt/tmp/DTSPCD.logβ thedtspcdlog file
π₯ DIAGNOSTICS π₯
use the command line options -log and -debug (both described up in OPTIONS, bestie, you got this) to get diagnostic information. π
π SEE ALSO π
inetd(1m), services(4), inetd.conf(4), dtspcdenv(4).
and that's the whole page!! π
this was the dtspcd(user cmd) page from CDE 2.5.3 β the paths are literally spelling out cde-2.5.3 so that's the version, and there's no date line on this one, so we're just gonna vibe with that. hope this helped, go be excellent to your daemons. ππ¦π
π¦ where this page comes from
- nixos 26.05: cde 2.5.3
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms