kiosk: su - : Environment variable is lost (X_BLANKING = 0 does not work)

Bug #1743568 reported by Rainer Stumbaum
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
LTSP5
Won't Fix
Undecided
Unassigned

Bug Description

Hi,

we run some display panels using the kiosk mode of LTSP.

Before running the su - to ltspkiosk the variable X_BLANKING is still set. After su - the variable setting is lost and /usr/share/ltsp/xinitrc.d/I10-dpms does not work properly.

<email address hidden>:~# ps -ef | grep "xinit "
root 2009 1898 0 11:29 tty7 00:00:00 su - ltspkiosk -c XINITRC_DAEMON= KIOSK_WM= xinit /usr/share/ltsp/xinitrc /usr/share/ltsp/kioskSession /usr/bin/chromium --incognito --no-default-browser-check --no-first-run --disable-translate --disable-sync --disable-notifications --kiosk --app=https://admin.boerse-go.de/screens/empfang -- :7 vt7 -depth 24 -br
ltspkio+ 2472 2009 0 11:29 ? 00:00:00 xinit /usr/share/ltsp/xinitrc /usr/share/ltsp/kioskSession /usr/bin/chromium --incognito --no-default-browser-check --no-first-run --disable-translate --disable-sync --disable-notifications --kiosk --app=https://admin.boerse-go.de/screens/empfang -- :7 vt7 -depth 24 -br
<email address hidden>:~# cat /proc/2009/environ
RDP_SERVER=/v:ts03.ad.boerse-go.deSERVER=10.20.30.4SCREEN_NUM=07USE_LOCAL_SWAP=TrueCONSOLE_KEYMAP=deXKBLAYOUT=deRDP_OPTIONS=/sec:tls /cert-ignore /f /multimon /multimediaSCREEN_DEFAULT=07KIOSK_OPTIONS=--incognito --no-default-browser-check --no-first-run --disable-translate --disable-sync --disable-notifications --kiosk --app=https://admin.boerse-go.de/screens/empfangNFS_SERVER=10.20.30.4HOSTNAME_EXTRA=ipPATH=/bin:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/binLANG=en_US.UTF-8X_COLOR_DEPTH=24SCREEN_07=kioskX_BLANKING=0_SYSTEMCTL_SKIP_REDIRECT=trueSOUND_DAEMON=FalseHOSTNAME_BASE=BGMUCPO-WSLFSTAB_0=tmpfs /tmp tmpfs rw,noexec,nosuid,nodev,noatime 0 0LOCAL_APPS=Truenc_q_param=-q -1PWD=/KIOSK_EXE=/usr/bin/chromiumENCRYPT_SWAP=TrueLTSP_FATCLIENT=TrueSYSLOG_HOST=syslog01
<email address hidden>:~# cat /proc/2472/environ
KIOSK_WM=XINITRC_DAEMON=XDG_VTNR=7XDG_SESSION_ID=c1SHELL=/bin/bashXDG_SESSION_COOKIE=d02788a235dd00000000000000000000-1516098563.930074-1155021132USER=ltspkioskMAIL=/var/mail/ltspkioskPATH=/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/gamesPWD=/tmp/.kiosk-VpJz7ULANG=en_US.UTF-8SHLVL=1HOME=/tmp/.kiosk-VpJz7UXDG_SEAT=seat0LOGNAME=ltspkioskXDG_RUNTIME_DIR=/run/user/1000_=/usr/bin/xinit

Revision history for this message
Alkis Georgopoulos (alkisg) wrote :

Closing old LTSP bugs as they're no longer relevant after LTSP has been rewritten from scratch.

Changed in ltsp:
status: New → Won't Fix
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.