Xfce Forum

Sub domains
 

You are not logged in.

#1 2022-03-10 19:26:04

nachumk
Member
Registered: 2022-03-10
Posts: 1

DISPLAY variable overridden hostname:1 -> :1.0, works w/ hostname:2

I'm using Remote Desktop tools - like VNC, ETX, and FastX. For the ones that open up a server using hostname:1, XFCE4 panel changes it to :1.0. When they open as hostname:2, xfce4-panel leaves it properly at hostname:2. I need the hostname to stay in the display variable otherwise running a remote GUI application won't display on my screen.

Is there some explanation for this behavior? Is it intended?

Here's the output of checking DISPLAY variables per process. The desktop that runs on :2 keeps the hostname. The desktop that runs on :1 overrides the hostname for some processes. It also doesn't seem to matter whether I start the :2 XFCE session first or second. Always :2 display keeps the hostname.

xfce4-panel 4.12.1 (Xfce 4.12)
xfce4-terminal 0.8.7.4 (Xfce 4.12)

DISPLAY=desktop.home.lan:2    (xfce4-session)
DISPLAY=desktop.home.lan:2    (dbus-launch)
DISPLAY=desktop.home.lan:2    (dbus-daemon)
DISPLAY=desktop.home.lan:2    (xfconfd)
DISPLAY=desktop.home.lan:2    (xfwm4)
DISPLAY=desktop.home.lan:2    (xfce4-panel)
DISPLAY=desktop.home.lan:2    (xfsettingsd)
DISPLAY=desktop.home.lan:2    (xfdesktop)
DISPLAY=desktop.home.lan:2.0    (panel-6-systray)
DISPLAY=desktop.home.lan:2.0    (panel-2-actions)
DISPLAY=desktop.home.lan:2.0    (xfce4-terminal)
DISPLAY=desktop.home.lan:2    (at-spi-bus-laun)
DISPLAY=desktop.home.lan:2    (dbus-daemon)
DISPLAY=desktop.home.lan:2    (at-spi2-registr)
DISPLAY=desktop.home.lan:1    (xfce4-session)
DISPLAY=desktop.home.lan:1    (dbus-launch)
DISPLAY=desktop.home.lan:1    (dbus-daemon)
DISPLAY=desktop.home.lan:1    (xfconfd)
DISPLAY=desktop.home.lan:1    (xfwm4)
DISPLAY=desktop.home.lan:1    (xfce4-panel)
DISPLAY=desktop.home.lan:1    (xfsettingsd)
DISPLAY=desktop.home.lan:1    (xfdesktop)
DISPLAY=:1.0    (panel-6-systray)
DISPLAY=:1.0    (panel-2-actions)
DISPLAY=:1.0    (exo-helper-1)
DISPLAY=:1.0    (xfce4-terminal)
DISPLAY=desktop.home.lan:1    (at-spi-bus-laun)
DISPLAY=desktop.home.lan:1    (dbus-daemon)
DISPLAY=desktop.home.lan:1    (at-spi2-registr)

One very strange thing to note is that on another identically (I think) configured server, this behavior doesn't happen. The :1 display keeps the hostname. I can't identify the difference.

Last edited by nachumk (2022-03-11 02:31:31)

Offline

Registered users online in this topic: 0, guests: 1
[Bot] ClaudeBot

Board footer

Powered by FluxBB
Modified by Visman

[ Generated in 0.007 seconds, 10 queries executed - Memory usage: 520.95 KiB (Peak: 521.57 KiB) ]