[X2Go-Dev] [PATCH] Re: x2godesktopsharing SIGSEV - how to compile with debugging info?

Milan Knížek knizek.confy at gmail.com
Mon Feb 13 22:10:26 CET 2012


V Sun, 12 Feb 2012 22:48:02 +0100
Milan Knížek <knizek.confy at gmail.com> napsáno:

> Hello,
> 
> I get Segmentation fault when I right-click on x2godesktopsharing
> icon in the system tray and choose "Activate Desktop Sharing". (Arch
> Linux.)  

The segfault was due to non-existent "x2godesktopsharing" group in the
system.

This involves two matters:

x Arch Linux does not allow for group names longer then 16 characters.

x x2godesktopsharing should check for existence of the group and quit
nicely otherwise.

Since I am not a coder, I was able to solve only the first issue -
patches are attached. (The debian postinst script should probably
handle the original group name as well - e.g. move the members to the
new group.)

It would be nice if it is accepted upstream, since a similar limitation
might also exist on other *nix systems.

Regards,
Milan

-- 
http://www.milan-knizek.net/
About linux and photography (Czech only)
O linuxu a fotografování
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Fix-hardcoded-GROUP-name-to-x2godesktopshare-limited.patch
Type: text/x-patch
Size: 937 bytes
Desc: not available
URL: <http://lists.x2go.org/pipermail/x2go-dev/attachments/20120213/43abe46b/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0002-Fix-GROUP-name-in-debian-postinst-script-to-x2godesk.patch
Type: text/x-patch
Size: 896 bytes
Desc: not available
URL: <http://lists.x2go.org/pipermail/x2go-dev/attachments/20120213/43abe46b/attachment-0001.bin>


More information about the x2go-dev mailing list