Skip to content

how to know user and display in reconnectwm.sh? #2978

Answered by matt335672
Kreijstal asked this question in Q&A
Discussion options

You must be logged in to vote

The reconnectwm.sh script runs as the reconnecting user. The environment should be correct already.

Temporarily set up a reconnectwm.sh script containing the following:-

#!/bin/sh

exec >/tmp/reconnect.log 2>&1
env | sort

Then try a reconnect and see if you've got the environment set you need in /tmp/reconnect.log.

Replies: 1 comment 4 replies

Comment options

You must be logged in to vote
4 replies
@Kreijstal
Comment options

@metalefty
Comment options

@Kreijstal
Comment options

@metalefty
Comment options

Answer selected by Kreijstal
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants