Hello, I have been trying to figure this out for a while now. Every time I start a session from my client (arch) to my server (arch xfce), the session seems to start fine, but terminates instantly. The client reads:
Info: Proxy running in server mode with pid '11128'. Session: Starting session at 'Sun May 16 15:24:13 2021'. Info: Using errors file '/home/matteo/.x2go/S-matteo-50-1621203851_stDstartxfce4_dp24/sessions'. Info: Using stats file '/home/matteo/.x2go/S-50/stats'. Loop: WARNING! Overriding auxiliary X11 port with new value '1'. Warning: Overriding auxiliary X11 port with new value '1'. Info: Using abstract X11 socket in kernel namespace for accessing DISPLAY=:0. Info: Connecting to remote host 'localhost:40084'. Info: Connected to remote proxy on FD#5. Info: Connection with remote proxy completed. Loop: WARNING! Unrecognized session type 'unix-kde-depth_24'. Assuming agent session. Warning: Unrecognized session type 'unix-kde-depth_24'. Assuming agent session. Info: Using ADSL link parameters 1408/24/1/0. Info: Using cache parameters 4/4096KB/8192KB/8192KB. Info: Using pack method '16m-jpeg-9' with session 'unix-kde-depth_24'. Info: Using ZLIB data compression 1/1/32. Info: Using ZLIB stream compression 4/4. Info: No suitable cache file found.Session: Terminating session at 'Sun May 16 15:24:15 2021'. Session: Session terminated at 'Sun May 16 15:24:15 2021'.
And the error files in the S-matteo-50-[...] directory are sessions, options and a spool dir. Sessions only says what versions were found.
On the server side in the C-matte-50 directory session.log gives the rather uninteresting errors:
Error: keyboard file not created: Is a directory Error: Aborting session with 'Could not open default font 'fixed''.
before terminating. The system log itself /var/log/user.log does not report any errors, but only terminates the session. The clients file reports only:
error opening security policy file /usr/local/lib/nx/X11/xserver/SecurityPolicy
At this point I have exhausted my resources. I have tried the client from a different OS and the result is the same. From what I understand the fixed font error is most likely a red herring, but I have installed xorg-fonts-misc for what it's worth, with no difference. Lastly I should mention that the server runs xfce4 fine on the machine itself (using dbus-launch also makes no difference).
I would really appreciate any help.
-- Matteo Guareschi
On Mon, May 17, 2021 at 12:33 AM Matteo Guareschi <matteo.guareschi@gmail.com> wrote:
Hello, I have been trying to figure this out for a while now. Every time I start a session from my client (arch) to my server (arch xfce), the session seems to start fine, but terminates instantly. The client reads:
Loop: WARNING! Overriding auxiliary X11 port with new value '1'. Warning: Overriding auxiliary X11 port with new value '1'.
not a problem.
Loop: WARNING! Unrecognized session type 'unix-kde-depth_24'. Assuming agent session. Warning: Unrecognized session type 'unix-kde-depth_24'. Assuming agent session.
Also not a problem, rather a bug in x2go that has always been there. $SOMEONE should fix it..
Error: keyboard file not created: Is a directory
this is intended behaviour.
Error: Aborting session with 'Could not open default font 'fixed''.
This is the cause of your trouble.
error opening security policy file /usr/local/lib/nx/X11/xserver/SecurityPolicy
This is also uncritical but should happen.
Both previous messages indicate that something is not correct in the way NX was built on your system.
At this point I have exhausted my resources. I have tried the client from a different OS and the result is the same. From what I understand the fixed font error is most likely a red herring, but I have installed xorg-fonts-misc for what it's worth, with no difference.
It is not a red herring. This code clearly shuts down nxagent when the font is missing. Need to find out why that is because on my system I do not have the fixed font installed but it works.
Please try the following: Connect with ssh -X to the server and run "/bin/nxagent :5 -ac" . Can you start it that way?
Uli
I would really appreciate any help.
Thank you Uli, On the client side I get the securitypolicy error followed by: nxagentGetRemoteXkbExtension: WARNING! Faulted to query XKB extension. Unable to query XKEYBOARD extension. Error: Aborting session with 'Could not open default font 'fixed''. On the server side, if I try to run the same command it opens a window which remains black until I close it. Not sure what is the intended behavior.
I should also mention that the client on Linux uses a custom keyboard layout, not present on the server, but even after loading more standard ones, or disabling keyboard configuration, there is no difference. I appreciate your help!
On Tue, May 18, 2021 at 1:33 PM Ulrich Sibiller <uli42@gmx.de> wrote:
On Mon, May 17, 2021 at 12:33 AM Matteo Guareschi <matteo.guareschi@gmail.com> wrote:
Hello, I have been trying to figure this out for a while now. Every time I
start a session from my client (arch) to my server (arch xfce), the session seems to start fine, but terminates instantly.
The client reads:
Loop: WARNING! Overriding auxiliary X11 port with new value '1'. Warning: Overriding auxiliary X11 port with new value '1'.
not a problem.
Loop: WARNING! Unrecognized session type 'unix-kde-depth_24'. Assuming agent session. Warning: Unrecognized session type 'unix-kde-depth_24'. Assuming agent session.
Also not a problem, rather a bug in x2go that has always been there. $SOMEONE should fix it..
Error: keyboard file not created: Is a directory
this is intended behaviour.
Error: Aborting session with 'Could not open default font 'fixed''.
This is the cause of your trouble.
error opening security policy file /usr/local/lib/nx/X11/xserver/SecurityPolicy
This is also uncritical but should happen.
Both previous messages indicate that something is not correct in the way NX was built on your system.
At this point I have exhausted my resources. I have tried the client from a different OS and the result is the same. From what I understand the fixed font error is most likely a red herring, but I have installed xorg-fonts-misc for what it's worth, with no difference.
It is not a red herring. This code clearly shuts down nxagent when the font is missing. Need to find out why that is because on my system I do not have the fixed font installed but it works.
Please try the following: Connect with ssh -X to the server and run "/bin/nxagent :5 -ac" . Can you start it that way?
Uli
I would really appreciate any help.
-- Matteo Michele Guareschi
Ok, so the reason for the failure is the client side. Btw: Why don't you have a xkeyboard extension loaded on the client?
Have you tried installing the font package you mentioned before on the client?
Uli
Matteo Guareschi <matteo.guareschi@gmail.com> schrieb am Di., 18. Mai 2021, 23:56:
Thank you Uli, On the client side I get the securitypolicy error followed by: nxagentGetRemoteXkbExtension: WARNING! Faulted to query XKB extension. Unable to query XKEYBOARD extension. Error: Aborting session with 'Could not open default font 'fixed''. On the server side, if I try to run the same command it opens a window which remains black until I close it. Not sure what is the intended behavior.
I should also mention that the client on Linux uses a custom keyboard layout, not present on the server, but even after loading more standard ones, or disabling keyboard configuration, there is no difference. I appreciate your help!
On Tue, May 18, 2021 at 1:33 PM Ulrich Sibiller <uli42@gmx.de> wrote:
On Mon, May 17, 2021 at 12:33 AM Matteo Guareschi <matteo.guareschi@gmail.com> wrote:
Hello, I have been trying to figure this out for a while now. Every time I
start a session from my client (arch) to my server (arch xfce), the session seems to start fine, but terminates instantly.
The client reads:
Loop: WARNING! Overriding auxiliary X11 port with new value '1'. Warning: Overriding auxiliary X11 port with new value '1'.
not a problem.
Loop: WARNING! Unrecognized session type 'unix-kde-depth_24'. Assuming agent session. Warning: Unrecognized session type 'unix-kde-depth_24'. Assuming agent session.
Also not a problem, rather a bug in x2go that has always been there. $SOMEONE should fix it..
Error: keyboard file not created: Is a directory
this is intended behaviour.
Error: Aborting session with 'Could not open default font 'fixed''.
This is the cause of your trouble.
error opening security policy file /usr/local/lib/nx/X11/xserver/SecurityPolicy
This is also uncritical but should happen.
Both previous messages indicate that something is not correct in the way NX was built on your system.
At this point I have exhausted my resources. I have tried the client from a different OS and the result is the same. From what I understand the fixed font error is most likely a red herring, but I have installed xorg-fonts-misc for what it's worth, with no difference.
It is not a red herring. This code clearly shuts down nxagent when the font is missing. Need to find out why that is because on my system I do not have the fixed font installed but it works.
Please try the following: Connect with ssh -X to the server and run "/bin/nxagent :5 -ac" . Can you start it that way?
Uli
I would really appreciate any help.
-- Matteo Michele Guareschi
It was as stupid as installing it on the client side. Thank you so much. Might be useful to make the package a dependence, unless the error is weirdly just mine.
For the extension, I believe it should be loaded, but I might have messed it up when creating that custom kb layout.
Thank you again, Matteo
On Tue, May 18, 2021 at 3:04 PM Ulrich Sibiller <uli42@gmx.de> wrote:
Ok, so the reason for the failure is the client side. Btw: Why don't you have a xkeyboard extension loaded on the client?
Have you tried installing the font package you mentioned before on the client?
Uli
Matteo Guareschi <matteo.guareschi@gmail.com> schrieb am Di., 18. Mai 2021, 23:56:
Thank you Uli, On the client side I get the securitypolicy error followed by: nxagentGetRemoteXkbExtension: WARNING! Faulted to query XKB extension. Unable to query XKEYBOARD extension. Error: Aborting session with 'Could not open default font 'fixed''. On the server side, if I try to run the same command it opens a window which remains black until I close it. Not sure what is the intended behavior.
I should also mention that the client on Linux uses a custom keyboard layout, not present on the server, but even after loading more standard ones, or disabling keyboard configuration, there is no difference. I appreciate your help!
On Tue, May 18, 2021 at 1:33 PM Ulrich Sibiller <uli42@gmx.de> wrote:
On Mon, May 17, 2021 at 12:33 AM Matteo Guareschi <matteo.guareschi@gmail.com> wrote:
Hello, I have been trying to figure this out for a while now. Every time I
start a session from my client (arch) to my server (arch xfce), the session seems to start fine, but terminates instantly.
The client reads:
Loop: WARNING! Overriding auxiliary X11 port with new value '1'. Warning: Overriding auxiliary X11 port with new value '1'.
not a problem.
Loop: WARNING! Unrecognized session type 'unix-kde-depth_24'. Assuming agent session. Warning: Unrecognized session type 'unix-kde-depth_24'. Assuming agent session.
Also not a problem, rather a bug in x2go that has always been there. $SOMEONE should fix it..
Error: keyboard file not created: Is a directory
this is intended behaviour.
Error: Aborting session with 'Could not open default font 'fixed''.
This is the cause of your trouble.
error opening security policy file /usr/local/lib/nx/X11/xserver/SecurityPolicy
This is also uncritical but should happen.
Both previous messages indicate that something is not correct in the way NX was built on your system.
At this point I have exhausted my resources. I have tried the client from a different OS and the result is the same. From what I understand the fixed font error is most likely a red herring, but I have installed xorg-fonts-misc for what it's worth, with no difference.
It is not a red herring. This code clearly shuts down nxagent when the font is missing. Need to find out why that is because on my system I do not have the fixed font installed but it works.
Please try the following: Connect with ssh -X to the server and run "/bin/nxagent :5 -ac" . Can you start it that way?
Uli
I would really appreciate any help.
-- Matteo Michele Guareschi
-- Matteo Michele Guareschi
Glad to hear it!
Matteo Guareschi <matteo.guareschi@gmail.com> schrieb am Mi., 19. Mai 2021, 00:20:
It was as stupid as installing it on the client side. Thank you so much. Might be useful to make the package a dependence, unless the error is weirdly just mine.
For the extension, I believe it should be loaded, but I might have messed it up when creating that custom kb layout.
Thank you again, Matteo
On Tue, May 18, 2021 at 3:04 PM Ulrich Sibiller <uli42@gmx.de> wrote:
Ok, so the reason for the failure is the client side. Btw: Why don't you have a xkeyboard extension loaded on the client?
Have you tried installing the font package you mentioned before on the client?
Uli
Matteo Guareschi <matteo.guareschi@gmail.com> schrieb am Di., 18. Mai 2021, 23:56:
Thank you Uli, On the client side I get the securitypolicy error followed by: nxagentGetRemoteXkbExtension: WARNING! Faulted to query XKB extension. Unable to query XKEYBOARD extension. Error: Aborting session with 'Could not open default font 'fixed''. On the server side, if I try to run the same command it opens a window which remains black until I close it. Not sure what is the intended behavior.
I should also mention that the client on Linux uses a custom keyboard layout, not present on the server, but even after loading more standard ones, or disabling keyboard configuration, there is no difference. I appreciate your help!
On Tue, May 18, 2021 at 1:33 PM Ulrich Sibiller <uli42@gmx.de> wrote:
On Mon, May 17, 2021 at 12:33 AM Matteo Guareschi <matteo.guareschi@gmail.com> wrote:
Hello, I have been trying to figure this out for a while now. Every time I
start a session from my client (arch) to my server (arch xfce), the session seems to start fine, but terminates instantly.
The client reads:
Loop: WARNING! Overriding auxiliary X11 port with new value '1'. Warning: Overriding auxiliary X11 port with new value '1'.
not a problem.
Loop: WARNING! Unrecognized session type 'unix-kde-depth_24'. Assuming agent session. Warning: Unrecognized session type 'unix-kde-depth_24'. Assuming agent session.
Also not a problem, rather a bug in x2go that has always been there. $SOMEONE should fix it..
Error: keyboard file not created: Is a directory
this is intended behaviour.
Error: Aborting session with 'Could not open default font 'fixed''.
This is the cause of your trouble.
error opening security policy file /usr/local/lib/nx/X11/xserver/SecurityPolicy
This is also uncritical but should happen.
Both previous messages indicate that something is not correct in the way NX was built on your system.
At this point I have exhausted my resources. I have tried the client from a different OS and the result is the same. From what I understand the fixed font error is most likely a red herring, but I have installed xorg-fonts-misc for what it's worth, with no difference.
It is not a red herring. This code clearly shuts down nxagent when the font is missing. Need to find out why that is because on my system I do not have the fixed font installed but it works.
Please try the following: Connect with ssh -X to the server and run "/bin/nxagent :5 -ac" . Can you start it that way?
Uli
I would really appreciate any help.
-- Matteo Michele Guareschi
-- Matteo Michele Guareschi