Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot start xpra on Fedora 25 #343

Open
colinemonds opened this issue Mar 18, 2018 · 0 comments
Open

Cannot start xpra on Fedora 25 #343

colinemonds opened this issue Mar 18, 2018 · 0 comments

Comments

@colinemonds
Copy link

Hello,

I'm trying to create a container for the proprietary software suite WPS Office. I am able to build the Ubuntu container successfully. Unfortunately, when I try to launch it on the Fedora 25 host, I get the message "Starting xpra server..." and then it hangs forever. The subuser docs say that XPRA problems can be debugged by setting an environment variable, so here is the output for your pleasure:

cemonds:~/subuser-images$ SUBUSER_DEBUG_XPRA= subuser run wps-office
Starting xpra server...
xpra initialization error:
 failed to create the Xorg log directory '/home/subuser//.xpra': [Errno 13] Permission denied:
'/home/subuser//.xpra'
[Errno 13] Permission denied: '/home/subuser//.xpra'
Error: failed to write script file in '/home/subuser/.xpra':
 [Errno 13] Permission denied: '/home/subuser/.xpra'
Error trying to create XAUTHORITY file /home/subuser/.Xauthority: [Errno 13] Permission denied:
 '/home/subuser/.Xauthority'

There are no additional log files, not even in the directory that the docs name (~/.subuser/volumes/xpra/wps-office/xpra-home), even though the directory does get created. In case you want to try it yourself, the dockerfile is as such:

FROM ubuntu
RUN mkdir /usr/share/desktop-directories && echo ttf-mscorefonts-installer msttcorefonts/accepted-mscorefonts-eula select true|debconf-set-selections && apt-get update && apt install -y wget xdg-utils apt-transport-https && wget http://kdl1.cache.wps.com/ksodl/download/linux/a21//wps-office_10.1.0.5707~a21_amd64.deb -O wpsoffice.deb && apt install -y ./wpsoffice.deb

and these are the permissions I set:

{
    "description":"WPS Office suite Alpha21"
    ,"maintainer":"-"
    ,"executable":"/usr/bin/wps"
    ,"gui":{"clipboard":true}
    ,"user-dirs":["Documents"]
    ,"sound-card":false
    ,"allow-network-access":false
    ,"basic-common-permissions":true
}

Thank you for your support and for developing this great software!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant