{"action":"opened","issue":{"url":"https://api.github.com/repos/TigerVNC/tigervnc/issues/407","repository_url":"https://api.github.com/repos/TigerVNC/tigervnc","labels_url":"https://api.github.com/repos/TigerVNC/tigervnc/issues/407/labels{/name}","comments_url":"https://api.github.com/repos/TigerVNC/tigervnc/issues/407/comments","events_url":"https://api.github.com/repos/TigerVNC/tigervnc/issues/407/events","html_url":"https://github.com/TigerVNC/tigervnc/issues/407","id":203565447,"number":407,"title":"gnome-terminal stops working after started VNC server","user":{"login":"aaronlu","id":1157990,"avatar_url":"https://avatars.githubusercontent.com/u/1157990?v=3","gravatar_id":"","url":"https://api.github.com/users/aaronlu","html_url":"https://github.com/aaronlu","followers_url":"https://api.github.com/users/aaronlu/followers","following_url":"https://api.github.com/users/aaronlu/following{/other_user}","gists_url":"https://api.github.com/users/aaronlu/gists{/gist_id}","starred_url":"https://api.github.com/users/aaronlu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aaronlu/subscriptions","organizations_url":"https://api.github.com/users/aaronlu/orgs","repos_url":"https://api.github.com/users/aaronlu/repos","events_url":"https://api.github.com/users/aaronlu/events{/privacy}","received_events_url":"https://api.github.com/users/aaronlu/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-01-27T06:18:39Z","updated_at":"2017-01-27T06:18:39Z","closed_at":null,"body":"Steps to reproduce:\r\n1 boot up\r\n2 login to gnome\r\n3 launch gnome-terminal(everything works well now)\r\n4 start vnc session by running cmd: vncserver (provided by tigervnc-server)\r\n5 close gnome-terminal\r\n6 launch gnome-terminal again, problem occurs.\r\n7 run vncserver -kill :1 in this problematic gnome terminal, the terminal will go away with the VNC session as if the terminal belongs to the VNC session instead of the local session\r\n\r\nWhen problem occurs, gnome-terminal's menu doesn't respond, e.g. if I click Help->about, nothing happens etc. And the copy/paster functionality is also lost.\r\n\r\nI have filed a bug for gnome-terminal:\r\nhttps://bugzilla.gnome.org/show_bug.cgi?id=777772\r\nAnd the GNOME developer Christian Persch hinted me to check the environ file of the gnome-terminal-server process in step 3 and 6:\r\naaron@localhost:~$ diff -u 3 6\r\n--- 3\t2017-01-26 23:15:49.847835529 +0800\r\n+++ 6\t2017-01-26 23:15:49.847835529 +0800\r\n@@ -1,5 +1,5 @@\r\n DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/1000/bus\r\n-DISPLAY=:0\r\n+DISPLAY=:1\r\n GNOME_DESKTOP_SESSION_ID=this-is-deprecated\r\n HOME=/home/liveuser\r\n LANG=en_US.UTF-8\r\n\r\nQuote Christian of his comment there:\r\n\"\r\nSo starting vncserver alters the dbus activation environment of the dbus session bus that belongs to :0 (gnome session, I guess). It has no business doing that.\r\n\"\r\n\r\nSo I'm submitting the issue here.\r\n\r\nThe problem starts to appear in Fedora 24, which ships with tigervnc 1.6 IIRC. The problem is still here with Fedora 25 tigervnc-server-1.7.1-1.fc25.x86_64."}}
{"actor":{"display_login":"aaronlu"}}