Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Users can't open terminal
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
xevix
Apprentice
Apprentice


Joined: 02 Oct 2004
Posts: 284
Location: Cali, USA

PostPosted: Wed Feb 09, 2005 3:44 pm    Post subject: Users can't open terminal Reply with quote

For some obscure reason, root can open a terminal, but when users try nothing happens. Actually, the window for konsole opens, but remains blank minus a cursor. I can't figure this out for the life of me.... does anyone know what could be causing this?
_________________
AMD Athlon(tm) 64 X2 Dual Core Processor 4400+ AuthenticAMD GNU/Linux 2x2.2 ghz
nVidia GeForce 8800 GTS 320Mb
250 gb SATA hd
2gb pc-3200 DDR
Back to top
View user's profile Send private message
Bigun
Advocate
Advocate


Joined: 21 Sep 2003
Posts: 2196

PostPosted: Wed Feb 09, 2005 3:48 pm    Post subject: Reply with quote

What groups is your user part of?
_________________
"It's ok, they might have guns but we have flowers." - Perpetual Victim
Back to top
View user's profile Send private message
xevix
Apprentice
Apprentice


Joined: 02 Oct 2004
Posts: 284
Location: Cali, USA

PostPosted: Wed Feb 09, 2005 10:17 pm    Post subject: Reply with quote

audio, cdrom, games, usb, video, wheel
_________________
AMD Athlon(tm) 64 X2 Dual Core Processor 4400+ AuthenticAMD GNU/Linux 2x2.2 ghz
nVidia GeForce 8800 GTS 320Mb
250 gb SATA hd
2gb pc-3200 DDR
Back to top
View user's profile Send private message
kimchi_sg
Advocate
Advocate


Joined: 26 Nov 2004
Posts: 2969

PostPosted: Wed Feb 09, 2005 10:38 pm    Post subject: Reply with quote

This might be a dumb question, but have you added your user to the users group as a main group (i.e, with the -g option)?

The adduser command would have been
Code:
adduser -m -g users -G [ANY OTHER GROUPS] [USERNAME]
Back to top
View user's profile Send private message
xevix
Apprentice
Apprentice


Joined: 02 Oct 2004
Posts: 284
Location: Cali, USA

PostPosted: Thu Feb 10, 2005 9:27 am    Post subject: Reply with quote

hmmmm, not quite, i followed the protocol in the handbook, which excludes the '-g' and only has the '-G' but how does this affect that?

their example given was:

# useradd -m -G users,wheel,audio -s /bin/bash john
_________________
AMD Athlon(tm) 64 X2 Dual Core Processor 4400+ AuthenticAMD GNU/Linux 2x2.2 ghz
nVidia GeForce 8800 GTS 320Mb
250 gb SATA hd
2gb pc-3200 DDR
Back to top
View user's profile Send private message
transient
l33t
l33t


Joined: 13 Jan 2005
Posts: 759

PostPosted: Thu Feb 10, 2005 11:37 am    Post subject: Reply with quote

Try opening an xterm as a normal user, or Eterm or similar.
You may be getting this error because your /dev/tty* files have the wrong permissions, and also the /dev/ptmx(I think??) file.
Back to top
View user's profile Send private message
Splink
Apprentice
Apprentice


Joined: 09 Feb 2005
Posts: 295

PostPosted: Thu Feb 10, 2005 1:17 pm    Post subject: Reply with quote

I am having a similar issues with my new install of Gentoo. I will figure it out in the end, but with work and things, its difficult.

Basically, a new install of Gentoo - only thing i have on is kde/x11

installed:

ati-drivers
xorg-x11 6.8
kde 3.3
kdecore


When opening a session in kde, it displays a window, but no text. I have checked the user and the memberships - they seem fine as per the recommendations in the documentation. I have chmod'd the /dev/tty file so that the user has the correct permissions to use it. I quickly chown'd it too - see if it was that, but same issue.

as root it works fine, I can init 3 and su as the user into root.

