LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices

Reply
 
LinkBack Search this Thread
Old 11-24-2009, 01:26 PM   #16
frenchn00b
Senior Member
 
Registered: Jun 2007
Location: E.U., Mountains :-)
Distribution: Debian, Etch, the greatest
Posts: 2,545

Original Poster
Rep: Reputation: 49

Do I need to install XORG and x windows system core to do that ?

Code:
Hi, just like Alexmipego I'm trying to have Skype work on a headless (i.e. no gui) machine in order to drive it by APIs. I actually managed to have it running...
My first attempt was to run it on the machine, which is a vps I connect to through ssh, sending the gui to my local machine. This is useful to configure Skype, to grant access to Skype to your API-invoking-application the first time you run it, and so on.
It can be done installing xauth on the server ("apt-get install xauth" on debian based distributions, google "forward X session" for further informations) and then logging in with "ssh -X myServer.com".
Then, I want to run Skype on the server as a background process, in order to have it running even if I log out from the vps. You can do this installing Xvfb ("apt-get install xvfb"), that is a virtual X environment useful to run applications which need one, just like Skype. I use to launch it on display 2, typing
CODE
Xvfb :2 &
DISPLAY=:2
export DISPLAY
and then I'm able to run Skype in background, logging in from the command line thanks to the "--pipelogin" parameter, typing
 
Old 11-24-2009, 02:08 PM   #17
frenchn00b
Senior Member
 
Registered: Jun 2007
Location: E.U., Mountains :-)
Distribution: Debian, Etch, the greatest
Posts: 2,545

Original Poster
Rep: Reputation: 49
Do I need to install XORG and x windows system core to do that ?

Here please find teh code.

Code:
#!/bin/sh


killall -e skype

killall -e skype Xvfb

 Xvfb :2 &

 DISPLAY=:2 ; export DISPLAY ; skype &


while [ 1 ] ; do sleep 1h  ;  amixer -c 1 set 'Mic',0 100 ; done
Do I need to install XORG and x windows system core to do that, by using xfvb ?



--- - - -
 
Old 11-25-2009, 01:45 PM   #18
frenchn00b
Senior Member
 
Registered: Jun 2007
Location: E.U., Mountains :-)
Distribution: Debian, Etch, the greatest
Posts: 2,545

Original Poster
Rep: Reputation: 49
Do I need to install XORG and x windows system core to do that ?

Here please find teh code.

Code:
#!/bin/sh


killall -e skype

killall -e skype Xvfb

 Xvfb :2 &

 DISPLAY=:2 ; export DISPLAY ; skype &


while [ 1 ] ; do sleep 1h  ;  amixer -c 1 set 'Mic',0 100 ; done
Do I need to install XORG and x windows system core to do that, by using xfvb ?



--- - - -
 
Old 12-16-2009, 02:24 PM   #19
frenchn00b
Senior Member
 
Registered: Jun 2007
Location: E.U., Mountains :-)
Distribution: Debian, Etch, the greatest
Posts: 2,545

Original Poster
Rep: Reputation: 49
http://forum.skype.com/index.php?showtopic=89970
how to
 
Old 12-20-2009, 10:38 AM   #20
frenchn00b
Senior Member
 
Registered: Jun 2007
Location: E.U., Mountains :-)
Distribution: Debian, Etch, the greatest
Posts: 2,545

Original Poster
Rep: Reputation: 49
here we go a newer and greater version of the program to run skype without X.

Quote:
#!/bin/sh
killall -e skype Xvfb
Xvfb :5 &
### while [ 1 ] ; do #not working
DISPLAY=:5 ; export DISPLAY ; cat $HOME/.skypestartrc | skype --pipelogin
killall -e skype
sleep 1s
beep

Last edited by frenchn00b; 01-24-2010 at 05:52 PM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Getting Fring.com -like working for linux (voip, sip, skype together, and msn,icq...) frenchn00b General 1 04-20-2008 05:43 PM
skype is not working... Mr.mick-duck Mandriva 5 03-13-2008 03:20 PM
www not working but skype,amule kalleanka Linux - Networking 2 04-07-2007 07:58 AM
How to get skype working peterfc Linux - Desktop 3 08-30-2006 08:54 PM
skype not working after one call. d2490n Linux - Newbie 9 02-22-2006 03:19 AM


All times are GMT -5. The time now is 08:43 PM.

Main Menu
 
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration