Hi,
I would recommend some changes to the documentation:
When using a SSH key, the passphrase (at least on Mac) is not stored by the system's SSH agent, but it looks like the key password has to be entered into the password field in x2go. Took me quite a while to figure out. ;-)
For installing the package key on Ubuntu and probably Debian, the following command is easier than the one in the documentation: apt-key adv --recv-keys --keyserver keyserver.ubuntu.com C509840B96F89133
For adding the apt archive, I recommend using echo "deb http://x2go.obviously-nice.de/deb/ lenny main" >> /etc/apt/sources.list.d/x2go.list instead of adding to sources.list directly.
Florian
Hi Florian, hi Heinz, hi Alex,
On Do 30 Dez 2010 11:32:13 CET Florian Effenberger wrote:
- For installing the package key on Ubuntu and probably Debian, the following command is easier than the one in the documentation: apt-key adv --recv-keys --keyserver keyserver.ubuntu.com C509840B96F89133
If you add my DAS-NETZWERKTEAM repository to your system:
echo "deb http://packages.das-netzwerkteam.de/<DISTRO>/ <CODENAME> main" >> /etc/apt/sources.list.d/nwt.list
where <DISTRO> is ,,debian'' or ,,ubuntu'' and <CODENAME> is
,,lenny'', ,,squeeze'', ,,sid'', ,,lucid'' or ,,maverick''
... then you can install a package called ,,x2go-keyring'' which
equivalently installs the respective key into your APT keyring...
Maybe Heinz and Alex want to place that package into the x2go
repository itself... Sources are available here:
svn co https://svn.das-netzwerkteam.de/x2go/x2go-keyring x2go-keyring
Greets, Mike
--
DAS-NETZWERKTEAM mike gabriel, dorfstr. 27, 24245 barmissen fon: +49 (4302) 281418, fax: +49 (4302) 281419
GnuPG Key ID 0x1943CA5B mail: m.gabriel@das-netzwerkteam.de, http://das-netzwerkteam.de
freeBusy: https://mail.das-netzwerkteam.de/freebusy/m.gabriel%40das-netzwerkteam.de.xf...
Hi Mike,
2010/12/30 Mike Gabriel <m.gabriel@das-netzwerkteam.de>:
If you add my DAS-NETZWERKTEAM repository to your system:
echo "deb http://packages.das-netzwerkteam.de/<DISTRO>/ <CODENAME> main" >> /etc/apt/sources.list.d/nwt.list
where <DISTRO> is ,,debian'' or ,,ubuntu'' and <CODENAME> is ,,lenny'', ,,squeeze'', ,,sid'', ,,lucid'' or ,,maverick''
... then you can install a package called ,,x2go-keyring'' which equivalently installs the respective key into your APT keyring...
Maybe Heinz and Alex want to place that package into the x2go repository itself... Sources are available here: svn co https://svn.das-netzwerkteam.de/x2go/x2go-keyring x2go-keyring
thanks a lot! I'm no expert, but I guess apt-key add is the best way to deal with it. However, an optional package with the keyring is indeed an idea. Otherwise, providing an Ubuntu PPA could also help, but then not for Debian, IIRC.
Florian
Dear Florian,
Am Donnerstag, den 30.12.2010, 11:32 +0100 schrieb Florian Effenberger:
I would recommend some changes to the documentation:
thank you for your suggestions. It is great to see an author of the German Linux Magazin and LinuxUser actually sends in fixes. (Though I probably missed contributions of other authors, because I am not subscribed to certain lists.)
[…]
- For installing the package key on Ubuntu and probably Debian, the following command is easier than the one in the documentation: apt-key adv --recv-keys --keyserver keyserver.ubuntu.com C509840B96F89133
apt-key adv --recv-keys --keyserver x-hkp://pool.sks-keyservers.net
This pool also includes keyserver.ubuntu.com
[1] which seems to run an
old version of the server (1.0.10) though.
- For adding the apt archive, I recommend using echo "deb http://x2go.obviously-nice.de/deb/ lenny main" >> /etc/apt/sources.list.d/x2go.list instead of adding to sources.list directly.
This option is available since November 2005 (apt 0.6.43) and should be safe to use.
apt (0.6.43) unstable; urgency=medium
[…]
* added support for "/etc/apt/sources.list.d" directory
(closes: #66325)
[…]
-- Michael Vogt <mvo@debian.org> Tue, 29 Nov 2005 00:17:07 +0100
Do you know if it is safe to assume that /etc/apt/sources.list.d/
exists? It should be since 2006 (apt 0.6.43.3).
* debian/apt.dirs: create /etc/apt/sources.list.d
Thanks,
Paul
Hi Paul,
2010/12/30 Paul Menzel <paulepanter@users.sourceforge.net>:
thank you for your suggestions. It is great to see an author of the German Linux Magazin and LinuxUser actually sends in fixes. (Though I probably missed contributions of other authors, because I am not subscribed to certain lists.)
:-) thanks. Been playing with x2go for quite a while and met Heinz several times, but just took the chance that came up during reinstallation of one of our servers to finally switch from FreeNX to x2go. :-)
apt-key adv --recv-keys --keyserver x-hkp://pool.sks-keyservers.net
This pool also includes
keyserver.ubuntu.com
[1] which seems to run an old version of the server (1.0.10) though.
Ah, thanks. Most keyservers mirror each other, so most of them should work fairly well, I guess. I've just adapted an example from another installation, and that had the Ubuntu keyserver. Shouldn't bring any disadvantage, though, to use your proposal.
This option is available since November 2005 (apt 0.6.43) and should be safe to use.
If so, then IMHO yes. Ubuntu 8.04 is the previous LTS version and it's 2,5 years after the change.
Do you know if it is safe to assume that
/etc/apt/sources.list.d/
exists? It should be since 2006 (apt 0.6.43.3).
I'm not sure on this, I can only guess...
Florian