View previous topic :: View next topic |
Author |
Message |
sws n00b
Joined: 08 Sep 2009 Posts: 29
|
Posted: Mon Oct 22, 2012 6:21 pm Post subject: [SOLVED] no more terminals within window manager |
|
|
Hi all,
after emerging world this weekend I can not open any terminal anymore form within a window manager. Gnome-terminal says: "getpt failed: file or directory not found".
I checked
- mounting /dev/pts: is mounted,
- grepped pts in /etc/fstab: not included,
- checked /dev/ptmx: is present.
One thing I noticed while booting is:
"mount: /dev/shm not mounted or bad option".
No idea what is wrong here, also I don't know if the first error has anything to do with the second. Maybe this is subject to another thread.
System is ~arch64.
Any helpful hints appreciated.
Greets,
Sebastian
Last edited by sws on Wed Oct 24, 2012 6:42 pm; edited 2 times in total |
|
Back to top |
|
|
NeddySeagoon Administrator
Joined: 05 Jul 2003 Posts: 54237 Location: 56N 3W
|
Posted: Mon Oct 22, 2012 6:40 pm Post subject: |
|
|
sws,
What do you have inside /dev/pts ? _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
|
sws n00b
Joined: 08 Sep 2009 Posts: 29
|
Posted: Mon Oct 22, 2012 6:59 pm Post subject: |
|
|
Hi NeddySeagoon,
Code: | # ls -Fla /dev/pts
./
../
|
so /dev/pts is empty. |
|
Back to top |
|
|
NeddySeagoon Administrator
Joined: 05 Jul 2003 Posts: 54237 Location: 56N 3W
|
Posted: Mon Oct 22, 2012 7:10 pm Post subject: |
|
|
sws,
Ah. I was bitten by this when I upgraded my KVM host.
/dev/pts needs to contain ptmx.
Add Code: | # ssh and libvirtd fail without the next entry
devpts /dev/pts devpts defaults 0 0 | to /etc/fstab
To avoid the reboot, run the mount manually. _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
|
sws n00b
Joined: 08 Sep 2009 Posts: 29
|
Posted: Mon Oct 22, 2012 7:49 pm Post subject: |
|
|
Hi NeedySeagoon,
did what you proposed and mounted manually: everything's fine.
Rebooting unfortunately set everything back to the error state: both /dev/shm and /dev/pts "not mounted or bad option". Terminal gives "getpt failed" error.
I did a
as root and got a message:
Code: | ...
udisks-daemon: not polling any devices
... |
|
|
Back to top |
|
|
NeddySeagoon Administrator
Joined: 05 Jul 2003 Posts: 54237 Location: 56N 3W
|
Posted: Mon Oct 22, 2012 7:54 pm Post subject: |
|
|
sws,
What if you add the line I suggested to /etc/fstab while the system is broken then dowhich runs through /etc/fstab and mounts everything not already mounted ? _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
|
sws n00b
Joined: 08 Sep 2009 Posts: 29
|
Posted: Mon Oct 22, 2012 8:02 pm Post subject: |
|
|
Sorry to say, but when I did as you told me:
I added the line "devpts ..." in /etc/fstab and mounted devpts manually. Afterwards I could start gnome-terminal without problems.
But after a reboot /dev/pts was not mounted anymore.
unfortunately brought no improvement.
(BTW: have to quit for today, will be back tomorrow |
|
Back to top |
|
|
Jaglover Watchman
Joined: 29 May 2005 Posts: 8291 Location: Saint Amant, Acadiana
|
|
Back to top |
|
|
NeddySeagoon Administrator
Joined: 05 Jul 2003 Posts: 54237 Location: 56N 3W
|
Posted: Mon Oct 22, 2012 8:10 pm Post subject: |
|
|
Jaglover,
Oh - thanks. I missed that. _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
|
Jaglover Watchman
Joined: 29 May 2005 Posts: 8291 Location: Saint Amant, Acadiana
|
|
Back to top |
|
|
sws n00b
Joined: 08 Sep 2009 Posts: 29
|
Posted: Wed Oct 24, 2012 6:40 pm Post subject: |
|
|
Thank you both for your advice.
The hint to
Code: | # rc-update add udev-mount sysinit |
was the last piece of this jigsaw. Terminals within window managers are starting again as before.
I'm taggng this thread as solved.
Thanks again,
Yours,
Sebastian |
|
Back to top |
|
|
|