View previous topic :: View next topic |
Author |
Message |
Jinidog Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
![](images/avatars/12586626344105451db654c.jpg)
Joined: 26 Nov 2003 Posts: 593 Location: Berlin
|
Posted: Sat Jul 24, 2004 8:21 pm Post subject: can't start konsole/aterm/xterm as normal user (permissions) |
|
|
Hello,
I have messed up a Gentoo-System when I had to copy it to another computer for repartitioning my haddisk.
As I copied it back the permissions were changed so that most programms only ran under root.
I restored the permissions for the files that were mentioned in error-messages, but some apps don't work without having a clue why.
The big problem is the KDE terminal-emulator konsole.
The window opens but there is just a black cursor in it, no 'bash-2.05b#' and I cannot type in anything.
Which files' permissions do I habe to check?
Last edited by Jinidog on Sat Jul 24, 2004 11:23 pm; edited 2 times in total |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Jinidog Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
![](images/avatars/12586626344105451db654c.jpg)
Joined: 26 Nov 2003 Posts: 593 Location: Berlin
|
Posted: Sat Jul 24, 2004 9:49 pm Post subject: |
|
|
There must be a permission problem with a file or a device.
Does anyone know on which files konsole depends? |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Jinidog Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
![](images/avatars/12586626344105451db654c.jpg)
Joined: 26 Nov 2003 Posts: 593 Location: Berlin
|
Posted: Sat Jul 24, 2004 11:04 pm Post subject: |
|
|
There is the same problem with other consoles.
aterm writes the following error in ~/xsession-errors:
aterm: can't open pseudo-tty
aterm: aborting |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Jinidog Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
![](images/avatars/12586626344105451db654c.jpg)
Joined: 26 Nov 2003 Posts: 593 Location: Berlin
|
Posted: Sun Jul 25, 2004 6:25 pm Post subject: |
|
|
I really need help.
I did an emerge -e aterm (because aterm doesn't work too and I think for the same reason as konsole doesn't) and it didn't help.
I checked the permissions of dev/pty with a working gentoo-syste, it didn't help.
I have no clue where to search further |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
666Patty n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 28 Jul 2004 Posts: 4 Location: Hannover - Germany
|
Posted: Wed Jul 28, 2004 7:12 pm Post subject: same problem with terms unter kde & co... |
|
|
hi Jinidog,
i've got the same prob!
but when i changed the mashine(s) ca. 1 week ago, everything worked fine...
i think, i've got the prob after updating kde to v. 3.2.3!?
i've tryed a lot, but everything without success!
have you solved the prob?
if not, i could try to write my hopeless work in this thread!?
ciao
... patrick
ps: i'm from germany too...
if it would be easier to discuss in german!? ![Wink ;-)](images/smiles/icon_wink.gif) _________________ M$ Windoof: U MUST REBOOT!
Linux: U MUST BE ROOT... |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
666Patty n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 28 Jul 2004 Posts: 4 Location: Hannover - Germany
|
Posted: Wed Jul 28, 2004 8:53 pm Post subject: the VERY EASY way... |
|
|
hi,
after move the "/dev"-folder (incl. permissions) from a running gentoo-system to my workstation => no success!
after untar the "/dev"-folder from stage3 (incl. permissions) to the workstation => no success!
so i thougt, that wrong permissons in the "/dev"-folder won't be the reason...
BUT, when i made a "chmod -R 777 /dev" (only to check, if the permissions in /dev really won't be the prob), the problem was SOLVED!
(okay, now i will leave the big smile on my face for this evening...
and search the ONE wrong permission later...)
ciao _________________ M$ Windoof: U MUST REBOOT!
Linux: U MUST BE ROOT... |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
ecoolcat n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
![](images/avatars/156387263940f709272daf6.png)
Joined: 15 Jul 2004 Posts: 9 Location: Vancouver, BC
|
Posted: Thu Jul 29, 2004 10:38 am Post subject: |
|
|
Hi guys,
You should make sure whether `pty` permissions are correct in /etc/devfsd.conf file if you use `devfs` at boot.
Code: |
# vi /etc/devfsd.conf
.......................................................................................................
.......................................................................................................
# Uncomment the following if you want to set the group to "tty" for the
# pseudo-tty devices. This is necessary so that mesg(1) can later be used to
# enable/disable talk requests and wall(1) messages.
REGISTER ^pty/s.* PERMISSIONS -1.tty 0600
REGISTER ^pts/.* PERMISSIONS -1.tty 0600
|
Moreless, copy a working /etc/devfsd.conf file to your /etc directory and reboot. _________________ Nothing but freedom belongs to Linux |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Jinidog Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
![](images/avatars/12586626344105451db654c.jpg)
Joined: 26 Nov 2003 Posts: 593 Location: Berlin
|
Posted: Thu Jul 29, 2004 11:13 am Post subject: |
|
|
I'll have a look.
I couldn't solve the problem and gave up after several hours. _________________ Just unused Microsoft-Software is good Microsoft-Software |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
666Patty n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 28 Jul 2004 Posts: 4 Location: Hannover - Germany
|
Posted: Sat Jul 31, 2004 9:33 am Post subject: devfsd.conf... |
|
|
hi ecoolcat,
i've allready checked the entries in the devfsd.conf...
they are the same.
so i would say, that's not the reason for our prob.
but thx for your help so far...
let me know, when you know the reason of our prob!
ciao
... patrick _________________ M$ Windoof: U MUST REBOOT!
Linux: U MUST BE ROOT... |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
|