Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place! |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
12-20-2009, 09:09 PM
|
#1
|
LQ Newbie
Registered: Jul 2009
Posts: 26
Rep:
|
Need solution to "failed to fork PTY" and "error creating the child process" problems
I am new to Linux. I have been trying to find a solution to problems created by Mediabuntu during installation.
When I try to use or use Synaptic Package Manager to fix the broken dependencies it says there are 5 broken packages. However, Only four packages are listed.
When I mark for re-installation and hit Apply, I get the "Error Failed to Fork PTY" message.
Trying to use the terminal I get "error creating the child process"
I have been trying to get help with these problems for 2 weeks without success. I keep hoping that someone will give me a simple, easy to follow solution to the problems, but no one has.
I have looked in Google, the forums and chat. I have searched dozens of threads that appear related to the "failed to fork pty" but cannot get an understandable answer.
I have tried dozens of times using Ctl/Alt F1 console to enter this line: sudo cp /etc/init.d/mountdevsubfs.sh.dpkg-dist /etc/init.d/mountdevsubfs.sh To which I get
Failed to execute child process "/home/amazonas/file system" (No such file or directory) or other error messages.
I do not know how to copy the console output to examine when I close the console.
I do not know how to have the console and desktop open together.
I cannot find correct keyboard commands to move or stop the fast scrolling while in console
I do not know how to copy and paste commands while in console
In the console I also get a you do not have permission -xxx-
I cannot fix my problem on my own
I have asked for help in several forums - I get different command strings from the very few people who have responded to my posts.
My questions go unanswered and the command strings do not work and the error messages continue.
If this is not the right place to ask these questions - please inform me of the correct place to get a solution.
Thank You.
|
|
|
12-21-2009, 04:17 AM
|
#2
|
Senior Member
Registered: Sep 2005
Location: France
Distribution: LFS
Posts: 1,596
Rep:
|
Hello,
Please type this code in console (ctrl+alt+F1):
Code:
sudo echo "devpts /dev/pts devpts rw,noexec,nosuid,gid=5,mode=620 0 0" >> /etc/fstab
sudo mount /dev/pts
|
|
|
12-22-2009, 03:41 AM
|
#3
|
LQ Newbie
Registered: Jul 2009
Posts: 26
Original Poster
Rep:
|
type this code in consol
Thank you.
I'll let you know the results. I truly appreciate your help.
|
|
|
01-01-2010, 07:43 PM
|
#4
|
LQ Newbie
Registered: Jul 2009
Posts: 26
Original Poster
Rep:
|
Failed to fork pty - still broken
Agrouf;
Just had the time to try your solution, but it does not work!
I still get the "error failed to fork pty" message
When I go to console and enter your recommended fix, I get a "permission denied" message OR "/etc/fstab" is not a directory
I have gone back into my file system and changed all the permissions to allow privileges
But that does not help either.
Again, I am baffled.
Any ideas?
Thanks
|
|
|
01-02-2010, 07:54 AM
|
#5
|
Senior Member
Registered: Sep 2005
Location: France
Distribution: LFS
Posts: 1,596
Rep:
|
try:
Code:
sudo gedit /etc/fstab
then add the line:
Code:
devpts /dev/pts devpts rw,noexec,nosuid,gid=5,mode=620 0 0
then type this command in terminal:
Code:
sudo mount /dev/pts
|
|
|
All times are GMT -5. The time now is 11:23 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|