[X2Go-User] Redhat, runlevels and visibility (x2goserver)
Mike Gabriel
mike.gabriel at das-netzwerkteam.de
Fri Jun 29 22:20:28 CEST 2012
Hi Jan,
On Fr 29 Jun 2012 21:34:42 CEST Jan Engelhardt wrote:
>
> On Wednesday 2012-06-06 08:07, Mike Gabriel wrote:
>>
>>> 4) Once installation is is complete, several things do not work as
>>> expected...
>>>
>>>
>>> 4.1) File permissions are incorrect: sudo: /etc/sudoers.d/x2go is
>>> mode 0644,
>>> should be 0440
>
> What is the rationale for requiring 0440?
Not sure either, we do not provide this /etc/sudoers.d/x2go config
file. Someone else (I cannot remember who) reported it to one of the
lists.
>>> 4.2) On a server with gnome installed, but no complete X installation,
>>> creating a connection fails (session terminates during session
>>> start procedure
>>> with no clear error message).
>>
>> About the runlevel issue, I am not sure. Is SSH started on runlevel
>> 3? I guess
>> so. Hmmm... Once you can login via SSH, X2Go login should normally work as
>> well...
>
> I also think that the x2go software needs to convey error messages
> better. Like, when the session sqlite db is not writable, you will only
> know if you actually perl -d the relevant scripts, because stderr is
> never relayed to the user and his login GUI, for example.
Yes, these messages should also end up in our i18n team... Music of
the future.
>>> 4.3) In the install from source documentation, reference is made to int
>>> scripts needed which should run 'x2gocleansessions' in
>>> background/daemon mode.
>>> No such script is installed but connections still can function (at
>>> runlevel 5,
>>> see point 4.2 above).
>>
>> An example script can be this:
>> http://code.x2go.org/gitweb?p=x2goserver.git;a=blob;f=debian/x2goserver.init
>>
>> If that is not in the RPM x2goserver package, then this needs fixing.
>
> That init script requires love. Using killall looks like a Thor's hammer
> to kill a fly. (Luckily users with systemd don't have that problem.)
AFAICT the script looks fine. All the daemonization is in
x2gocleansessions and the script works as simple as it is.
Mike
--
DAS-NETZWERKTEAM
mike gabriel, rothenstein 5, 24214 neudorf-bornstein
fon: +49 (1520) 1976 148
GnuPG Key ID 0xB588399B
mail: mike.gabriel at das-netzwerkteam.de, http://das-netzwerkteam.de
freeBusy:
https://mail.das-netzwerkteam.de/freebusy/m.gabriel%40das-netzwerkteam.de.xfb
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 490 bytes
Desc: Digitale PGP-Unterschrift
URL: <http://lists.x2go.org/pipermail/x2go-user/attachments/20120629/35e53a0a/attachment.pgp>
More information about the x2go-user
mailing list