you mean to use this syntax<br>gcc -Wall -ggdb skypopen_auth.c -o skypopen_auth -lX11:101 ??<br><br>When i do echo $DISPLAY it says localhost:10.0<br>and when gcc -Wall -ggdb skypopen_auth.c -o skypopen_auth -lX11:$DISPLAY <br>
it says cannot find -lX11:localhost:10.0<br><br><br><div class="gmail_quote">On Mon, Jun 7, 2010 at 4:36 PM, Giovanni Maruzzelli <span dir="ltr"><<a href="mailto:gmaruzz@celliax.org">gmaruzz@celliax.org</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div class="im">On Mon, Jun 7, 2010 at 1:29 PM, Zuhair Raza<br>
<<a href="mailto:engineerzuhairraza@gmail.com">engineerzuhairraza@gmail.com</a>> wrote:<br>
> ok thanks.. but what about my question that skype didnot ask me to to<br>
> connect to skype API. and when i do either on ./skypopen_auth :101 or :0 it<br>
> says cannot open X display<br>
<br>
</div>I told you in previous mail.<br>
<br>
You need to launch skypopen_auth from the same ssh -X from which you<br>
launched the Skype client. And you must give skypopen_auth the correct<br>
xserver as an argument.<br>
You can use $DISPLAY, or you can check it with "echo $DISPLAY" and<br>
then use that value.<br>
<div><div></div><div class="h5"><br>
<br>
><br>
> On Mon, Jun 7, 2010 at 3:53 PM, Giovanni Maruzzelli <<a href="mailto:gmaruzz@celliax.org">gmaruzz@celliax.org</a>><br>
> wrote:<br>
>><br>
>> On Mon, Jun 7, 2010 at 12:45 PM, Zuhair Raza<br>
>> <<a href="mailto:engineerzuhairraza@gmail.com">engineerzuhairraza@gmail.com</a>> wrote:<br>
>> > Thanks for explanation Sir, One more question, please explain<br>
>> ><br>
>> > cd /root<br>
>> > mount /dev/hda5 /mnt<br>
>> > cp /mnt/root/skypeconfig2.tgz ./<br>
>> > tar xzf skypeconfig2.tgz<br>
>> > chown -R root.root .Skype<br>
>> ><br>
>> > According to wiki we haven't created a tgz file before that, but .Skype<br>
>> > directory at the server<br>
>><br>
>> If you do it with ssh -X (as pre the previous mail), you don't need a<br>
>> Skype config directory from another computer. You created that<br>
>> directory.<br>
>> So, just skip those steps.<br>
>><br>
>> -giovanni<br>
>><br>
>> ><br>
>> ><br>
>> > On Mon, Jun 7, 2010 at 12:07 PM, Giovanni Maruzzelli<br>
>> > <<a href="mailto:gmaruzz@celliax.org">gmaruzz@celliax.org</a>><br>
>> > wrote:<br>
>> >><br>
>> >> On Sun, Jun 6, 2010 at 6:52 PM, Zuhair Raza<br>
>> >> <<a href="mailto:engineerzuhairraza@gmail.com">engineerzuhairraza@gmail.com</a>> wrote:<br>
>> >> >> version. First i enter command at my freeswitch box under<br>
>> >> >> mod_skypopen/configs<br>
>> >> >><br>
>> >> >> gcc -Wall -ggdb skypopen_auth.c -o skypopen_auth -lX11<br>
>> >> >><br>
>> >> >> then I install xauth on server after that i ssh with x forwarding to<br>
>> >> >> my<br>
>> >> >> server from an another linux desktop and open skype by typing<br>
>> >> >> /usr/bin/skype, it launched skype client at Linux desktop but it<br>
>> >> >> didn't<br>
>> >> >> ask<br>
>> >> >> for connecting with skypopen api, although it creates ".Skype"<br>
>> >> >> directory on<br>
>> >><br>
>> >> After launching the skype client from the ssh -X session, you have to<br>
>> >> launch skypopen_auth from the same ssh -X session (giving the X server<br>
>> >> as an argument), eg: "./skypopen_auth $DISPLAY"<br>
>> >><br>
>> >> >> my server but when i load mod_skypopen it says could not find any<br>
>> >> >> skype<br>
>> >> >> instance and when i typed skypopen_auth it also says no skype<br>
>> >> >> instance<br>
>> >> >> found<br>
>> >> >> on X 0:0. Can anyone tell me where I have mistaken??<br>
>> >><br>
>> >> After having given the auth to the skype client, and closing it so it<br>
>> >> save that auth, you close the ssh -X session, and launch an X server<br>
>> >> and a skype client in the server, using the script in the configs<br>
>> >> directory (as explained in the wiki).<br>
>> >><br>
>> >> After having launched that script, you load mod_skypopen.<br>
>> >><br>
>> >> You MUST edit the script and the skypopen.conf.xml to use your own<br>
>> >> values for skype username and password.<br>
>> >><br>
>> >> --<br>
>> >> Sincerely,<br>
>> >><br>
>> >> Giovanni Maruzzelli<br>
>> >> Cell : +39-347-2665618<br>
>> >><br>
>> >> _______________________________________________<br>
>> >> FreeSWITCH-users mailing list<br>
>> >> <a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
>> >> <a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
>> >><br>
>> >> UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
>> >> <a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
>> ><br>
>> ><br>
>> ><br>
>> > --<br>
>> > Regards,<br>
>> > Zuhair Raza<br>
>> ><br>
>> ><br>
>> > _______________________________________________<br>
>> > FreeSWITCH-users mailing list<br>
>> > <a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
>> > <a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
>> > UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
>> > <a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
>> ><br>
>> ><br>
>><br>
>><br>
>><br>
>> --<br>
>> Sincerely,<br>
>><br>
>> Giovanni Maruzzelli<br>
>> Cell : +39-347-2665618<br>
>><br>
>> _______________________________________________<br>
>> FreeSWITCH-users mailing list<br>
>> <a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
>> <a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
>> UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
>> <a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
><br>
><br>
><br>
> --<br>
> Regards,<br>
> Zuhair Raza<br>
><br>
><br>
> _______________________________________________<br>
> FreeSWITCH-users mailing list<br>
> <a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
> <a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
> UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
> <a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
><br>
><br>
<br>
<br>
<br>
--<br>
Sincerely,<br>
<br>
Giovanni Maruzzelli<br>
Cell : +39-347-2665618<br>
<br>
_______________________________________________<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
</div></div></blockquote></div><br><br clear="all"><br>-- <br>Regards,<br>Zuhair Raza<br><br>