[X2go-Dev] Can not use FreeNX alongside latest X2Go packages

Stefan Baur newsgroups.mail2 at stefanbaur.de
Sat Dec 17 23:40:35 CET 2011


Am 17.12.2011 22:06, schrieb Mike Gabriel:
>
>> So I should add
>> deb http://packages.x2go.org/debian squeeze heuler
>> to my sources.list, is that correct?
>
>
> Yes!

Okay, so I guessed right...

[snip]

> I would try this:
>
> Purge everything NX'ish, X2Go'ish...
> Install NX packages from packages.x2go.org squeeze heuler
> Install FreeNX from Launchpad (lucid)
> Install the rest of X2Go from packages.x2go.org squeeze main (or heuler)
>
I tried something different (before I received your message), and that 
seems to have helped:

First, I changed the relevant lines of /etc/apt/sources.list like so:

# X2go Repository
deb http://packages.x2go.org/debian squeeze heuler
deb http://packages.x2go.org/debian squeeze main
# X2go Repository (sources)
deb-src http://packages.x2go.org/debian squeeze main

deb http://ppa.launchpad.net/freenx-team/ppa/ubuntu lucid main
deb-src http://ppa.launchpad.net/freenx-team/ppa/ubuntu lucid main

then I ran apt-get update

I did *not* run apt-get upgrade or dist-upgrade, as this would probably 
have pulled x2go* from heuler.
Instead, I ran apt-get dist-upgrade -s to receive a list of the packages 
that were to be upgraded, and made a note of all the freenx* and lib* 
files listed.
First, I tried apt-get install <listofrelevantpackages>, but that 
wouldn't help, as again the system believed to already have the current 
packages installed, so I tried apt-get remove <listofrelevantpackages> 
followed by apt-get install <listofrelevantpackages>.

Then I removed the heuler line from the /etc/apt/sources.list file and 
ran apt-get update again (to make sure I don't accidentally pull stuff 
from heuler on the next upgrade).

That seems to have helped, I now have:
ii cups-x2go 3.0.0.3-0~x2go1+squeeze~main~54~build1 X2GO printer for CUPS
ii freenx 0.7.3.git110520.3884279-0ubuntu1ppa4 Remote 
desktop/application/thin-client server
rc freenx-media 0.7.3+teambzr104-0freenxteam1~intrepid1 Remote 
desktop/application/thin-client server media support
ii freenx-rdp 0.7.3.git110520.3884279-0ubuntu1ppa4 Remote 
desktop/application/thin-client server RDP proxy
ii freenx-server 0.7.3+teambzr104-0freenxteam1~intrepid1 Remote 
desktop/application/thin-client server core features
ii freenx-session-launcher 0.7.3.git110520.3884279-0ubuntu1ppa4 Remote 
desktop/application/thin-client server ConsoleKit helper
ii freenx-smb 0.7.3.git110520.3884279-0ubuntu1ppa4 Remote 
desktop/application/thin-client server smb support
ii freenx-vnc 0.7.3.git110520.3884279-0ubuntu1ppa4 Remote 
desktop/application/thin-client server VNC proxy
ii libnx-x11 2:3.5.0-0~x2go1+squeeze~heuler~20111206~128~build1 nx-X11 
(NoMachine)
ii libxcomp1 2.1.0dol1 NoMachine NX - NX compression library
ii libxcomp3 2:3.5.0-0~x2go1+squeeze~heuler~20111206~128~build1 NX X 
compression library
ii libxcompext1 2.1.0dol1 NoMachine NX - NX compression library
ii libxcompext3 2:3.5.0-0~x2go1+squeeze~heuler~20111206~128~build1 NX 
X11 protocol compression extensions library
ii libxcompshad3 2:3.5.0-0~x2go1+squeeze~heuler~20111206~128~build1 NX 
shadowing library
ii nx-common 0.3.1+svn59-0~ppa1~lucid1 NX server common package.
ii nxagent 1:3.5.0-1-2-0ubuntu1ppa8 X server for remote access
ii nxlibs 1:3.5.0-1-2-0ubuntu1ppa8 NX support libraries
ii nxplugin 3.4.0-3 NX Web Companion
ii x2go-keyring 2011.12.07+squeeze~main~12~build1 GnuPG keys of X2go 
developers
ii x2goagent 3.5.0.2-0~x2go1+squeeze~main~49~build1 Special X2go-ized X 
agent, forked from NX-X11 (NoMachine)
ii x2goserver 3.0.99.8-0~x2go1+squeeze~main~373~build1 X2go server 
daemon scripts
ii x2goserver-extensions 3.0.99.8-0~x2go1+squeeze~main~373~build1 X2go 
server daemon scripts (extensions)
ii x2goserver-printing 3.0.99.8-0~x2go1+squeeze~main~373~build1 X2go 
server daemon scripts (printing)

and both NX and X2go access is possible again.

I noticed that freenx-server is listed as 
"0.7.3+teambzr104-0freenxteam1~intrepid1" and trying an apt-get install 
freenx-server attempts to replace sysvinit with upstart, giving me 
apt-gets "You are about to do something potentially harmful." warning, 
but this may be due to the fact that I changed the entry in the 
sources.list file from intrepid to lucid in an attempt to pull in newer 
packages after the system was already hosed.

I'll try restoring a pre-FUBAR backup some day soon, and check if things 
are less messy when I keep the freenx repository on intrepid, only 
upgrading the libs from heuler as Mike suggested - since the old libs 
seem to be what messed up the machine.

G'nite everyone ;-)




More information about the x2go-dev mailing list