Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
weird problem with terminals
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
konna
n00b
n00b


Joined: 29 Jun 2005
Posts: 24
Location: Jõgeva, Estonia

PostPosted: Mon Jul 11, 2005 5:25 am    Post subject: weird problem with terminals Reply with quote

Yesterday, after restarting my Gentoo machine I discovered that, when I log in with normal user then it`s not possible to open any terminal apps [aterm, eterm, xterm ] ,they just quit after opening :? .
Maybe someone can help me with that problem.
Tnx.
Back to top
View user's profile Send private message
Apopatos
Guru
Guru


Joined: 17 Oct 2004
Posts: 512
Location: Hellas

PostPosted: Mon Jul 11, 2005 12:01 pm    Post subject: Reply with quote

If you open an xterminal as root and then become simple user with su do you get any message?
Back to top
View user's profile Send private message
konna
n00b
n00b


Joined: 29 Jun 2005
Posts: 24
Location: Jõgeva, Estonia

PostPosted: Mon Jul 11, 2005 12:12 pm    Post subject: Reply with quote

Apopatos wrote:
If you open an xterminal as root and then become simple user with su do you get any message?

Noup, no message :/
Back to top
View user's profile Send private message
konna
n00b
n00b


Joined: 29 Jun 2005
Posts: 24
Location: Jõgeva, Estonia

PostPosted: Sat Jul 16, 2005 10:05 pm    Post subject: Reply with quote

I`m still stuck with that problem. :( I really need your help.
Back to top
View user's profile Send private message
nikko
n00b
n00b


Joined: 17 Jul 2005
Posts: 1

PostPosted: Sun Jul 17, 2005 2:08 pm    Post subject: Reply with quote

konna wrote:
I`m still stuck with that problem. :( I really need your help.



me too.

If I login as root and change to a normal user using "su", when I call "xterm", the message promt as below:

Code:

Xlib: connection to  ":0.0" refused by server
Xlib: No protocol specified

xterm Xt error: Can't open display: :0.0






someone said that we should recompile the core with

Device Drivers --> Character Device -->Unix98 PTY suppurt

File Systems --> Pseudo filesSystems --> /dev/pts file system for Unix98 PTYs

but I can't find these two options when I config the core (2.6.12-gentoo-r4).

And also someone also said that this metod dosn't wrk. :(


please help or give some informations, thank you.
Back to top
View user's profile Send private message
fuSEboX
n00b
n00b


Joined: 20 Jan 2005
Posts: 59

PostPosted: Mon Jul 18, 2005 5:53 pm    Post subject: Reply with quote

Code:

Xlib: connection to  ":0.0" refused by server
Xlib: No protocol specified

xterm Xt error: Can't open display: :0.0


If You want to open any graphical programs after going to root...then You probably have to run command:
xhost +localhost as normal user and then SU to root and run command:
export DISPLAY=:0.0 or something like that. And then try running the program.
Maybe it helps.
Back to top
View user's profile Send private message
Caeberos
Tux's lil' helper
Tux's lil' helper


Joined: 24 Mar 2004
Posts: 109

PostPosted: Sun Jul 31, 2005 9:10 pm    Post subject: Reply with quote

I am having this same problem as well. I did an emerge -u world after comming back after two months, and X terms just stopped opening my user account. Another post seemed to indicate that deleting the user and creating a new one would solve the problem, it didn't work for me, and now i am stuck in my root account for the time being to acess terminals :oops:

Anyone know how to fix this?
Back to top
View user's profile Send private message
Bigun
Advocate
Advocate


Joined: 21 Sep 2003
Posts: 2196

PostPosted: Thu Dec 13, 2007 11:10 pm    Post subject: Reply with quote

Anyone try "revdep-rebuild" to see if there are any broken libs?

*edit*

Just saw how friggin old this is.
_________________
"It's ok, they might have guns but we have flowers." - Perpetual Victim
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments 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