Saturday, January 11, 2014

Pidgin - my favourite IM, and Skype crashing my X Session

Pidgin - Because all the protocols are in one place =)
Skype, MSN, FB, Steam, etc.
Unfortunately Skype's a nuisance and needs to be running for pidgin to incorporate it.

Pidgin works cross-platform so I can have my logs (at ~/.purple/logs) symlinked to my window's partition logs so cross-partitions they're all the same logs =)
I could also symlink some of the files as shown in the config file link below. 

Good cheatsheet for config files:
https://developer.pidgin.im/wiki/ConfigurationFiles

Learnt that account.xml contained saved passwords in plain text.
https://developer.pidgin.im/wiki/PlainTextPasswords

And that Pidgin 3.0 will support a keyring feature (Like KWallet, Secret Service)
https://developer.pidgin.im/wiki/KeyringSupport

Help Pidgin get there! https://developer.pidgin.im/roadmap

--------------------------------------------------------------------------------------------------

Speaking of Skype being a nuisance, for some reason when I logged into Skype my X session would crash, and the KDE log-in splash would display (logging back in). Since my KDE saves the previous session and restores it on login/boot, Skype would run and auto-login, and crash the session again, so I had to spam killall skype to stop the loop. 

Here is how I went about researching the bug trail to the fix:

[OK, so I wrote the intro above this line a couple of months ago and kind of forgot the whole process of how I got to the problem but here is a summary:]

While searching for a solution to the problem, I found this:
community.skype.com/t5/Linux/Skype-forces-reboot-on-Ubuntu-11-10/m-p/2844027
I may have used the search term I got while running skype in the terminal or something (still not too sure where Skype stores its logs)
Xlib: extension "RANDR" missing on display ":0.0".
skype: Fatal IO error 11 (Resource temporarily unavailable) on X server :0.0.
So my suspicions that it was related to the X server were confirmed, but I still didn't know the cause.
Then I found this:
http://ubuntuforums.org/showthread.php?t=2183029
And the work-around actually worked so now I hypothesise Skype loads some font loaded by X in "unix/:7100" and that supposedly caused it to crash.

The bug is in launchpad:
https://bugs.launchpad.net/ubuntu/+source/xorg-server/+bug/738526

I opted to comment out the part in my xorg.conf instead of going to the extreme of uninstalling XFS:
# Apparently comment the below out to stop Skype crashing X Session
# Or sudo apt-get remove xfs (X Font Server)
#Section "Files"
#    FontPath        "unix/:7100"
#EndSection

Edit: Skype dumps massive (read GBs) of log files. If you delete the folder ~/.Skype/Logs as per this link from Arch forums, it won't create logs any more. It's probably some nefarious NSA reporting method.

No comments:

Post a Comment