There was an error creating the child process for this terminal
How do I fix this problem and open a terminal by right clicking the Debian / Ubuntu / CentOS / Fedora / RHEL / Red hat Enterprise Linux 5.x desktop system?
| Tutorial details | |
|---|---|
| Difficulty | Intermediate (rss) |
| Root privileges | Yes |
| Requirements | Linux and devpts |
This problem is related to devpts (also known as Unix98 pty naming) file system. The devpts must be mounted on /dev/pts. Before opening the pseudo-terminal slave, you or the process must pass the master's file descriptor. From the man page:
The file /dev/ptmx is a character file with major number 5 and minor number 2, usually of mode 0666 and owner.group of root.root. It is used to create a pseudo-terminal master and slave pair. When a process opens /dev/ptmx, it gets a file descriptor for a pseudo-terminal master (PTM), and a pseudo-terminal slave (PTS) device is created in the /dev/pts directory.
In order to solve your problem mount /dev/pts. This is required when opening a pseudo terminal. Edit /etc/fstab:
# vi /etc/fstab
Because /dev/pts is needed when , missing mounting point /dev/pts in file /etc/fstab will produce this error. Verify that ptsfs is mounted:
$ mount | grep pts
Sample outputs:
devpts on /dev/pts type devpts (rw,noexec,nosuid,gid=5,mode=620)
If devpts is not mounted, type the following command as root user to mount it:
# mount -t devpts devpts /dev/pts
Also, edit the file /etc/fstab, enter:
# vi /etc/fstab
Add the following line if no such line exists in /etc/fstab:
devpts /dev/pts devpts gid=5,mode=620 0 0
Save and close the file. You can reboot the machine to test new changes.
You should follow me on twitter here or grab rss feed to keep track of new changes.
Featured Articles:
- 30 Handy Bash Shell Aliases For Linux / Unix / Mac OS X
- Top 30 Nmap Command Examples For Sys/Network Admins
- 25 PHP Security Best Practices For Sys Admins
- 20 Linux System Monitoring Tools Every SysAdmin Should Know
- 20 Linux Server Hardening Security Tips
- Linux: 20 Iptables Examples For New SysAdmins
- Top 20 OpenSSH Server Best Security Practices
- Top 20 Nginx WebServer Best Security Practices
- 20 Examples: Make Sure Unix / Linux Configuration Files Are Free From Syntax Errors
- 15 Greatest Open Source Terminal Applications Of 2012

- My 10 UNIX Command Line Mistakes
- Top 10 Open Source Web-Based Project Management Software
- Top 5 Email Client For Linux, Mac OS X, and Windows Users
- The Novice Guide To Buying A Linux Laptop














{ 2 comments… read them below or add one }
Ubuntu 12.10 Terminal Bug
So this didn’t work for me, perhaps the edited file is styled more specficially than what I entered, with respect to tab delimited vs space delimited; it is difficult to tell which or if the delimiters are present or significant.
Thanks.
Anyone found a fix for this yet? The above is not working, interested to find a means to the cause