LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   Linux Hack: a way to get that Skype working without X (https://www.linuxquestions.org/questions/linux-general-1/linux-hack-a-way-to-get-that-skype-working-without-x-654372/)

frenchn00b 07-08-2008 02:16 PM

Linux Hack: a way to get that Skype working without X
 
Hello,

For Linux box and servers that runs without X. Gonna we hack that Skype to make it automatically replying contact calls without X. we can set skype options it up with a ssh -X when we admin the box.

Hacking skype cannot be bad at all...

trickykid 07-08-2008 02:24 PM

You may want to read this: http://www.skype.com/legal/terms/web/

And then read the End User License Agreement before you start hacking away. http://www.skype.com/legal/eula/

Specifically note section 2.3:

Quote:

2.3 No Modifications: You will not undertake, cause, permit or authorize the modification, creation of derivative works, translation, reverse engineering, decompiling, disassembling or hacking of the Skype Software or any part thereof except to the extent permitted by law.
So I'd say, whatever you have planned is illegal and no one here should be able to help you.

trickykid 07-08-2008 02:30 PM

Now if you wanted to create a third party type application to use Skype's API, then this would be the route to go: https://developer.skype.com/Certification/Software

frenchn00b 07-08-2008 02:31 PM

Quote:

Originally Posted by trickykid (Post 3207909)
You may want to read this: http://www.skype.com/legal/terms/web/

And then read the End User License Agreement before you start hacking away. http://www.skype.com/legal/eula/

Specifically note section 2.3:



So I'd say, whatever you have planned is illegal and no one here should be able to help you.

Oups :( :(
Didnt know.

But would you think that running without X is illegal? I mean we could run it in a virtual way (we don't modify the coding of skype bin file) ? no? Any ideas?

matthewg42 07-08-2008 02:38 PM

Is there some way to communicate with a running Skype process using something like dcop, or by invoking the binary with command line options?

If so, you could run Skype on a dummy x server which doesn't need a display, like Xvfb, and use dcop or some similar mechanism to initiate calls and so on.

trickykid 07-08-2008 02:39 PM

To my knowledge, skype is a graphical program that uses X to function properly. Unless they have a console program available, see above options I provided from their site.

If you want some type of VOIP to reply to calls without any interaction or X, perhaps you should look into setting up asterisk and not use Skype services.

frenchn00b 07-08-2008 03:32 PM

Quote:

Originally Posted by matthewg42 (Post 3207928)
Is there some way to communicate with a running Skype process using something like dcop, or by invoking the binary with command line options?

If so, you could run Skype on a dummy x server which doesn't need a display, like Xvfb, and use dcop or some similar mechanism to initiate calls and so on.

I also thought about the virtual X that runs :
metisse X windwos manager in the processes (no real X)

or that virtual X Xwd.. something, cant recall the name.

...
in that way, that s Legal... ! no?

it is a real X, that simply runs into the process. ps -aux.

http://insitu.lri.fr/metisse/docs/running.html

xvncserver runnning in the process, is also a very good example of some X "hack"... well another type and purpose

frenchn00b 10-18-2009 08:49 AM

still nothing in that field; but importnat is to say that skype No X has an alternative, now:


http://www.pjsip.org/pjsua.htm

it can do voip command line; no x

craigevil 10-18-2009 09:26 AM

Might try skyped along with bitlbee

$ apt-cache show skyped
Package: skyped
Priority: extra
Section: contrib/net
Installed-Size: 76
Maintainer: David Spreen <netzwurm@debian.org>
Architecture: i386
Source: bitlbee-skype
Version: 0.7.2-1
Depends: python (>= 2.5), python-gnutls, python-skype (>= 0.9.28.7)
Recommends: skype
Filename: pool/contrib/b/bitlbee-skype/skyped_0.7.2-1_i386.deb
Size: 41538
MD5sum: 2527abc6b18e6bc4be0c32007e95c306
SHA1: b6c155d321bb5da4aa24b1f81899d42f940a729d
SHA256: e68aa8d4075889deed17ea0883f92e0388432a0c9eff3c97c8c4ded069866b54
Description: Daemon to control Skype remotely
Daemon to control the gui skype client. Currently required to
control skype from the BitlBee IRC2IM gateway. Skyped and Skype
can run on a different host than the BitlBee server, the
communication is encrypted.
.
You need to download and install the Skype client for this
to work.
Homepage: http://vmiklos.hu/project/bitlbee-skype/

frenchn00b 10-18-2009 10:22 AM

Quote:

Originally Posted by craigevil (Post 3723789)
Might try skyped along with bitlbee

$ apt-cache show skyped
Package: skyped
Priority: extra
Section: contrib/net
Installed-Size: 76
Maintainer: David Spreen <netzwurm@debian.org>
Architecture: i386
Source: bitlbee-skype
Version: 0.7.2-1
Depends: python (>= 2.5), python-gnutls, python-skype (>= 0.9.28.7)
Recommends: skype
Filename: pool/contrib/b/bitlbee-skype/skyped_0.7.2-1_i386.deb
Size: 41538
MD5sum: 2527abc6b18e6bc4be0c32007e95c306
SHA1: b6c155d321bb5da4aa24b1f81899d42f940a729d
SHA256: e68aa8d4075889deed17ea0883f92e0388432a0c9eff3c97c8c4ded069866b54
Description: Daemon to control Skype remotely
Daemon to control the gui skype client. Currently required to
control skype from the BitlBee IRC2IM gateway. Skyped and Skype
can run on a different host than the BitlBee server, the
communication is encrypted.
.
You need to download and install the Skype client for this
to work.
Homepage: http://vmiklos.hu/project/bitlbee-skype/

here are the screenshots http://vmiklos.hu/project/bitlbee-skype/shot/

I installed skyped and asciidoc Skype4Py too
but still no way to install :
bitlbee-skype-0.8.0


ok, got it from http://ftp.is.debian.org/debian/pool...7.2-1_i386.deb

so all seems installed ;... hmm
Code:

bitlbee-skype-0.8.0# make
make: Nothing to be done for `all'.

error:
Quote:

:/usr/sbin$ ./bitlbee
Warning: Unable to read configuration file `/etc/bitlbee/bitlbee.conf'.
:localhost.localdomain NOTICE AUTH :BitlBee-IRCd initialized, please go on
ERROR :Warning: Permission problem: Can't read/write from/to `/var/lib/bitlbee/'.

frenchn00b 10-18-2009 10:31 AM

Code:

Permissions question
I'm trying to run bitlbee, but when I run the program I get the following message:
Quote:
ERROR :Warning: Permission problem: Can't read/write from/to /var/lib/bitlbee/.
My question is, would it be stupid to change the permissions on /var/lib/bitlbee, or should I redirect bitlbee to use a different directory, like ./.bitlbee/ or something to store it's config files?

mkdir .skyped
Quote:

openssl req -new -x509 -days 365 -nodes -config skyped.cnf -out skyped.cert.pem \
> -keyout skyped.key.pem
error on line -1 of skyped.cnf
19673:error:02001002:system library:fopen:No such file or directory:bss_file.c:122:fopen('skyped.cnf','rb')
19673:error:2006D080:BIO routines:BIO_new_file:no such file:bss_file.c:125:
19673:error:0E078072:configuration file routines:DEF_LOAD:no such file:conf_def.c:197:

frenchn00b 10-18-2009 10:45 AM

and what about :

openmcu

and

ohphone

they are in the repositories
but well :( ohphone does not handle alsa

frenchn00b 10-18-2009 02:19 PM

isnt there some no-x way for the testing debian, somehow?

Code:

apt-cache search skype
skytools - Database management tools from Skype to PostgreSQL
python-skype - Skype API wrapper for Python
skysentials - extra functionalities for Linux Skype client


craigevil 10-19-2009 02:51 AM

$ aptitude search ~nskype
p bitlbee-plugin-skype - Skype plugin for BitlBee
p python-skype - Skype API wrapper for Python
p skyped - Daemon to control Skype remotely

$ apt-cache search skype
earcandy - Sound level manager for PulseAudio
skytools - Database management tools from Skype to PostgreSQL
bitlbee-plugin-skype - Skype plugin for BitlBee
python-skype - Skype API wrapper for Python
skyped - Daemon to control Skype remotely
skysentials - extra functionalities for Linux Skype client

frenchn00b 11-02-2009 02:58 PM

Quote:

Originally Posted by craigevil (Post 3724598)
$ aptitude search ~nskype
p bitlbee-plugin-skype - Skype plugin for BitlBee
p python-skype - Skype API wrapper for Python
p skyped - Daemon to control Skype remotely

$ apt-cache search skype
earcandy - Sound level manager for PulseAudio
skytools - Database management tools from Skype to PostgreSQL
bitlbee-plugin-skype - Skype plugin for BitlBee
python-skype - Skype API wrapper for Python
skyped - Daemon to control Skype remotely
skysentials - extra functionalities for Linux Skype client

it seems that the bitlbee is hte only reliable application that can do something.


All times are GMT -5. The time now is 07:28 PM.