xpra icon
Bug tracker and wiki

Opened 5 months ago

Closed 2 weeks ago

#1512 closed defect (worksforme)

No menu bar in Ubuntu (again?)

Reported by: Alexander Kauer Owned by: Alexander Kauer
Priority: major Milestone: 2.1
Component: client Version: 2.0.x
Keywords: Cc:

Description

The menu bar is missing in Ubuntu 17.04 as described in ticket #1419. The command is started via '--start=' when starting xpra. Also the Ubuntu is freshly installed just for testing this.

Attachments (4)

foo.txt.zip (39.6 KB) - added by Alexander Kauer 5 months ago.
bug report zip
env.txt (3.3 KB) - added by Alexander Kauer 5 months ago.
output of env
xpra_log_daemon (6.2 KB) - added by Alexander Kauer 2 months ago.
daemon log on xpra beta
xpra_log_client (1.6 KB) - added by Alexander Kauer 2 months ago.
client log on xpra beta

Download all attachments as: .zip

Change History (14)

Changed 5 months ago by Alexander Kauer

Attachment: foo.txt.zip added

bug report zip

comment:1 Changed 5 months ago by Antoine Martin

Owner: changed from Antoine Martin to Alexander Kauer

It's possible that Ubuntu has changed the environment variables that control the menu.
Or maybe we aren't setting the environment variables properly.
Can you post the output of "env" running within an xpra session?
Please also specify an application I can use for testing.

comment:2 Changed 5 months ago by Alexander Kauer

Basically any application works, like gnome-terminal or firefox.

Changed 5 months ago by Alexander Kauer

Attachment: env.txt added

output of env

comment:3 Changed 5 months ago by Antoine Martin

The env contains UBUNTU_MENUPROXY= which is the documented way of disabling the global menus.
From a quick googling, they might have changed it to UBUNTU_MENUPROXY=0 - can you try using that? (edit your /etc/xpra/conf.d/60_server.conf)

comment:4 Changed 5 months ago by Alexander Kauer

Setting UBUNTU_MENUPROXY=0 doesn't seem to change anything here.

comment:5 Changed 5 months ago by Alexander Kauer

Ok, setting UBUNTU_MENUPROXY=0 doesn't seem to do anything at all anymore, not even outside of xpra.

comment:6 Changed 5 months ago by Alexander Kauer

There seems to be a bug about that, but from 2015... https://bugs.launchpad.net/ubuntu/+source/unity/+bug/1505280

comment:7 Changed 2 months ago by Antoine Martin

Resolution: needinfo
Status: newclosed

Just tried it with the latest beta build for Ubuntu 17.04, freshly installed, with the default Ubuntu unity desktop and gnome-terminal displayed its menu correctly within the window.
Interestingly, that was also the case after I unset UBUNTU_MENUPROXY..

comment:8 Changed 2 months ago by Alexander Kauer

Resolution: needinfo
Status: closedreopened

At least on my just again freshly installed and updated Ubuntu 17.04 with the latest beta build it does not work. Changing UBUNTU_MENUPROXY does not help either. Did you do anything else to xpra/Ubuntu?

Changed 2 months ago by Alexander Kauer

Attachment: xpra_log_daemon added

daemon log on xpra beta

Changed 2 months ago by Alexander Kauer

Attachment: xpra_log_client added

client log on xpra beta

comment:9 Changed 2 months ago by Antoine Martin

Milestone: 2.1

That was a clean install, with only xpra beta added.

In your logs I see:

  • server
    Warning: xpra start from an existing 'ubuntu' desktop session
    

Try starting the session as a different user, one that does not have an existing GUI session.

  • client:
    Warning: running as root
    

Never run the client as root. Maybe this causes problems somehow.

comment:10 Changed 2 weeks ago by Antoine Martin

Resolution: worksforme
Status: reopenedclosed

Not heard back, closing.

Note: See TracTickets for help on using tickets.