Join GitHub today
GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
Already on GitHub? Sign in to your account
xdg-app is wayland only? #68
Comments
|
Hmm, maybe your X server is set up in a different way. Maybe your Xserver does not listen to a unix domain socket or something like that? |
xiangzhai
commented
Apr 24, 2015
|
Hi @alexlarsson Thanks for your quick reply ;-) I follow the https://wiki.gnome.org/Projects/SandboxedApps perhaps I miss some important thing? And I use ArchLinux enabled testing in pacman.conf, so there are gcc 5.x and other test purpose _fresh_ thing ;-) I will read xdg-app and relative source code to be familiar with gnome 3.6 sandboxed application, it is awesome! Regards, |
|
If DISPLAY, is ":1", do you have a file (socket) called "/tmp/.X11-unix/X1" |
xiangzhai
commented
Apr 24, 2015
|
yes!
|
|
And if you run "xdg-app run --command=sh org.gnome.gedit" to get a shell inside the app, do you have a "/tmp/.X11-unix/X99" file? |
xiangzhai
commented
Apr 24, 2015
|
tty0 -> gdm |
xiangzhai
commented
Apr 24, 2015
nope ;-( |
xiangzhai
commented
Apr 24, 2015
Indeed I run |
|
What does "ps auxwww | grep xdg-app-helper" output?
Of importance here is the |
xiangzhai
commented
Apr 24, 2015
|
yes, there is _-x /tmp/.X11-unix/X1_
But I have no idea why gedit is not visible ;P I have to read xdg-app relative source code, I am a newbie in gnome sandboxed application world. |
xiangzhai
commented
Apr 24, 2015
|
Hi @alexlarsson I have to gotta home now, so happy weekend, see you next week ;-) |
timjp87
commented
May 6, 2015
|
You should try "sudo xhost +" in Terminal. Then try to start the program. This seems to be a permissions issue for some reason on Arch Linux. @alexlarsson gave me this hint on G+ 1-2 months ago. |
xiangzhai
commented
May 7, 2015
|
Hi @blackout24 thanks for your advice ;-) it worked for Arch Linux https://wiki.archlinux.org/index.php/Running_X_apps_as_root |
xiangzhai
closed this
May 7, 2015
SuicSoft
commented
Mar 22, 2016
|
@timjp87 I think that running that command is a bad idea because anyone on your network could access your X server and run programs on it or gain access using a XORG exploit. Is there any way we could only allow |
|
@SuicSoft The bug that caused this was due to a certain xauth configuration. Recent xdg-app versions work around this, so xhost + should not be needed anymore. |
SuicSoft
commented
Mar 22, 2016
|
Ok |
xiangzhai commentedApr 24, 2015
Hi Alex,
Is xdg-app wayland only?
There is org.gnome.gedit`s metadata
But run
xdg-app run org.gnome.geditunder X11 such as GNOME, it thrown such warning, and gedit is not visible!And I experienced limba https://github.com/ximion/limba before, and I am also a hacker for weston:
When run weston-launch with different ttyN, then run
xdg-app run org.gnome.geditit is able to run happily shown as below:If set wayland=false, it thrown such error
Gtk-WARNING **: cannot open displayso wayland access control is able to work, but why x11 is not able to, is xdg-app wayland only?Regards,
Leslie Zhai