FS#79701 - [tigervnc] 1.13.1-2 X session wrapper does not source bash_profile

Attached to Project: Arch Linux
Opened by Hugo Brugel (NeverTooLate) - Friday, 15 September 2023, 14:12 GMT
Last edited by Toolybird (Toolybird) - Friday, 15 September 2023, 22:09 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To No-one
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 1
Private No

Details

Description:

The X session wrapper script */etc/X11/tigervnc/Xsession* does not source the bash_profile of the user.

Solution, I replaced the last line :

exec "$@"

with :

exec $SSH_AGENT /bin/sh -c "exec -l $SHELL -c \"$@\""

And everything works fine.


Related github issue : https://github.com/TigerVNC/tigervnc/issues/1376


Steps to reproduce: Run tigerVNC
This task depends upon

Closed by  Toolybird (Toolybird)
Friday, 15 September 2023, 22:09 GMT
Reason for closing:  Duplicate
Additional comments about closing:   FS#72772 
Comment by Hugo Brugel (NeverTooLate) - Friday, 15 September 2023, 21:08 GMT
The double exec is for ConsoleKit Xsession, but I don't know if that's useful...

Loading...