Xfce Forum

Sub domains
 

You are not logged in.

#1 2012-10-28 11:45:08

rarino2
Member
Registered: 2012-10-28
Posts: 2

[Solved] remote XFCE desktop with xterm-ssh (no XDMCP, NX...)

Hello,
I'm trying to run full XFCE desktop from a remote machine. From my local machine (wich is running its XFCE session at display :0) startup another X server (at display :1)
# xinit  /usr/bin/xterm -- :1
# ssh -X <remote_machine>
# echo $DISPLAY
DISPLAY=localhost:10.0
# xclock -> WORKS OK, opens xclock from remote machine in my local machine

Now another tests:
A) Some XFCE components works ok without errors: thunar, xfce4-appfinder, xfce4-settings..

B) xfce4-panel, works with some errors (because no session manager??):
Xlib:  extension "RANDR" missing on display "localhost:10.0".
(xfce4-panel:26126): GLib-WARNING **: (gerror.c:390):g_error_new_valist: runtime check failed: (domain != 0)
xfce4-panel: Failed to connect to session manager: Falló la conexión al gestor de sesión: SESSION_MANAGER environment variable not defined
xfce4-panel: No window manager registered on screen 0. To start the panel without this check, run with --disable-wm-check.
Xlib:  extension "RANDR" missing on display "localhost:10.0".
Xlib:  extension "RANDR" missing on display "localhost:10.0".
Xlib:  extension "RANDR" missing on display "localhost:10.0".
Xlib:  extension "RANDR" missing on display "localhost:10.0".
Xlib:  extension "RANDR" missing on display "localhost:10.0".
Xlib:  extension "RANDR" missing on display "localhost:10.0".
Xlib:  extension "RANDR" missing on display "localhost:10.0".
xfce4-panel-Message: Plugin systray-6 has been automatically restarted after crash.
xfce4-panel-Message: Plugin datetime-25 has been automatically restarted after crash.
xfce4-panel-Message: Plugin thunar-tpa-17 has been automatically restarted after crash.
Xlib:  extension "RANDR" missing on display "localhost:10.0".

C) xfw4m y xfdesktop NO works. xfce4-session works but without run xfw4m and xfdestop. Error logs:

xfwm4
=====
Xlib:  extension "RANDR" missing on display "localhost:10.0".
(xfwm4:16429): xfwm4-WARNING **: The display does not support the XShape extension.
(xfwm4:16429): xfwm4-WARNING **: The display does not support the XSync extension.
(xfwm4:16429): xfwm4-WARNING **: The display does not support the XRender extension.
(xfwm4:16429): xfwm4-WARNING **: The display does not support the XRandr extension.
(xfwm4:16429): xfwm4-WARNING **: The display does not support the XComposite extension.
(xfwm4:16429): xfwm4-WARNING **: The display does not support the XDamage extension.
(xfwm4:16429): xfwm4-WARNING **: The display does not support the XFixes extension.
(xfwm4:16429): xfwm4-WARNING **: Compositing manager disabled.
(xfwm4:16429): xfwm4-WARNING **: Could not find a screen to manage, exiting
Xlib:  extension "RANDR" missing on display "localhost:10.0".


xfdesktop
=========
(xfdesktop:16459): GLib-WARNING **: (gerror.c:390):g_error_new_valist: runtime check failed: (domain != 0)
Failed to connect to session manager: Falló la conexión al gestor de sesión: SESSION_MANAGER environment variable not defined
The program 'xfdesktop' received an X Window System error.
This probably reflects a bug in the program.
The error was 'BadAccess (attempt to access private resource denied)'.
  (Details: serial 143 error_code 10 request_code 18 minor_code 0)
  (Note to programmers: normally, X errors are reported asynchronously;
   that is, you will receive the error a while after causing it.
   To debug your program, run it with the --sync command line
   option to change this behavior. You can then get a meaningful
   backtrace from your debugger if you break on the gdk_x_error() function.)

xfce4-session
=============
Xlib:  extension "RANDR" missing on display "localhost:10.0".
Xlib:  extension "RANDR" missing on display "localhost:10.0".
Xlib:  extension "RANDR" missing on display "localhost:10.0".
Xlib:  extension "RANDR" missing on display "localhost:10.0".
Xlib:  extension "RANDR" missing on display "localhost:10.0".
The program 'xfce4-session' received an X Window System error.
This probably reflects a bug in the program.
The error was 'BadAccess (attempt to access private resource denied)'.
  (Details: serial 91 error_code 10 request_code 18 minor_code 0)
  (Note to programmers: normally, X errors are reported asynchronously;
   that is, you will receive the error a while after causing it.
   To debug your program, run it with the --sync command line
   option to change this behavior. You can then get a meaningful
   backtrace from your debugger if you break on the gdk_x_error() function.)
Xlib:  extension "RANDR" missing on display "localhost:10.0".

(xfwm4:27103): xfwm4-WARNING **: The display does not support the XShape extension.
(xfwm4:27103): xfwm4-WARNING **: The display does not support the XSync extension.
(xfwm4:27103): xfwm4-WARNING **: The display does not support the XRender extension.
(xfwm4:27103): xfwm4-WARNING **: The display does not support the XRandr extension.
(xfwm4:27103): xfwm4-WARNING **: The display does not support the XComposite extension.
(xfwm4:27103): xfwm4-WARNING **: The display does not support the XDamage extension.
(xfwm4:27103): xfwm4-WARNING **: The display does not support the XFixes extension.
(xfwm4:27103): xfwm4-WARNING **: Compositing manager disabled.
Xlib:  extension "RANDR" missing on display "localhost:10.0".

(xfwm4:27103): xfwm4-WARNING **: Could not find a screen to manage, exiting
** Message: applet now removed from the notification area
(xfsettingsd:27105): GLib-WARNING **: (gerror.c:390):g_error_new_valist: runtime check failed: (domain != 0)
Failed to connect to session manager: Falló la conexión al gestor de sesión: Could not open network socket
(xfce4-panel:27107): GLib-WARNING **: (gerror.c:390):g_error_new_valist: runtime check failed: (domain != 0)
xfce4-panel: Failed to connect to session manager: Falló la conexión al gestor de sesión: Could not open network socket
(xfsettingsd:27188): xfsettingsd-CRITICAL **: Failed to update the resource manager string
(xfsettingsd:27188): xfsettingsd-CRITICAL **: No RANDR extension found in display localhost:10.0. Display settings won't be applied.
Xlib:  extension "XInputExtension" missing on display "localhost:10.0".

(xfdesktop:27112): GLib-WARNING **: (gerror.c:390):g_error_new_valist: runtime check failed: (domain != 0)
Failed to connect to session manager: Falló la conexión al gestor de sesión: Could not open network socket
The program 'xfdesktop' received an X Window System error.
This probably reflects a bug in the program.
The error was 'BadAccess (attempt to access private resource denied)'.
  (Details: serial 143 error_code 10 request_code 18 minor_code 0)
  (Note to programmers: normally, X errors are reported asynchronously;
   that is, you will receive the error a while after causing it.
   To debug your program, run it with the --sync command line
   option to change this behavior. You can then get a meaningful
   backtrace from your debugger if you break on the gdk_x_error() function.)
Another instance of Dropbox (14984) is running!
xfce4-panel: No window manager registered on screen 0. To start the panel without this check, run with --disable-wm-check.
Xlib:  extension "RANDR" missing on display "localhost:10.0".
Xlib:  extension "RANDR" missing on display "localhost:10.0".
Xlib:  extension "RANDR" missing on display "localhost:10.0".
Xlib:  extension "RANDR" missing on display "localhost:10.0".
Xlib:  extension "RANDR" missing on display "localhost:10.0".
Xlib:  extension "RANDR" missing on display "localhost:10.0".
Xlib:  extension "RANDR" missing on display "localhost:10.0".


I know there are somo simplest ways to run Desktop remotely (XDMCP, NX...) but I'm trying to learn about X, XFCE components... so somebody can help me? Is it possible to make works XFCE in this way? Can you explain me why (if no) or whats the problem (if yes)?

Thank you very much for your help.

Offline

#2 2012-10-28 17:13:32

rarino2
Member
Registered: 2012-10-28
Posts: 2

Re: [Solved] remote XFCE desktop with xterm-ssh (no XDMCP, NX...)

Hi,
I'm testing again and I found a work around, simple and obvious:

$ xfdesktop --display=<local_machine_ip>:1.0
$ xfwm  --display=<local_machine_ip>:1.0
$ xfce4-session  --display=<local_machine_ip>:1.0

In the three case it works with the same error mesage (but it works rigth):
(xfdesktop:7230): GLib-WARNING **: (gerror.c:390):g_error_new_valist: runtime check failed: (domain != 0)
Failed to connect to session manager: Falló la conexión al gestor de sesión: SESSION_MANAGER environment variable not defined

The question is now why these 3 X clients doesn't works with de DISPLAY setting by ssh and the others (xclock, thunar...) yes.

Thanks.

Offline

Board footer

Powered by FluxBB