Home » Archive » X11 » it's terminal !
icon5.gif  it's terminal ! [message #40] Fri, 14 May 2004 22:48 Go to next message
mud  is currently offline mud
Messages: 10
Registered: May 2004
Location: Co. Durham, UK
Member
What would stop the Xwindows terminal from working ? Confused

Since reloading redhat9 (after a hard drive upgrade) the terminal just gives me a flashing cursor, with no prompt.

The only time I can get it to work, is when I login as 'root', or when I use a second session (Ctrl Alt F1).

All worked OK before the reload. Sad
Re: it's terminal ! [message #41 is a reply to message #40 ] Sat, 15 May 2004 23:56 Go to previous messageGo to next message
kev82  is currently offline kev82
Messages: 7
Registered: May 2004
Location: Bishop Auckland / Durham
Junior Member
im really confused about what you mean by terminal, are you talking about

a) a physical machine connected by serial/network port
b) terminal emulation software running in X
c) a terminal running on virtual console (eg Ctl-Alt-F3)

and where exactly are you logging in as root for this to work?


quote from fortune the other day - "science is to computer science what hydrodynamics is to plumbing"

no offence intended, just thought it was a funny quote
icon5.gif  Re: it's terminal ! [message #42 is a reply to message #41 ] Sun, 16 May 2004 10:03 Go to previous messageGo to next message
mud  is currently offline mud
Messages: 10
Registered: May 2004
Location: Co. Durham, UK
Member
I'm talking about 'Gnome Terminal' and 'xterm' (I've tried both) running within X

The virtual consoles (ctrl-alt-f1 .. f6) all give me a full screen (not running X) console screen that works fine - but it's a clart to use.

If I logout of the session running X and login as root, the terminal emulator gives me a window with a working # prompt. Very Happy

If I login as any other user, I get a window with just a flashing cursor. Crying or Very Sad
Re: it's terminal ! [message #43 is a reply to message #42 ] Sun, 16 May 2004 15:10 Go to previous messageGo to next message
kev82  is currently offline kev82
Messages: 7
Registered: May 2004
Location: Bishop Auckland / Durham
Junior Member
The only two things i can think of are permissions on initialisation files or the devpts filesystem not mounted but neither of these fit in perfectly with your symptoms

can you see if the terminal emulator prints any errors when it tries to start. ie login into a gui as root, launch a terminal, su to a user that is having problems opening terminals then run xterm or gnome-terminal and see if it prints an error.

you also might want to try creating a new user with a copy of the standard initialisation files and see if they can get a terminal up.


quote from fortune the other day - "science is to computer science what hydrodynamics is to plumbing"

no offence intended, just thought it was a funny quote
Re: it's terminal ! [message #56 is a reply to message #40 ] Fri, 21 May 2004 23:53 Go to previous messageGo to next message
mud  is currently offline mud
Messages: 10
Registered: May 2004
Location: Co. Durham, UK
Member
can you see if the terminal emulator prints any errors when it tries to start...

I did that and got this Confused

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


(gnome-terminal:5635): Gtk-WARNING **: cannot open display:

----

Any more ideas ?



Re: it's terminal ! [message #57 is a reply to message #40 ] Sat, 22 May 2004 01:24 Go to previous messageGo to next message
Tony  is currently offline Tony
Messages: 6
Registered: May 2004
Location: 2 doors from alan
Junior Member
It's possible when you've upgraded, you've upgraded xf86server as well and somethings cocked up.

Change to a console ctrl +alt +f1 or f2,
login as root
type setup (i think Rh still uses it)
You should get a menu, off the top of my head i think you can setup the xserver (monitor and graphics card) there.

If that doesn't work login to the console as root
type xf86config (always the best way)
It's a command line setup which rarely fails and easy to go through.
after you've done everything and saved it, type startx.
you some times have to do it as root first then the user.
If that works you should be able to change whatever you want via gui.
Re: it's terminal ! [message #61 is a reply to message #40 ] Sun, 23 May 2004 17:37 Go to previous messageGo to next message
kev82  is currently offline kev82
Messages: 7
Registered: May 2004
Location: Bishop Auckland / Durham
Junior Member
sorry, all that means is the user you su'ed to doesnt have access to the X-server, before su-ing run

xhost +

this will disable access control and you should hopefully see the real error when you start the terminal


quote from fortune the other day - "science is to computer science what hydrodynamics is to plumbing"

no offence intended, just thought it was a funny quote
Re: it's terminal ! [message #64 is a reply to message #61 ] Tue, 25 May 2004 09:44 Go to previous messageGo to next message
Tony  is currently offline Tony
Messages: 6
Registered: May 2004
Location: 2 doors from alan
Junior Member
Careful xhost + allows clients to connects from Any Host Shocked Rolling Eyes

[Updated on: Tue, 25 May 2004 09:45]

Re: it's terminal ! [message #65 is a reply to message #64 ] Wed, 26 May 2004 22:19 Go to previous messageGo to next message
kev82  is currently offline kev82
Messages: 7
Registered: May 2004
Location: Bishop Auckland / Durham
Junior Member
yes, "xhost +" does give access from any host but it also gives all users access which is what we need to get the error message from the terminal because we want to start an X-server as root, su to a normal user and then have the normal user run a terminal. if you know of a more suitable command to do the same thing then feel free to suggest it.

to be honest it wont really give all host access as the default red-hat firewall more than likely blocks non local access to ports 6000/6001/etc


quote from fortune the other day - "science is to computer science what hydrodynamics is to plumbing"

no offence intended, just thought it was a funny quote
Re: it's terminal ! [message #91 is a reply to message #40 ] Sat, 24 July 2004 18:00 Go to previous messageGo to next message
mud  is currently offline mud
Messages: 10
Registered: May 2004
Location: Co. Durham, UK
Member
I know it's been a long long time since I first posted this problem but I briefly moved the system from redhat9 to fedora2, which did sort this problem out. Smile

BUT as fedora gave me a new set of completely different problems I'm back with RH9 and my terminal problem... Sad

as per kev86's comments, I tried this:

[root @one root]# xhost +
access control disabled, clients can connect from any host
[root @one root]# su martin
[martin @one root]$ xterm
Warning: Tried to connect to session manager, Authentication Rejected, reason :
None of the authentication protocols specified are supported and host-based authentication failed

opened working terminal window but still gave an error

[martin @one root]$ gnome-terminal
(gnome-terminal:7016): GnomeUI-WARNING **: While connecting to session manager:
Authentication Rejected, reason : None of the authentication protocols specified are supported and host-based authentication failed.

opened a terminal window which immediately closed again
Re: it's terminal ! [message #97 is a reply to message #40 ] Fri, 06 August 2004 00:40 Go to previous message
kev82  is currently offline kev82
Messages: 7
Registered: May 2004
Location: Bishop Auckland / Durham
Junior Member
im afraid im not familiar with those errors or even X session management. ive googled the error and found loads of messages some with dramatically varying causes/solutions including, no space on /home, incorrect permissions on .xsession, no space in /tmp, etc...

i suggest you try some of these things and if that doesnt work post in a red hat specific forum, im afraid this is stuff i dont know very much about.

sorry couldnt be more help.


quote from fortune the other day - "science is to computer science what hydrodynamics is to plumbing"

no offence intended, just thought it was a funny quote
Previous Topic:Pedant Alert!
Goto Forum:
  


Current Time: Sun Sep 5 22:04:36 BST 2010

Total time taken to generate the page: 0.00981 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 2.7.5.
Copyright ©2001-2006 FUD Forum Bulletin Board Software