------- Comment From [email protected] 2014-07-29 13:54 EDT-------
There are 3 major problems with VNC on Ubuntu LE.

First, when compiling with gcc you have to use a compiler that contains
a fix for gcc bug 61300

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61300

Second, there is a storage allocation error in
Xvnc/programs/Xserver/dix/pixmap.c when it does not allocate enough
storage.

129c129
<     pPixmap = (PixmapPtr)xalloc(pScreen->totalPixmapSize + pixDataSize);
---
>     pPixmap = (PixmapPtr)xalloc(pScreen->totalPixmapSize + pixDataSize + 
> sizeof(DevUnion));

The above two things will get vncserver to run if it is compiled as a 32
bit program.  There is one additional change if you need a 64 bit
vncserver.  The header file Xvnc/include/Xmd.h does not properly detect
a 64 bit compilation and uses the wrong typedefs/defines

55c55
<
---
> #include <limits.h>
62c62
< #if defined(__alpha) || defined(__alpha__) || defined(__x86_64__)
---
> #if defined(__alpha) || defined(__alpha__) || defined(__x86_64__) || 
> ((defined(__WORDSIZE)) && (__WORDSIZE == 64))

After getting the server to run I ran into problems getting any window
managers to start properly (I tried several).  I did not determine if
that was from further problems in vncserver or in the window managers.

** Bug watch added: GCC Bugzilla #61300
   http://gcc.gnu.org/bugzilla/show_bug.cgi?id=61300

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1341829

Title:
  Cannot start vncserver in PPC Ubuntu 14.04 LE

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/tightvnc/+bug/1341829/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to