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 |
Time | N/A |
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.
🐧 5 comments so far... add one ↓
Category | List of Unix and Linux commands |
---|---|
File Management | cat |
Firewall | Alpine Awall • CentOS 8 • OpenSUSE • RHEL 8 • Ubuntu 16.04 • Ubuntu 18.04 • Ubuntu 20.04 |
Network Utilities | dig • host • ip • nmap |
OpenVPN | CentOS 7 • CentOS 8 • Debian 10 • Debian 8/9 • Ubuntu 18.04 • Ubuntu 20.04 |
Package Manager | apk • apt |
Processes Management | bg • chroot • cron • disown • fg • jobs • killall • kill • pidof • pstree • pwdx • time |
Searching | grep • whereis • which |
User Information | groups • id • lastcomm • last • lid/libuser-lid • logname • members • users • whoami • who • w |
WireGuard VPN | Alpine • CentOS 8 • Debian 10 • Firewall • Ubuntu 20.04 |
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
how!!!!!!!!!!??????????? tipe the commmand if not opoeb the fking terminal???????
what it costs … windows zero cost but problems like these
Our bandaid fix was to change the user’s password through root. Some machines did require a reboot afterwards, but some did not.