1) ROX-Filer:
When I r-click an empty space on the desktop and select Terminal, it opens ROX-Terminal but immediatelt asks me for my user password in that terminal, a la:
I can input my userpass and all is well but it's new behaviour and was wondering if someone could help me track down why/how it's happening.
Thanks.
5 posts
• Page 1 of 1
-
Posts: 19
- Joined: 07 Aug 2013
-
Posts: 1,308
- Joined: 31 Aug 2009
#2
What window manager are you using? I can't reproduce this in either Fluxbox or IceWM. Is this related to RoxFiler somehow?
Since the prompt is happening inside the RoxTerm then it is coming from a program or script being run inside of RoxTerm.
Does the same thing happen if you launch RoxTerm via Applications --> ROXTerm ?
Does it happen if you launch Roxterm from inside another terminal window?
Does it happen when you launch urxvt (or any other terminal program)?
Does it happen when you switch to a virtual console and log in from there?
If it only happens from that one menu entry then check the menu file. The menus are controlled by the files ~/.fluxbox/menu and ~/.icewm/menu. The fluxbox entry should look like:
The IceWM entry should look like:If you are using a different WM then the file will be in a different location but the idea is the same.
If it happens in most circumstances above then look at your ~/.bashrc file and your ~/.profile file. It is likely that one of them is calling a program that requests your password.
If it only happens when you launch roxterm but not otherwise then the problem is with the roxterm configuration. In roxterm go to Preferences --> Edit Current Profile --> Command and make sure it is set to"Default Shell".
Since the prompt is happening inside the RoxTerm then it is coming from a program or script being run inside of RoxTerm.
Does the same thing happen if you launch RoxTerm via Applications --> ROXTerm ?
Does it happen if you launch Roxterm from inside another terminal window?
Does it happen when you launch urxvt (or any other terminal program)?
Does it happen when you switch to a virtual console and log in from there?
If it only happens from that one menu entry then check the menu file. The menus are controlled by the files ~/.fluxbox/menu and ~/.icewm/menu. The fluxbox entry should look like:
Code: Select all
[exec] (Terminal) {roxterm}
Code: Select all
prog"Terminal" xterm roxterm
If it happens in most circumstances above then look at your ~/.bashrc file and your ~/.profile file. It is likely that one of them is calling a program that requests your password.
If it only happens when you launch roxterm but not otherwise then the problem is with the roxterm configuration. In roxterm go to Preferences --> Edit Current Profile --> Command and make sure it is set to"Default Shell".
-
Posts: 19
fiver22 - Joined: 07 Aug 2013
#3
You have fixed my issue and I thank you!
It is Fluxbox. I can't say if it's related to RoxFiler -is there a way I could tell?BitJam wrote:What window manager are you using? I can't reproduce this in either Fluxbox or IceWM. Is this related to RoxFiler somehow?
I don't understand that question, the screenshot you see is what I see immediately when I open RoxTerm via r-click>Terminal.BitJam wrote:Since the prompt is happening inside the RoxTerm then it is coming from a program or script being run inside of RoxTerm.
Yes, it does.BitJam wrote:Does the same thing happen if you launch RoxTerm via Applications --> ROXTerm ?
Yes, it does.BitJam wrote:Does it happen if you launch Roxterm from inside another terminal window?
No, it does not happen with any other terminal.BitJam wrote:Does it happen when you launch urxvt (or any other terminal program)?
No, it does not.BitJam wrote:Does it happen when you switch to a virtual console and log in from there?
As I'm not sure I understand exactly what I'm looking for I thought I'd paste the file here in hopes that you can see an issue:BitJam wrote:If it only happens from that one menu entry then check the menu file. The menus are controlled by the files ~/.fluxbox/menu and ~/.icewm/menu. The fluxbox entry should look like:The IceWM entry should look like:Code: Select all
[exec] (Terminal) {roxterm}
If you are using a different WM then the file will be in a different location but the idea is the same.Code: Select all
prog"Terminal" xterm roxterm
Code: Select all
[begin] (--antiX--)
[exec] (Terminal) {roxterm}
[exec] (Files) {antiX-FileManager.sh}
[exec] (Editor) {leafpad}
[exec] (Browser) {iceweasel}
[separator]
[submenu] (Applications)
[begin] (Applications)
[include] (~/.fluxbox/applications)
[end]
[submenu] (Desktop)
[exec] (RoxPanel on/off) {paneltoggle.sh}
[exec] (RoxPinboard on/off) {icons-toggle.sh rox}
[separator]
[exec] (SpaceFM-desktop on/off) {icons-toggle.sh space}
[exec] (Conky on/off) {conkytoggle.sh}
[end]
[submenu] (Fluxbox Settings)
[exec] (Auto Update Menu) {auto-fluxbox-menu.sh}
[separator]
[config] (Configuration)
[submenu] (Styles) {Style}
[stylesdir] (~/.fluxbox/styles)
[stylesmenu] (Fluxbox Styles) {/usr/share/fluxbox/styles}
[end]
[exec] (Wallpapers) {wallpaper.py}
[separator]
[workspaces] (Workspaces)
[separator]
[reconfig] (Reconfigure)
[restart] (Restart)
[end]
[submenu] (System)
[submenu] (Tools)
[exec] (System Information) {inxi-gui}
[exec] (MC) {roxterm -e mc}
[exec] (Nano) {roxterm -e nano}
[exec] (Process Viewer) {roxterm -e htop}
[exec] (App Killer) {xkill}
[exec] (Add .desktop Files) {ktsuss adddesktop.sh}
[end]
[submenu] (Shells)
[exec] (Bash) {urxvt -e bash --login}
[exec] (Urxvt) {urxvt -tr -sh 65 -fg white}
[exec] (Urxvt Tabs) {urxvt -pe tabbed}
[exec] (Root Terminal) {ktsuss roxterm}
[end]
[submenu] (Programming)
[exec] (Python) {roxterm -e python2.7}
[exec] (Tclsh8.5) {roxterm -e tclsh8.5}
[end]
[end]
[separator]
[exec] (Run) {gexec}
[exec] (Control Centre) {antixcc.sh}
[exec] (Unplug usb) {unplugdrive.sh}
[separator]
[submenu] (Help)
[submenu] (antiX)
[exec] (FAQ) {dillo /usr/share/antiX/FAQ/index.html}
[exec] (Live How-To) {dillo /usr/share/antiX/Boot_Menu/antiX-gfxboot.html}
[exec] (Rox Manual) {dillo http://roscidus.com/Manual/Manual/Manual.html}
[end]
[separator]
[submenu] (Fluxbox)
[exec] (FAQ) {dillo http://fluxbox-wiki.org/index.php/Faqs}
[exec] (Wiki) {dillo http://fluxbox-wiki.org/index.php/Fluxbox-wiki}
[exec] (Docs) {dillo http://fluxbox.sourceforge.net/docbook/en/html}
[separator]
[exec] (Arch Wiki) {dillo http://wiki.archlinux.org/index.php/Fluxbox}
[end]
[submenu] (Man Pages)
[exec] (Terminal) {roxterm -e man urxvt}
[exec] (Nano) {roxterm -e man nano}
[exec] (MC) {roxterm -e man mc}
[end]
[end]
[separator]
[exec] (Exit) {exitantix.sh}
[end]
I should point out that I'm using zsh instead of bash. Looking at the two files you mentioned I saw nothing that indicated calling for a passwword (but then again, I'm not very good at reading config files)BitJam wrote:If it happens in most circumstances above then look at your ~/.bashrc file and your ~/.profile file. It is likely that one of them is calling a program that requests your password.
AHA! -It was set to 'SSH', which would explain why the prompt was listing 'fiver22@localhost's password:'BitJam wrote:If it only happens when you launch roxterm but not otherwise then the problem is with the roxterm configuration. In roxterm go to Preferences --> Edit Current Profile --> Command and make sure it is set to"Default Shell".
You have fixed my issue and I thank you!
-
Posts: 1,308
- Joined: 31 Aug 2009
#4
We have code available that makes it very easy to create and customize a fancy Zsh prompt.
I have the following in my .zshrc:If you don't already have a precmd() function then you can leave that all out and just source the fancy-prompts.zsh file because it contains a default precmd(). If you have a custom precmd() then it must be defined after you source fancy-prompts.zsh.
Make sure it works manually first by trying it from the command line:Use"prompt-fancy -h" to get instruction on how to customize the prompts via command line parameters.
I've attached a screen shot of one of the more complex prompts called prompt-curl. It provides a lot of contextual information while still giving you plenty of room to type in commands. It's in a borderless semi-transparent urxvt terminal with part of the Rainbow Bridge in Tokyo as the background.
Excellent! I started working on antiX persistence to make it easy for me to add Zsh to the antiX LiveUSB.fiver22 wrote:I should point out that I'm using zsh instead of bash.
We have code available that makes it very easy to create and customize a fancy Zsh prompt.
I have the following in my .zshrc:
Code: Select all
source /usr/local/bin/fancy-prompts.zsh
precmd() {
case"$TERM" in
rxvt*) print -Pn"\e]2; ${TERM%%-*} ${COLUMNS}x$LINES %~\a" ;;
esac
fancy-prompts-precmd
}
prompt-curl -l 1
Make sure it works manually first by trying it from the command line:
Code: Select all
source /usr/local/bin/fancy-prompts.zsh
prompt-fancy
I've attached a screen shot of one of the more complex prompts called prompt-curl. It provides a lot of contextual information while still giving you plenty of room to type in commands. It's in a borderless semi-transparent urxvt terminal with part of the Rainbow Bridge in Tokyo as the background.
-
Posts: 19
- Joined: 07 Aug 2013
#5
That's very pretty and impressive. Especially seeing how all I did was apt-get install zsh and follow the instructions here:
========= SCRAPER REMOVED AN EMBEDDED LINK HERE ===========
url was:"https://github.com/robbyrussell/oh-my-zsh"
linktext was:"https://github.com/robbyrussell/oh-my-zsh"
====================================
and chose a simple theme from
========= SCRAPER REMOVED AN EMBEDDED LINK HERE ===========
url was:"https://github.com/robbyrussell/oh-my-zsh/wiki/themes"
linktext was:"https://github.com/robbyrussell/oh-my-zsh/wiki/themes"
====================================
__{{emoticon}}__
I did it on a whim while coming across oh-my-zsh whilst surfing and now I can't live without it.
Thanks once again for figuring out my issue -it might have seemed small but things like that really bug me.
========= SCRAPER REMOVED AN EMBEDDED LINK HERE ===========
url was:"https://github.com/robbyrussell/oh-my-zsh"
linktext was:"https://github.com/robbyrussell/oh-my-zsh"
====================================
and chose a simple theme from
========= SCRAPER REMOVED AN EMBEDDED LINK HERE ===========
url was:"https://github.com/robbyrussell/oh-my-zsh/wiki/themes"
linktext was:"https://github.com/robbyrussell/oh-my-zsh/wiki/themes"
====================================
__{{emoticon}}__
I did it on a whim while coming across oh-my-zsh whilst surfing and now I can't live without it.
Thanks once again for figuring out my issue -it might have seemed small but things like that really bug me.
BitJam wrote:Excellent! I started working on antiX persistence to make it easy for me to add Zsh to the antiX LiveUSB.fiver22 wrote:I should point out that I'm using zsh instead of bash.
We have code available that makes it very easy to create and customize a fancy Zsh prompt.
I have the following in my .zshrc:If you don't already have a precmd() function then you can leave that all out and just source the fancy-prompts.zsh file because it contains a default precmd(). If you have a custom precmd() then it must be defined after you source fancy-prompts.zsh.Code: Select all
source /usr/local/bin/fancy-prompts.zsh precmd() { case"$TERM" in rxvt*) print -Pn"\e]2; ${TERM%%-*} ${COLUMNS}x$LINES %~\a" ;; esac fancy-prompts-precmd } prompt-curl -l 1
Make sure it works manually first by trying it from the command line:Use"prompt-fancy -h" to get instruction on how to customize the prompts via command line parameters.Code: Select all
source /usr/local/bin/fancy-prompts.zsh prompt-fancy
I've attached a screen shot of one of the more complex prompts called prompt-curl. It provides a lot of contextual information while still giving you plenty of room to type in commands. It's in a borderless semi-transparent urxvt terminal with part of the Rainbow Bridge in Tokyo as the background.