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

When run as a user (not daemon) the cursor is not visible #165

Open
AlanGriffiths opened this issue Jan 29, 2024 · 2 comments
Open

When run as a user (not daemon) the cursor is not visible #165

AlanGriffiths opened this issue Jan 29, 2024 · 2 comments

Comments

@AlanGriffiths
Copy link
Contributor

Doesn't happen on Intel, doesn't happen when run as a daemon but seen on RPi400.

  1. Log into a VT on a classic system
  2. As the same user (on that VT or via ssh) run ubuntu-frame

Expect: cursor moves with mouse
Actual: cursor not visible

Note: this is probably confinement related as refreshing with --devmode gives the expected behaviour

@AlanGriffiths
Copy link
Contributor Author

Further note: I don't see this with mir-kiosk

@mb-shorai
Copy link

Jeez, I've spent quite some time thinking something is wrong with my setup. I can reproduce it in VirtualBox with Ubuntu 22.04 when running ubuntu-frame as a daemon vs user. Also, it works with --devmode indeed.

There are a couple of deny actions in the journal:

Mar 07 15:44:15 max audit[1045]: USER_AVC pid=1045 uid=103 auid=4294967295 ses=4294967295 subj=unconfined msg='apparmor="DENIED" operation="dbus_method_call"  bus="system" path="/org/freedesktop/login1/seat/seat0" interface="org.freedesktop.DBus.Properties" member="GetAll" mask="send" name=":1.7" pid=5166 label="snap.ubuntu-frame.ubuntu-frame" peer_pid=1057 peer_label="unconfined"
                                  exe="/usr/bin/dbus-daemon" sauid=103 hostname=? addr=? terminal=?'
Mar 07 15:44:15 max audit[5166]: AVC apparmor="DENIED" operation="open" profile="snap.ubuntu-frame.ubuntu-frame" name="/run/user/1000/#104" pid=5166 comm="frame" requested_mask="wr" denied_mask="wr" fsuid=1000 ouid=1000
Mar 07 15:44:15 max audit[5166]: AVC apparmor="DENIED" operation="open" profile="snap.ubuntu-frame.ubuntu-frame" name="/dev/shm/#11" pid=5166 comm="frame" requested_mask="wr" denied_mask="wr" fsuid=1000 ouid=1000

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

2 participants