one other thing - if i try and run a root console from kde it says "unable to find su. Make sure you have specified the correct path" or something like that...... I am sure ill be be able to sort this with a simlink somewhere when I get back from work.
Back to top
View user's profile Send private message
Splink
Apprentice
Apprentice


Joined: 09 Feb 2005
Posts: 295

PostPosted: Thu Feb 10, 2005 3:27 pm    Post subject: Reply with quote

I think this is a PATH problem within kde after doing a little looking around. Things are ok out of kde, but in - it is giving me a few probs....

any ideas ?
Back to top
View user's profile Send private message
xevix
Apprentice
Apprentice


Joined: 02 Oct 2004
Posts: 284
Location: Cali, USA

PostPosted: Thu Feb 10, 2005 3:55 pm    Post subject: Reply with quote

Well, what exactly do I have to do as far as the tty and the ptmx?

And by the way, this is cross-window-manager, not specific to KDE< happens in fluxbox also, so in my case it doesn't sound like a PATH issue, but maybe so for Splink (and not being able to su means he's not in wheel).
_________________
AMD Athlon(tm) 64 X2 Dual Core Processor 4400+ AuthenticAMD GNU/Linux 2x2.2 ghz
nVidia GeForce 8800 GTS 320Mb
250 gb SATA hd
2gb pc-3200 DDR
Back to top
View user's profile Send private message
Splink
Apprentice
Apprentice


Joined: 09 Feb 2005
Posts: 295

PostPosted: Thu Feb 10, 2005 4:11 pm    Post subject: Reply with quote

I am in the wheel group, and users and a few others too. I am not however, in the tty group (thats if there is one). I have been speaking to a few of the linux guys here and they seem to think I need to be in this group for gentoo.

I am not in the position to do anything about it for a few hours, as I have no ssh access to my box, so I will look at it later on and let you know how i got on.
Back to top
View user's profile Send private message
xevix
Apprentice
Apprentice


Joined: 02 Oct 2004
Posts: 284
Location: Cali, USA

PostPosted: Thu Feb 10, 2005 4:41 pm    Post subject: Reply with quote

do that please, i've never heard of the "tty group" =/
_________________
AMD Athlon(tm) 64 X2 Dual Core Processor 4400+ AuthenticAMD GNU/Linux 2x2.2 ghz
nVidia GeForce 8800 GTS 320Mb
250 gb SATA hd
2gb pc-3200 DDR
Back to top
View user's profile Send private message
Splink
Apprentice
Apprentice


Joined: 09 Feb 2005
Posts: 295

PostPosted: Thu Feb 10, 2005 5:36 pm    Post subject: Reply with quote

neither have i :)

i think they are pulling my leg here :) .. note to self - never look at problems on your home machine when you are not at home to look at it.

can you log in ok from the console .. ie .. not in a X session? Or are you having issues using su from there?

I have no probs at all using su when not using x11 .. its just when in kde and i use a bog standard user.
Back to top
View user's profile Send private message
Splink
Apprentice
Apprentice


Joined: 09 Feb 2005
Posts: 295

PostPosted: Thu Feb 10, 2005 8:41 pm    Post subject: Reply with quote

Yes this seems to have fixed the trick..


Adding your user to the group TTY lets you run consoles. I am surprised this is not in the General FAQ.. or at least the kde faq.
Back to top
View user's profile Send private message
thebigslide
l33t
l33t


Joined: 23 Dec 2004
Posts: 792
Location: under a car or on top of a keyboard

PostPosted: Thu Feb 10, 2005 8:44 pm    Post subject: Reply with quote

I remember that from like a year ago. Are you using an up to date livecd and stage tarball? It doesn't sound like it.
Back to top
View user's profile Send private message
transient
l33t
l33t


Joined: 13 Jan 2005
Posts: 759

PostPosted: Thu Feb 10, 2005 10:51 pm    Post subject: Reply with quote

Usually, you shouldnt need to be in the tty group to use terminals, as its a slight security risk.
But as you can see, sometimes its needed.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum