X2Go Bug report logs - #93
x2gocleansessions should create /tmp/.X11-unix directory

Package: x2goserver; Maintainer for x2goserver is X2Go Developers <x2go-dev@lists.x2go.org>; Source for x2goserver is src:x2goserver.

Reported by: Mike Gabriel <mike.gabriel@das-netzwerkteam.de>

Date: Wed, 19 Dec 2012 08:33:01 UTC

Severity: normal

Done: Oleksandr Shneyder <oleksandr.shneyder@treuchtlingen.de>

Bug is archived. No further changes may be made.

Toggle useless messages

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to x2go-dev@lists.berlios.de, X2Go Developers <x2go-dev@lists.berlios.de>:
Bug#93; Package x2goagent. (Wed, 19 Dec 2012 08:33:01 GMT) (full text, mbox, link).


Acknowledgement sent to Mike Gabriel <mike.gabriel@das-netzwerkteam.de>:
New Bug report received and forwarded. Copy sent to X2Go Developers <x2go-dev@lists.berlios.de>. (Wed, 19 Dec 2012 08:33:01 GMT) (full text, mbox, link).


Message #5 received at submit@bugs.x2go.org (full text, mbox, reply):

From: Mike Gabriel <mike.gabriel@das-netzwerkteam.de>
To: submit@bugs.x2go.org
Subject: x2goagent should create /tmp/.X11-unix directory
Date: Wed, 19 Dec 2012 09:20:41 +0100
[Message part 1 (text/plain, inline)]
Package: x2goagent
Severity: normal



----- Weitergeleitete Nachricht von Burnce@gmx.net -----
     Datum: Wed, 19 Dec 2012 08:57:53 +0100
       Von: Burnce@gmx.net
   Betreff: [X2Go-User] RHEL6 package should create /tmp/.X11-unix directory
        An: X2Go-User@lists.berlios.de

Hi all,

After much hunting I found what the problem was runnung x2goserver on  
a freshly installed server.

Apparently X2Go requires the /tmp/.X11-unix directory to exist with  
permissions 1777.

Could you please see to it the creation of this directory and the  
permissions settings are performed by teh x2goserver package.

Thanks,

Burnce
_______________________________________________
X2Go-User mailing list
X2Go-User@lists.berlios.de
https://lists.berlios.de/mailman/listinfo/x2go-user


----- Ende der weitergeleiteten Nachricht -----


-- 

DAS-NETZWERKTEAM
mike gabriel, rothenstein 5, 24214 neudorf-bornstein
fon: +49 (1520) 1976 148

GnuPG Key ID 0x25771B31
mail: mike.gabriel@das-netzwerkteam.de, http://das-netzwerkteam.de

freeBusy:
https://mail.das-netzwerkteam.de/freebusy/m.gabriel%40das-netzwerkteam.de.xfb
[Message part 2 (application/pgp-signature, inline)]

Information forwarded to x2go-dev@lists.berlios.de, X2Go Developers <x2go-dev@lists.berlios.de>:
Bug#93; Package x2goagent. (Wed, 19 Dec 2012 15:03:01 GMT) (full text, mbox, link).


Acknowledgement sent to Orion Poplawski <orion@cora.nwra.com>:
Extra info received and forwarded to list. Copy sent to X2Go Developers <x2go-dev@lists.berlios.de>. (Wed, 19 Dec 2012 15:03:01 GMT) (full text, mbox, link).


Message #10 received at 93@bugs.x2go.org (full text, mbox, reply):

From: Orion Poplawski <orion@cora.nwra.com>
To: 93@bugs.x2go.org
Subject: Re: [X2Go-Dev] Bug#93: x2goagent should create /tmp/.X11-unix directory
Date: Wed, 19 Dec 2012 07:49:53 -0700
On 12/19/2012 01:20 AM, Mike Gabriel wrote:
>
> After much hunting I found what the problem was runnung x2goserver on a
> freshly installed server.
>
> Apparently X2Go requires the /tmp/.X11-unix directory to exist with
> permissions 1777.
>
> Could you please see to it the creation of this directory and the
> permissions settings are performed by teh x2goserver package.

I would add that on systems running vncserver, /tmp/.X11-unix may exist 
but owned by another user.  It would be good if x2goserver fixed 
ownership in this case.


-- 
Orion Poplawski
Technical Manager                     303-415-9701 x222
NWRA/CoRA Division                    FAX: 303-415-9702
3380 Mitchell Lane                  orion@cora.nwra.com
Boulder, CO 80301              http://www.cora.nwra.com

Information forwarded to x2go-dev@lists.berlios.de, X2Go Developers <x2go-dev@lists.berlios.de>:
Bug#93; Package x2goagent. (Wed, 19 Dec 2012 16:18:01 GMT) (full text, mbox, link).


Acknowledgement sent to Mike Gabriel <mike.gabriel@das-netzwerkteam.de>:
Extra info received and forwarded to list. Copy sent to X2Go Developers <x2go-dev@lists.berlios.de>. (Wed, 19 Dec 2012 16:18:01 GMT) (full text, mbox, link).


Message #15 received at 93@bugs.x2go.org (full text, mbox, reply):

From: Mike Gabriel <mike.gabriel@das-netzwerkteam.de>
To: Orion Poplawski <orion@cora.nwra.com>, 93@bugs.x2go.org
Subject: Re: [X2Go-Dev] Bug#93: x2goagent should create /tmp/.X11-unix directory
Date: Wed, 19 Dec 2012 17:07:04 +0100
[Message part 1 (text/plain, inline)]
Hi Orion,

On Mi 19 Dez 2012 15:49:53 CET Orion Poplawski wrote:

> On 12/19/2012 01:20 AM, Mike Gabriel wrote:
>>
>> After much hunting I found what the problem was runnung x2goserver on a
>> freshly installed server.
>>
>> Apparently X2Go requires the /tmp/.X11-unix directory to exist with
>> permissions 1777.
>>
>> Could you please see to it the creation of this directory and the
>> permissions settings are performed by teh x2goserver package.
>
> I would add that on systems running vncserver, /tmp/.X11-unix may  
> exist but owned by another user.  It would be good if x2goserver  
> fixed ownership in this case.

What ownership would expect? root:root?

Asks
Mike

-- 

DAS-NETZWERKTEAM
mike gabriel, rothenstein 5, 24214 neudorf-bornstein
fon: +49 (1520) 1976 148

GnuPG Key ID 0x25771B31
mail: mike.gabriel@das-netzwerkteam.de, http://das-netzwerkteam.de

freeBusy:
https://mail.das-netzwerkteam.de/freebusy/m.gabriel%40das-netzwerkteam.de.xfb
[Message part 2 (application/pgp-signature, inline)]

Information forwarded to x2go-dev@lists.berlios.de, X2Go Developers <x2go-dev@lists.berlios.de>:
Bug#93; Package x2goagent. (Wed, 19 Dec 2012 16:18:02 GMT) (full text, mbox, link).


Acknowledgement sent to Reinhard Tartler <siretart@gmail.com>:
Extra info received and forwarded to list. Copy sent to X2Go Developers <x2go-dev@lists.berlios.de>. (Wed, 19 Dec 2012 16:18:02 GMT) (full text, mbox, link).


Message #20 received at 93@bugs.x2go.org (full text, mbox, reply):

From: Reinhard Tartler <siretart@gmail.com>
To: Mike Gabriel <mike.gabriel@das-netzwerkteam.de>, 93@bugs.x2go.org, x2go-dev@lists.berlios.de
Subject: Re: [X2Go-Dev] Bug#93: x2goagent should create /tmp/.X11-unix directory
Date: Wed, 19 Dec 2012 17:14:31 +0100
On Wed, Dec 19, 2012 at 9:20 AM, Mike Gabriel
<mike.gabriel@das-netzwerkteam.de> wrote:
> Package: x2goagent
> Severity: normal
>
>
>
> ----- Weitergeleitete Nachricht von Burnce@gmx.net -----
>      Datum: Wed, 19 Dec 2012 08:57:53 +0100
>        Von: Burnce@gmx.net
>    Betreff: [X2Go-User] RHEL6 package should create /tmp/.X11-unix directory
>         An: X2Go-User@lists.berlios.de
>
> Hi all,
>
> After much hunting I found what the problem was runnung x2goserver on a
> freshly installed server.
>
> Apparently X2Go requires the /tmp/.X11-unix directory to exist with
> permissions 1777.
>
> Could you please see to it the creation of this directory and the
> permissions settings are performed by teh x2goserver package.


At least in debian, this directory is created by the init script of
the x11-common package. Maybe x2goserver should explicitly depend on
that package.

I'm not sure what the equivalent package is in RedHat/Fedora, but it
clearly seems to be a packaging issue to me.

-- 
regards,
    Reinhard

Information forwarded to x2go-dev@lists.berlios.de, X2Go Developers <x2go-dev@lists.berlios.de>:
Bug#93; Package x2goagent. (Wed, 19 Dec 2012 16:33:01 GMT) (full text, mbox, link).


Acknowledgement sent to Orion Poplawski <orion@cora.nwra.com>:
Extra info received and forwarded to list. Copy sent to X2Go Developers <x2go-dev@lists.berlios.de>. (Wed, 19 Dec 2012 16:33:02 GMT) (full text, mbox, link).


Message #25 received at 93@bugs.x2go.org (full text, mbox, reply):

From: Orion Poplawski <orion@cora.nwra.com>
To: x2go-dev@lists.berlios.de
Cc: Reinhard Tartler <siretart@gmail.com>, Mike Gabriel <mike.gabriel@das-netzwerkteam.de>, 93@bugs.x2go.org
Subject: Re: [X2Go-Dev] Bug#93: x2goagent should create /tmp/.X11-unix directory
Date: Wed, 19 Dec 2012 09:32:50 -0700
On 12/19/2012 09:14 AM, Reinhard Tartler wrote:
> On Wed, Dec 19, 2012 at 9:20 AM, Mike Gabriel
> <mike.gabriel@das-netzwerkteam.de> wrote:
>> Package: x2goagent
>> Severity: normal
>>
>>
>>
>> ----- Weitergeleitete Nachricht von Burnce@gmx.net -----
>>       Datum: Wed, 19 Dec 2012 08:57:53 +0100
>>         Von: Burnce@gmx.net
>>     Betreff: [X2Go-User] RHEL6 package should create /tmp/.X11-unix directory
>>          An: X2Go-User@lists.berlios.de
>>
>> Hi all,
>>
>> After much hunting I found what the problem was runnung x2goserver on a
>> freshly installed server.
>>
>> Apparently X2Go requires the /tmp/.X11-unix directory to exist with
>> permissions 1777.
>>
>> Could you please see to it the creation of this directory and the
>> permissions settings are performed by teh x2goserver package.
>
>
> At least in debian, this directory is created by the init script of
> the x11-common package. Maybe x2goserver should explicitly depend on
> that package.
>
> I'm not sure what the equivalent package is in RedHat/Fedora, but it
> clearly seems to be a packaging issue to me.
>

On Fedora it is created via systemd's tmpfiles mechanism, and in fact provided 
by the systemd package so it will be on all machines.

I'm using it on a RHEL6 server with no native/local X server.  The X server 
itself will create the directory if it doesn't exist, but will abort if it 
already exists but with the wrong owner or permissions.

-- 
Orion Poplawski
Technical Manager                     303-415-9701 x222
NWRA, Boulder Office                  FAX: 303-415-9702
3380 Mitchell Lane                       orion@nwra.com
Boulder, CO 80301                   http://www.nwra.com

Information forwarded to x2go-dev@lists.berlios.de, X2Go Developers <x2go-dev@lists.berlios.de>:
Bug#93; Package x2goagent. (Wed, 19 Dec 2012 19:48:02 GMT) (full text, mbox, link).


Acknowledgement sent to Reinhard Tartler <siretart@gmail.com>:
Extra info received and forwarded to list. Copy sent to X2Go Developers <x2go-dev@lists.berlios.de>. (Wed, 19 Dec 2012 19:48:02 GMT) (full text, mbox, link).


Message #30 received at 93@bugs.x2go.org (full text, mbox, reply):

From: Reinhard Tartler <siretart@gmail.com>
To: Orion Poplawski <orion@cora.nwra.com>
Cc: x2go-dev@lists.berlios.de, Mike Gabriel <mike.gabriel@das-netzwerkteam.de>, 93@bugs.x2go.org
Subject: Re: [X2Go-Dev] Bug#93: x2goagent should create /tmp/.X11-unix directory
Date: Wed, 19 Dec 2012 20:47:54 +0100
On Wed, Dec 19, 2012 at 5:32 PM, Orion Poplawski <orion@cora.nwra.com> wrote:
> On 12/19/2012 09:14 AM, Reinhard Tartler wrote:
>>
>> On Wed, Dec 19, 2012 at 9:20 AM, Mike Gabriel
>> <mike.gabriel@das-netzwerkteam.de> wrote:
>>>
>>> Package: x2goagent
>>> Severity: normal
>>>
>>>
>>>
>>> ----- Weitergeleitete Nachricht von Burnce@gmx.net -----
>>>       Datum: Wed, 19 Dec 2012 08:57:53 +0100
>>>         Von: Burnce@gmx.net
>>>     Betreff: [X2Go-User] RHEL6 package should create /tmp/.X11-unix
>>> directory
>>>          An: X2Go-User@lists.berlios.de
>>>
>>> Hi all,
>>>
>>> After much hunting I found what the problem was runnung x2goserver on a
>>> freshly installed server.
>>>
>>> Apparently X2Go requires the /tmp/.X11-unix directory to exist with
>>> permissions 1777.
>>>
>>> Could you please see to it the creation of this directory and the
>>> permissions settings are performed by teh x2goserver package.
>>
>>
>>
>> At least in debian, this directory is created by the init script of
>> the x11-common package. Maybe x2goserver should explicitly depend on
>> that package.
>>
>> I'm not sure what the equivalent package is in RedHat/Fedora, but it
>> clearly seems to be a packaging issue to me.
>>
>
> On Fedora it is created via systemd's tmpfiles mechanism, and in fact
> provided by the systemd package so it will be on all machines.
>
> I'm using it on a RHEL6 server with no native/local X server.  The X server
> itself will create the directory if it doesn't exist, but will abort if it
> already exists but with the wrong owner or permissions.

Are you absolutely sure that the X server binary creates this itself?
Or is that some startup script shipped as part of the X server
package?


-- 
regards,
    Reinhard

Information forwarded to x2go-dev@lists.berlios.de, X2Go Developers <x2go-dev@lists.berlios.de>:
Bug#93; Package x2goagent. (Wed, 19 Dec 2012 20:18:01 GMT) (full text, mbox, link).


Acknowledgement sent to Orion Poplawski <orion@cora.nwra.com>:
Extra info received and forwarded to list. Copy sent to X2Go Developers <x2go-dev@lists.berlios.de>. (Wed, 19 Dec 2012 20:18:01 GMT) (full text, mbox, link).


Message #35 received at 93@bugs.x2go.org (full text, mbox, reply):

From: Orion Poplawski <orion@cora.nwra.com>
To: Reinhard Tartler <siretart@gmail.com>
Cc: x2go-dev@lists.berlios.de, Mike Gabriel <mike.gabriel@das-netzwerkteam.de>, 93@bugs.x2go.org
Subject: Re: [X2Go-Dev] Bug#93: x2goagent should create /tmp/.X11-unix directory
Date: Wed, 19 Dec 2012 13:14:58 -0700
On 12/19/2012 12:47 PM, Reinhard Tartler wrote:
> On Wed, Dec 19, 2012 at 5:32 PM, Orion Poplawski <orion@cora.nwra.com> wrote:
>> I'm using it on a RHEL6 server with no native/local X server.  The X server
>> itself will create the directory if it doesn't exist, but will abort if it
>> already exists but with the wrong owner or permissions.
>
> Are you absolutely sure that the X server binary creates this itself?
> Or is that some startup script shipped as part of the X server
> package?

While many scripts are there to create it (and make sure it has the proper 
permissions, SELinux labels, etc), running the X server directly will create 
the directory as well.


-- 
Orion Poplawski
Technical Manager                     303-415-9701 x222
NWRA, Boulder Office                  FAX: 303-415-9702
3380 Mitchell Lane                       orion@nwra.com
Boulder, CO 80301                   http://www.nwra.com

Information forwarded to x2go-dev@lists.berlios.de, X2Go Developers <x2go-dev@lists.berlios.de>:
Bug#93; Package x2goagent. (Thu, 20 Dec 2012 09:34:31 GMT) (full text, mbox, link).


Acknowledgement sent to Mike Gabriel <mike.gabriel@das-netzwerkteam.de>:
Extra info received and forwarded to list. Copy sent to X2Go Developers <x2go-dev@lists.berlios.de>. (Thu, 20 Dec 2012 09:34:31 GMT) (full text, mbox, link).


Message #40 received at 93@bugs.x2go.org (full text, mbox, reply):

From: Mike Gabriel <mike.gabriel@das-netzwerkteam.de>
To: 93@bugs.x2go.org
Cc: control@bugs.x2go.org
Subject: x2gocleansession should create /tmp/.X11-unix directory
Date: Thu, 20 Dec 2012 10:34:22 +0100
[Message part 1 (text/plain, inline)]
retitle #93 x2gocleansessions should create /tmp/.X11-unix directory
reassign #93 x2goserver
thanks

A fix for this issue needs root priviledges, so we have to put the fix  
into x2gocleansessions of x2goserver.

Mike

-- 

DAS-NETZWERKTEAM
mike gabriel, rothenstein 5, 24214 neudorf-bornstein
fon: +49 (1520) 1976 148

GnuPG Key ID 0x25771B31
mail: mike.gabriel@das-netzwerkteam.de, http://das-netzwerkteam.de

freeBusy:
https://mail.das-netzwerkteam.de/freebusy/m.gabriel%40das-netzwerkteam.de.xfb
[Message part 2 (application/pgp-signature, inline)]

Changed Bug title to 'x2gocleansessions should create /tmp/.X11-unix directory' from 'x2goagent should create /tmp/.X11-unix directory' Request was from Mike Gabriel <mike.gabriel@das-netzwerkteam.de> to control@bugs.x2go.org. (Thu, 20 Dec 2012 09:34:31 GMT) (full text, mbox, link).


Bug reassigned from package 'x2goagent' to 'x2goserver'. Request was from Mike Gabriel <mike.gabriel@das-netzwerkteam.de> to control@bugs.x2go.org. (Thu, 20 Dec 2012 09:34:31 GMT) (full text, mbox, link).


Reply sent to Oleksandr Shneyder <oleksandr.shneyder@treuchtlingen.de>:
You have taken responsibility. (Thu, 20 Dec 2012 12:33:01 GMT) (full text, mbox, link).


Notification sent to Mike Gabriel <mike.gabriel@das-netzwerkteam.de>:
Bug acknowledged by developer. (Thu, 20 Dec 2012 12:33:02 GMT) (full text, mbox, link).


Message #49 received at 93-close@bugs.x2go.org (full text, mbox, reply):

From: Oleksandr Shneyder <oleksandr.shneyder@treuchtlingen.de>
To: 93-close@bugs.x2go.org
Subject: Bug#93
Date: Thu, 20 Dec 2012 13:23:52 +0100
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

http://code.x2go.org/gitweb?p=x2goserver.git;a=commit;h=b3d9404c654c051875a1f3abcbd3ff81aa6780b7

- -- 
Oleksandr Shneyder
Dipl. Informatik

phone: +49 9142 9600-53
fax:   +49 9142 9600-55
mail:  oleksandr.shneyder@treuchtlingen.de
visit: www.treuchtlingen.de

Hauptstrasse 31
91757 Treuchtlingen (Stadt der offenen Quellen)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAlDTA1gACgkQ1vNt7woWmJzisQCdFFz2LwWqjI2ClahVNqi1Fyko
t/EAnA38QfwbDOJmcR7zvyiRst4nIVvW
=tRBj
-----END PGP SIGNATURE-----

Message #50 received at 93-close@bugs.x2go.org (full text, mbox, reply):

From: Oleksandr Shneyder <oleksandr.shneyder@obviously-nice.de>
To: 93-close@bugs.x2go.org
Subject: Bug#93
Date: Thu, 20 Dec 2012 13:30:46 +0100
[Message part 1 (text/plain, inline)]
http://code.x2go.org/gitweb?p=x2goserver.git;a=commit;h=b3d9404c654c051875a1f3abcbd3ff81aa6780b7
-- 
Oleksandr Shneyder
Dipl. Informatik
X2go Core Developer Team

email:  oleksandr.shneyder@obviously-nice.de
web: www.obviously-nice.de

--> X2go - everywhere@home

[signature.asc (application/pgp-signature, attachment)]

Information forwarded to x2go-dev@lists.berlios.de, X2Go Developers <x2go-dev@lists.berlios.de>:
Bug#93; Package x2goserver. (Sun, 06 Jan 2013 18:48:01 GMT) (full text, mbox, link).


Acknowledgement sent to Jan Engelhardt <jengelh@inai.de>:
Extra info received and forwarded to list. Copy sent to X2Go Developers <x2go-dev@lists.berlios.de>. (Sun, 06 Jan 2013 18:48:01 GMT) (full text, mbox, link).


Message #55 received at 93@bugs.x2go.org (full text, mbox, reply):

From: Jan Engelhardt <jengelh@inai.de>
To: Mike Gabriel <mike.gabriel@das-netzwerkteam.de>, 93@bugs.x2go.org, x2go-dev@lists.berlios.de
Cc: Orion Poplawski <orion@cora.nwra.com>
Subject: Re: [X2Go-Dev] Bug#93: x2goagent should create /tmp/.X11-unix directory
Date: Sun, 6 Jan 2013 19:40:13 +0100 (CET)
On Wednesday 2012-12-19 17:07, Mike Gabriel wrote:
>>>
>>> Apparently X2Go requires the /tmp/.X11-unix directory to exist with
>>> permissions 1777.
>>>
>>> Could you please see to it the creation of this directory and the
>>> permissions settings are performed by teh x2goserver package.
>>
>> I would add that on systems running vncserver, /tmp/.X11-unix may exist but
>> owned by another user.  It would be good if x2goserver fixed ownership in this
>> case.
>
> What ownership would expect? root:root?

Precisely that.

Bug archived. Request was from Debbugs Internal Request <git-admin@x2go.org> to internal_control@bugs.x2go.org. (Mon, 04 Feb 2013 06:24:01 GMT) (full text, mbox, link).


Send a report that this bug log contains spam.


X2Go Developers <owner@bugs.x2go.org>. Last modified: Thu Nov 21 15:16:54 2024; Machine Name: ymir.das-netzwerkteam.de

X2Go Bug tracking system

Debbugs is free software and licensed under the terms of the GNU Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.