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

mysql - FireDac error 314 - but DLLs are in program directory -

git - How to list all releases of public repository with GitHub API V3 -

c++ - Getting C2512 "no default constructor" for `ClassA` error on the first parentheses of constructor for `ClassB`? -