[X2go-dev] Compiling x2go Windows client

--[ UxBoD ]-- uxbod at splatnix.net
Wed Nov 10 11:02:21 CET 2010


----- Original Message -----
> ----- Original Message -----
> > ----- Original Message -----
> > > --[ UxBoD ]-- schrieb:
> > > > ----- Original Message -----
> > > >> Hello,
> > > >>
> > > >> Am 09.11.2010 16:45, schrieb --[ UxBoD ]--:
> > > >>> ----- Original Message -----
> > > >>> What I have noticed though it that the binary I compile is
> > > >>> huge
> > > >>> compared to the one that is shipped. Is that due to it being
> > > >>> in
> > > >>> some
> > > >>> sort of debug mode or has the binary been stripped ?
> > > >> please configure Qt for building "release" binaries (it looks
> > > >> like
> > > >> you're building the client in debug mode).
> > > >>
> > > >> best regards,
> > > >>
> > > >> Heinz
> > > >
> > > > Thanks Heinz.
> > > >
> > > > I have now compiled it as a release binary and it is a lot
> > > > smaller
> > > > now :) Still having the same problem though that when I launch
> > > > x2goclient it starts up vcxsrv, sshd and pulse okay; the x2go
> > > > status
> > > > screen changes to say Connecting and then it hangs :( What I
> > > > think
> > > > is happening is that vcxsrv is ignoring the display parameter
> > > > that
> > > > is passed to it. If I run xcalc -display localhost:0 that works;
> > > > though if I try xcalc -display:6000 it fails. I am guessing the
> > > > next
> > > > step should be the NX libraries etc starting. Any ideas ?
> > > Hello,
> > >
> > > 0 - Display number
> > > 6000 - TCP port
> > >
> > > TCP port = Display number + 6000
> > >
> > > regards
> >
> > Yep, but still not dice. It gets to the point of connecting and then
> > just hangs. I can see all the necessary processes running and
> > obviously X is working okay. Will check from the server side and see
> > if it is even attempting to start the session.
> 
> After watching the remote server the SSH session is not even being
> attempted to be established :( I have even tried setting the working
> directory back to being xming once vcxsrv has been started incase I
> was corrupting a path further down the chain; though still no joy. Any
> ideas please ?

I am now compiling the x2goclient as a release version but look at the difference in size to the one that is distributed:

C:\Program Files\x2goclient>dir x2goclient.exe
26/11/2009  10:11         4,915,200 x2goclient.exe

C:\Program Files\x2goclient>dir c:\x2goclient-3.01\release\x2goclient.exe
10/11/2010  09:32         1,699,840 x2goclient.exe

The one I have compiled is half the size! Where is the x2goclient.pro.windows file that is mentioned in README.WINDOWS as I cannot find it ??
-- 
Thanks, Phil



More information about the x2go-dev mailing list