[winswitch] Server only?

Antoine Martin antoine at nagafix.co.uk
Thu May 2 12:36:31 BST 2013


On 05/02/2013 06:34 PM, Michael Klitgaard wrote:
> So, more errors :)
> 
> It seems the glib in python2.6 on CentOS6 does not have glib.threads_init()
> 
> I can see that there is a workaraound for xpra:
> http://xpra.org/trac/ticket/11 <http://xpra.org/trac/ticket/114#comment:3>4
> 
> could this also work for winswitch?
> 
> Here is the output of winswitch server:
> 
> [root at a6134s01 winswitch-0.12.18]# winswitch_server
> [DD] 2013/02/05 13:25:54.162540 main_loop.loop_init(False)
> Traceback (most recent call last):
>   File "/usr/bin/winswitch_server", line 5, in <module>
>     server_wrapper.main()
>   File
> "/usr/lib/python2.6/site-packages/winswitch/server/server_wrapper.py", line
> 50, in main
>     from winswitch.server.controller import WinSwitchServer
>   File "/usr/lib/python2.6/site-packages/winswitch/server/controller.py",
> line 20, in <module>
>     reactor = loop_init(False)
>   File "/usr/lib/python2.6/site-packages/winswitch/util/main_loop.py", line
> 21, in loop_init
>     glib.threads_init()
> AttributeError: 'module' object has no attribute 'threads_init'
This is already fixed in trunk:
https://winswitch.org/trac/changeset/5154

I will have to make a new release... on my TODO list.

Cheers
Antoine



> 
> 
> 
> 
> 
> On Thu, May 2, 2013 at 1:11 PM, Michael Klitgaard <michael at klitgaard.dk>wrote:
> 
>> It is working now, thanks!
>>
>> libXfont did the trick. You are obviously better at googling than me :)
>>
>> I will try my luck with compiling winswitch from source.
>>
>> Thank you for the help!
>>
>>
>> Sincerely
>> Michael
>>
>> On Thu, May 2, 2013 at 12:39 PM, Antoine Martin <antoine at nagafix.co.uk>wrote:
>>
>>> On 05/02/2013 05:05 PM, Michael Klitgaard wrote:
>>>> Thanks for the input.
>>>>
>>>> xorg-x11-server-utils was not installed.
>>>>
>>>> I can't find the package:
>>>> xorg-x11-fonts-base
>>>>
>>>> It does not seem to be in:
>>>> http://mirror.centos.org/centos/6/os/x86_64/Packages/
>>>>
>>>>
>>>> Is it in xorg-x11-fonts-misc, here it states:
>>>>
>>> http://pkgs.org/centos-6-rhel-6/centos-rhel-i386/xorg-x11-fonts-misc-7.2-9.1.el6.noarch.rpm.html
>>>>
>>>>
>>>> Provides
>>>> xorg-x11-fonts-base
>>>>
>>>> Even after the installation, I have the same error, and the same log..
>>> googling suggests:
>>> yum -y install libXfont
>>>
>>> See also:
>>>
>>> http://stackoverflow.com/questions/8817196/problems-with-bundling-xvfb-into-application
>>>
>>>
>>>
>>>
>>>>
>>>>
>>>> On Thu, May 2, 2013 at 11:36 AM, Antoine Martin <antoine at nagafix.co.uk
>>>> <mailto:antoine at nagafix.co.uk>> wrote:
>>>>
>>>>     On 05/02/2013 04:28 PM, Michael Klitgaard wrote:
>>>>     > I do not know if it is related, but I have problems starting xpra.
>>>>     >
>>>>     > If I do:
>>>>     > xpra start :7
>>>>     >
>>>>     > The log says:
>>>>     >
>>>>     > [mkl at a6134s01 .xpra]$ cat :7.log
>>>>     (snip)
>>>>     > [dix] Could not init font path element
>>> catalogue:/etc/X11/fontpath.d,
>>>>     > removing from list!
>>>>     > [dix] Could not init font path element built-ins, removing from
>>> list!
>>>>     >
>>>>     > Fatal server error:
>>>>     > could not open default font 'fixed'
>>>>     > could not connect to X server on display ':7' after 3 seconds
>>>>     > 2013-05-02 11:23:19,967 removing socket
>>>>     > /home/mkl/.xpra/a6134s01.wpcorpnet.com-7
>>>>     A quick googling tells me you need some font package or library.
>>>>     I think you need all of those:
>>>>     xorg-x11-font-utils
>>>>     xorg-x11-server-utils
>>>>     xorg-x11-fonts-base
>>>>     xorg-x11-fonts-misc
>>>>     Let me know which one is missing from the RPM dependency list and
>>> I'll
>>>>     add it for the next release.
>>>>
>>>>     Cheers
>>>>     Antoine
>>>>
>>>>     >
>>>>     > What am I doing wrong?
>>>>     >
>>>>     >
>>>>     > Sincerely
>>>>     > Michael
>>>>     >
>>>>     >
>>>>     > On Thu, May 2, 2013 at 11:09 AM, Michael Klitgaard
>>>>     <michael at klitgaard.dk <mailto:michael at klitgaard.dk>>wrote:
>>>>     >
>>>>     >> Hello,
>>>>     >>
>>>>     >> I have a linux cluster, and I have installed xpra on it a
>>>>     frontend, it is
>>>>     >> running CentOS 6.3.
>>>>     >> Can my winswitch on my machine (windows xp) connect to this, or
>>>>     do I need
>>>>     >> to install winswitch on the server?
>>>>     >>
>>>>     >> I have some problems installing winswitch. If I need to install
>>>>     winswitch
>>>>     >> on the server, is there a way to install a 'minimal' winswitch,
>>>>     which only
>>>>     >> works as a server and does not have dependencies on eg. nx?
>>>>     >> I don't see any use for the graphical docked tool on the server.
>>>>     >>
>>>>     >>
>>>>     >> Sincerely
>>>>     >> Michael
>>>>     >>
>>>>     > _______________________________________________
>>>>     > shifter-users mailing list
>>>>     > shifter-users at lists.devloop.org.uk
>>>>     <mailto:shifter-users at lists.devloop.org.uk>
>>>>     > http://lists.devloop.org.uk/mailman/listinfo/shifter-users
>>>>     >
>>>>
>>>>     _______________________________________________
>>>>     shifter-users mailing list
>>>>     shifter-users at lists.devloop.org.uk
>>>>     <mailto:shifter-users at lists.devloop.org.uk>
>>>>     http://lists.devloop.org.uk/mailman/listinfo/shifter-users
>>>>
>>>>
>>>
>>>
>>
> _______________________________________________
> shifter-users mailing list
> shifter-users at lists.devloop.org.uk
> http://lists.devloop.org.uk/mailman/listinfo/shifter-users
> 




More information about the shifter-users mailing list