java - Command execution in ubuntu -


my server running on os ubuntu 10.4.

when run command "skype -callto userid" makes call using skype user interface.

but when run same command connecting via ssh or

java code

runtime.getruntime().exec(command), not working.

what reason of such behavior?

i guess problem skype needs x server run properly. enable x11 forwarding.

x11 forwarding needs configured on client , server side:

on server side enable x11 forwarding setting x11forwarding yes in /etc/ssh/sshd_config , restarting ssh service service sshd restart. might need install xauth on server side.

on client side need open ssh connection -x parameter enable x11 forwarding session.


Comments

Popular posts from this blog

html - Firefox flex bug applied to buttons? -

html - Missing border-right in select on Firefox -

c# - two queries in same method -