Linux Hack: a way to get that Skype working without X
Linux - GeneralThis 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
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
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
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.