You are not logged in.

#1 2010-11-20 13:09:56

whitetimer
Member
Registered: 2010-05-23
Posts: 207

[ SOLVED ] No Prompt in Terminal

I have xterm running fine in arch / openbox, but i have just tried to install lxterminal and terminal and when i start up both, neither has a prompt at the top of the screen, its just blank ...

Why would this be the case ?

Many Thanks

Last edited by whitetimer (2010-11-22 15:22:16)

Offline

#2 2010-11-20 13:53:58

d2ogch3n
Member
Registered: 2010-01-20
Posts: 42

Re: [ SOLVED ] No Prompt in Terminal

Have you got a .bashrc file in your home folder with a PS1 entry? There's a default one you can copy from /etc/skel

Offline

#3 2010-11-20 13:59:09

whitetimer
Member
Registered: 2010-05-23
Posts: 207

Re: [ SOLVED ] No Prompt in Terminal

Yes i have PS1 in my .bashrc file .....

Offline

#4 2010-11-21 13:45:56

whitetimer
Member
Registered: 2010-05-23
Posts: 207

Re: [ SOLVED ] No Prompt in Terminal

Anyone have any other suggestions please ?

Many thanks

Offline

#5 2010-11-21 16:27:24

anonymous_user
Member
Registered: 2009-08-28
Posts: 3,059

Re: [ SOLVED ] No Prompt in Terminal

Can you still type and run commands?

Offline

#6 2010-11-21 17:22:01

whitetimer
Member
Registered: 2010-05-23
Posts: 207

Re: [ SOLVED ] No Prompt in Terminal

anonymous_user wrote:

Can you still type and run commands?

@anonymous_user

No ... i cant do anything ... I get the menu bar at the top and a green cursor that does not move sad

Offline

#7 2010-11-21 18:40:23

Tux the penguin
Member
From: Tomorrow
Registered: 2010-05-25
Posts: 196

Re: [ SOLVED ] No Prompt in Terminal

If you switch to another virtual console, does it work?  use ctrl-alt-f1 then login as root and see if you can run any commands. Use ctrl-alt-f7 to switch back to your desktop. I think that should tell us whether it is a problem with one of the terminal emulators you have installed or with bash/the command line itself.


I don't suffer from insanity. I enjoy every minute of it.
MSI CR600 / 3GB Memory / 320GB HDD / Intel Pentium Dual-Core CPU T4200 @ 2.00 GHz | Archlinux x86_64

Offline

#8 2010-11-21 18:56:52

whitetimer
Member
Registered: 2010-05-23
Posts: 207

Re: [ SOLVED ] No Prompt in Terminal

If i open xterm and do su command it takes me to the root ....

Then if i start the xfce-terminal i get the bash script prompt ok

But if i exit out and i am back as normal user, and try xfce-terminal then, i get the blank screen again ...

Offline

#9 2010-11-22 05:58:25

whitetimer
Member
Registered: 2010-05-23
Posts: 207

Re: [ SOLVED ] No Prompt in Terminal

I can also type 'sudo terminal' the xterm and terminal loads up with the bash prompt, but if i just type terminal as user i dont get the bash prompt sad

Offline

#10 2010-11-22 06:09:55

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,424
Website

Re: [ SOLVED ] No Prompt in Terminal

Then the problem probably lies with your .bashrc or your profile. Have you tried d2ogch3n's suggestion and copied a vanilla one to test if it is your bashrc?

Also, you would be doing everyone a favour if you followed the How To Post guidance:

When asking questions, provide as much information as possible, including error messages, terminal output, logs, what you have previously tried, what documentation and searches you have attempted, and related configuration files...

https://wiki.archlinux.org/index.php/Fo … ow_to_Post

Simply posting what you are doing - as opposed to what you have tried or documentation/logs that you have read - is tantamount to help vampirism: please make more of an effort to do some of the work yourself.


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#11 2010-11-22 06:39:26

whitetimer
Member
Registered: 2010-05-23
Posts: 207

Re: [ SOLVED ] No Prompt in Terminal

Yes i have tried copying a .bashrc from /etc/skel

This is my current .bashrc file


# Check for an interactive session
[ -z "$PS1" ] && return

alias ls='ls --color=auto'
PS1="[\u@\h:\w ] $ "

## Set Locales to UK/GB

## JDK HOME ##
export JDK_HOME=/opt/java
export PATH=$PATH:$JDK_HOME/bin

## IDEA_JDK ##

## Set Java Fonts
export JAVA_FONTS=/usr/share/fonts/TTF
# export _JAVA_OPTIONS='-Dawt.useSystemAAFontSettings=on'

# Set Default Editor
export EDITOR=nano

Offline

#12 2010-11-22 07:38:19

fsckd
Forum Fellow
Registered: 2009-06-15
Posts: 4,173

Re: [ SOLVED ] No Prompt in Terminal

What happens if you try terminal -e bash ?


aur S & M :: forum rules :: Community Ethos
Resources for Women, POC, LGBT*, and allies

Offline

#13 2010-11-22 08:15:19

whitetimer
Member
Registered: 2010-05-23
Posts: 207

Re: [ SOLVED ] No Prompt in Terminal

The same blank terminal screen

Going to delete my installation ...

Many thanks

Offline

Board footer

Powered by FluxBB