xpra icon
Bug tracker and wiki

This bug tracker and wiki are being discontinued
please use https://github.com/Xpra-org/xpra instead.


Changes between Initial Version and Version 1 of Ticket #1262


Ignore:
Timestamp:
07/21/16 13:06:01 (5 years ago)
Author:
Antoine Martin
Comment:

Thanks for the report.

That's odd, build_xpra_conf gets the value for xvfb_command from detect_xorg_setup which uses:

        log_dir = get_default_log_dir().replace("~/", "${HOME}/")

So the default config in the packages should have the correct value already.

I'll have to play with this in a Debian VM next week.

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #1262

    • Property Priority changed from major to critical
    • Property Status changed from new to assigned
  • Ticket #1262 – Description

    initial v1  
    22
    33I have managed to solve the problem by adding a line to /etc/xpra/xpra.conf:
     4{{{
     5xvfb=Xorg -dpi 96 -noreset -nolisten tcp +extension GLX +extension RANDR +extension RENDER -auth $XAUTHORITY -logfile ${HOME}/.xpra/Xorg.${DISPLAY}.log -configdir ${HOME}/.xpra/xorg.conf.d -config /etc/xpra/xorg.conf
     6}}}
     7Where I changed the (only) tilde in the default command to ${HOME}: i.e. {{{-logfile ~/.xpra/Xorg.${DISPLAY}.log}}} to {{{-logfile ${HOME}/.xpra/Xorg.${DISPLAY}.log}}}.
    48
    5 xvfb=Xorg -dpi 96 -noreset -nolisten tcp +extension GLX +extension RANDR +extension RENDER -auth $XAUTHORITY -logfile ${HOME}/.xpra/Xorg.${DISPLAY}.log -configdir ${HOME}/.xpra/xorg.conf.d -config /etc/xpra/xorg.conf
    6 
    7 Where I changed the (only) tilde in the default command to ${HOME}: i.e. "-logfile ~/.xpra/Xorg.${DISPLAY}.log" to "-logfile ${HOME}/.xpra/Xorg.${DISPLAY}.log".
    8 
    9 Without this change strace shows Xorg attempting to literally open "~/.xpra/Xorg.:nn.log", which fails.  I was unable to track down where the tilde-expansion was previously happening, and as the other arguments already use ${HOME}, it seems a simple fix.
     9Without this change strace shows Xorg attempting to literally open {{{~/.xpra/Xorg.:nn.log}}}, which fails.  I was unable to track down where the tilde-expansion was previously happening, and as the other arguments already use ${HOME}, it seems a simple fix.