LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Terminal problems (https://www.linuxquestions.org/questions/linux-software-2/terminal-problems-4175441555/)

richtalia 12-15-2012 08:26 AM

Terminal problems
 
I am trying to run "anon-proxy,mix" in the terminal. When I press ALT-F2,and choose anon-proxy from the drop down box in the "RUN" box, the terminal comes on for a few seconds, and then disapears from sight and nothing happens. If I try again using another app, then it works perfectly & runs that app. How do I fix this? Thanks verymuch.... Am running ubuntu 11.10

Snark1994 12-15-2012 04:59 PM

Have you tried launching the terminal manually, and then running anon-proxy.mix from that? It sounds to me like the programme is running then exiting (potentially with an error) which causes the terminal to close because it was launched from the RUN dialog.

richtalia 12-15-2012 07:46 PM

Terminal problems
 
When I launch a terminal manually, it says: "Command not found", also, when I try to type-in my password, nothing happens, it just sits there as if I didn't type in anything at all. Can I uninstall terminal & re-down load it?? Thanks, Rich for your help.....

Snark1994 12-16-2012 03:07 AM

When does it say "Command not found"? As soon as you open your terminal? Or after you've typed in the command? When does it ask you for a password?

I think reinstalling the terminal is unlikely to help with your problem, but it is certainly possible to do.

richtalia 12-16-2012 07:41 AM

Terminal Problems
 
After typing in "anon-proxy" it says command not found. If I type in another app such as google-earth, it will ask for my password, and when I type in my password, it will hang, and not do anything...........Thanks.......Rich.......

schneidz 12-16-2012 08:34 AM

as a test can you run:
Code:

which anon-proxy
which uname
anon-proxy
uname -a -m -p
ps auxw | grep anon


Wim Sturkenboom 12-16-2012 12:59 PM

Quote:

Originally Posted by richtalia (Post 4850343)
... it will ask for my password, and when I type in my password, it will hang, and not do anything

Just type the password and press <enter>. While typing the password, you will not see anything happening as you experienced; that is normal.

richtalia 12-16-2012 09:37 PM

When I type my password, and hit enter, nothing happens. At this point, I could stare at the computer screen for 3 hrs, and nothing happens....

Wim Sturkenboom 12-16-2012 11:02 PM

It might be fully normal that nothing happens; at least it does not throw errors to you.

I'm not familiar with your software so can't say what must happen. Some programs don't automatically give you the command prompt back (e.g.when it is a daemon that runs in the background). Pressing <enter> another time might get it back.

You can open a second terminal and check if the program that you started is running. In that terminal, run the following command
Code:

ps -ef | grep anon-proxy
Below demonstrated for vi instead of anon-proxy
Code:

wim@aa0:~$ ps -ef |grep vi
wim      1875  1678  0 07:06 pts/0    00:00:00 vi abc.txt
wim      1895  1880  0 07:06 pts/1    00:00:00 grep vi
wim@aa0:~$

The line in bold shows that vi is running.

Please post the result back as well as results to the commands that Schneidz posted in post #6.

richtalia 12-17-2012 07:44 AM

Terminal problems
 
When I copy & pasted this:(ps-ef I grep anon proxy), the terminal responce was:-A all processes -C by command name
-N negate selection -G by real group ID (supports names)
-a all w/ tty except session leaders -U by real user ID (supports names)
-d all except session leaders -g by session OR by effective group name
-e all processes -p by process ID
T all processes on this terminal -s processes in the sessions given
a all w/ tty, including other users -t by tty
g OBSOLETE -- DO NOT USE -u by effective user ID (supports names)
r only running processes U processes for specified users
x processes w/o controlling ttys t by tty
*********** output format ********** *********** long options ***********
-o,o user-defined -f full --Group --User --pid --cols --ppid
-j,j job control s signal --group --user --sid --rows --info
-O,O preloaded -o v virtual memory --cumulative --format --deselect
-l,l long u user-oriented --sort --tty --forest --version
-F extra full X registers --heading --no-heading --context
********* misc options *********
-V,V show version L list format codes f ASCII art forest
-m,m,-L,-T,H threads S children in sum -y change -l format
-M,Z security data c true command name -c scheduling class
-w,w wide output n numeric WCHAN,UID -H process hierarchy

schneidz 12-17-2012 09:02 AM

^ you should copy and paste. the command should be
Code:

ps -ef | grep anon proxy
not ps-ef I grep anon proxy.

copy-and-paste each line 1-by-1 and report to us what the output is of each command. if it seems stuck, open a new terminal and continue there.

Wim Sturkenboom 12-17-2012 09:34 AM

Also, adding to schneidz' comment in post #11, your program is called 'anon-proxy', not 'anon proxy'

richtalia 12-17-2012 09:40 AM

I did copy and paste it correctly, however, when I described to you, I did the entry from my my " unreliable Diabetic memory.".........Rich...

richtalia 12-17-2012 09:43 AM

I am running Ubuntu 11.10, and am thinking of UPGRADING to 12.04: Do you think that this might solve this "TERMINAL PROBLEM" ???

Wim Sturkenboom 12-17-2012 12:06 PM

Quote:

Originally Posted by richtalia (Post 4850973)
I did copy and paste it correctly, however, when I described to you, I did the entry from my my " unreliable Diabetic memory.".........Rich...

Try it again ;) And copy and paste back the command (copy it from the terminal) and the results.

Quote:

Originally Posted by richtalia (Post 4850976)
I am running Ubuntu 11.10, and am thinking of UPGRADING to 12.04: Do you think that this might solve this "TERMINAL PROBLEM" ???

As we don't know what's wrong (if anything), we (or at least I) can not say :D

And we're still waiting for the results of scheidz' commands


All times are GMT -5. The time now is 04:42 AM.