ssh to invoke shell in FEDORA 10


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers ssh to invoke shell in FEDORA 10
# 1  
Old 03-18-2009
Bug ssh to invoke shell in FEDORA 10

Hello sir.
I used to invoke the remote terminal in any 2 RED HAT 9 systems using the command :-
Quote:
ssh root@<ip address> gnome-terminal
But when I tried this on a FEDORA 8 or FEDORA 10 system.....it says that "cannot display".......Can you please tell me why is fedora distro not allowing me to do so? I need to invoke the remote terminal. I dont know anything other than "ssh".Can you please tell me the command if we can use some other command to do so ?
# 2  
Old 03-18-2009
If al you need is a terminal session, then just
Code:
ssh root@<ip address>

is all that you need, but if you want to run some gui apps then you will need X forwarding. Ensure that
Code:
AllowX11Forwarding              yes

is set correctly in your ssh servers config file (/etc/ssh/sshd_config)
and that
Code:
ForwardX11                      yes

is set in the clients config file (/etc/ssh/ssh_config)
also have a look at the man page for ssh particularly the -X and -Y options.
 
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Invoke webservice from unix shell

How do i invoke a SOAP based web service from a shell script. (0 Replies)
Discussion started by: rponugoti
0 Replies

2. UNIX for Dummies Questions & Answers

Invoke a shell script on new email in inbox

Hello all, Is there a way I can invoke a shell script when ever a new mail is delivered to my account in solaris? Something like .forward file, instead of forwarding it to another email id, I want the email to be passed onto some shell script. Basically I want to extract the envelop... (3 Replies)
Discussion started by: atukuri
3 Replies

3. Solaris

How to invoke remote java program from ssh

How can i invoke java program from MC1, when I connect remotely to execute can I set classpath etc. ____________ <-------------->____________________ |..................|<-------------->|...............................| |..................|<-------------->|...............................|... (2 Replies)
Discussion started by: vishnu559
2 Replies

4. Shell Programming and Scripting

Shell script to invoke options automatically

i have a script which has 2 options. a b And a has 6 sub options. i want to write a script which will call the parent script and give options automatically. examle: linasplg11:/opt/ss/kk/01.00/bin # startup.sh /opt/ss/rdm/01.00 Please select the component to... (2 Replies)
Discussion started by: Aditya.Gurgaon
2 Replies

5. Shell Programming and Scripting

How can i invoke SU command in shell script

Hi All , i am trying to switch user (from unix1 to unix 2 ) The user will give me the input and also the password . also how can i login into with the password . itried several attempts . no luck Can any one help on this !!! (4 Replies)
Discussion started by: raghav1982
4 Replies

6. Shell Programming and Scripting

Shell script to invoke db startup/shutdown

Hi all, I have a shell script which does db shutdown ..the script snippet which does this is as follows: function call_sql_plus { ${SQLPLUS:-sqlplus} -s /nolog <<EOF EXIT; EOF if then echo "Error occurred while calling sqlplus " ... (3 Replies)
Discussion started by: KrishnaSaran
3 Replies

7. UNIX for Dummies Questions & Answers

need to invoke a shell script from xml file.

hi all, forgive me if this question is not relevant to this section. i have a shell file that will automatically deploy the files that are necessary and will compile them. i need to automate this management process through cruise control, for this i need to know whether it is possible for me to... (2 Replies)
Discussion started by: sais
2 Replies

8. Shell Programming and Scripting

Bourne: How to invoke an alias from within a shell script

Bourne: How to invoke an alias from within a shell script If I type in the alias in the command line, it runs If I insert that same alias into my shell script and run the shell script, the alias is not invoked. Help please. (2 Replies)
Discussion started by: techshots
2 Replies

9. Shell Programming and Scripting

how to invoke shell script

hi everybody, i learning unix now only.Can u pls guide me in invoking a shell script.Actually i need to know how to write the command for invoking the shell script.Suppose the shell file name is count , then how i will write the command. thanks (1 Reply)
Discussion started by: gopa_mani
1 Replies

10. Linux

Setting up SSH on Fedora Linux

Hello, I have Fedora Linux core 3.0 installed on my computer and I want to let it allow SSH or Telnet connections so that I can access my files when I'm not home. Who can help me with doing that? Thank you, (3 Replies)
Discussion started by: HSN
3 Replies
Login or Register to Ask a Question