使用metacity出现部分程序的背景为蓝色

各种窗口管理器和美化相关
回复
liukejob
帖子: 1
注册时间: 2018-10-19 15:25

使用metacity出现部分程序的背景为蓝色

#1

帖子 liukejob » 2018-10-29 10:46

大家好:
在hi3559a(ARM64)上移植了ubuntu16.04,但发现使用metacity时部分应用的背景为纯蓝色,尝试修改背景色也无效。但使用compiz显示都是正常的,请教大家有什么解决思路,谢谢大家!
图像图像:
图片

日志如下:
/var/log/lightdm/lightdm.log
  • [+0.00s] DEBUG: Logging to /var/log/lightdm/lightdm.log
    [+0.00s] DEBUG: Starting Light Display Manager 1.18.3, UID=0 PID=2379
    [+0.00s] DEBUG: Loading configuration dirs from /usr/share/lightdm/lightdm.conf.d
    [+0.00s] DEBUG: Loading configuration from /usr/share/lightdm/lightdm.conf.d/50-disable-log-backup.conf
    [+0.00s] DEBUG: Loading configuration from /usr/share/lightdm/lightdm.conf.d/50-greeter-wrapper.conf
    [+0.00s] DEBUG: Loading configuration from /usr/share/lightdm/lightdm.conf.d/50-guest-wrapper.conf
    [+0.00s] DEBUG: Loading configuration from /usr/share/lightdm/lightdm.conf.d/50-ubuntu.conf
    [+0.00s] DEBUG: Loading configuration from /usr/share/lightdm/lightdm.conf.d/50-unity-greeter.conf
    [+0.00s] DEBUG: Loading configuration from /usr/share/lightdm/lightdm.conf.d/50-xserver-command.conf
    [+0.00s] DEBUG: Loading configuration dirs from /usr/local/share/lightdm/lightdm.conf.d
    [+0.00s] DEBUG: Loading configuration dirs from /etc/xdg/lightdm/lightdm.conf.d
    [+0.00s] DEBUG: Loading configuration from /etc/lightdm/lightdm.conf
    [+0.00s] DEBUG: Using D-Bus name org.freedesktop.DisplayManager
    [+0.00s] DEBUG: Registered seat module xlocal
    [+0.00s] DEBUG: Registered seat module xremote
    [+0.00s] DEBUG: Registered seat module unity
    [+0.02s] DEBUG: Monitoring logind for seats
    [+0.02s] DEBUG: New seat added from logind: seat0
    [+0.02s] DEBUG: Seat seat0: Loading properties from config section Seat:*
    [+0.02s] DEBUG: Seat seat0: Starting
    [+0.02s] DEBUG: Seat seat0: Creating greeter session
    [+0.02s] DEBUG: Seat seat0: Creating display server of type x
    [+0.02s] DEBUG: Using VT 7
    [+0.02s] DEBUG: Seat seat0: Starting local X display on VT 7
    [+0.02s] DEBUG: DisplayServer x-0: Logging to /var/log/lightdm/x-0.log
    [+0.02s] DEBUG: DisplayServer x-0: Writing X server authority to /var/run/lightdm/root/:0
    [+0.02s] DEBUG: DisplayServer x-0: Launching X Server
    [+0.02s] DEBUG: Launching process 2388: /usr/bin/X -core :0 -seat seat0 -auth /var/run/lightdm/root/:0 -nolisten tcp vt7 -novtswitch
    [+0.02s] DEBUG: DisplayServer x-0: Waiting for ready signal from X server :0
    [+0.02s] DEBUG: Acquired bus name org.freedesktop.DisplayManager
    [+0.02s] DEBUG: Registering seat with bus path /org/freedesktop/DisplayManager/Seat0
    [+0.10s] DEBUG: Loading users from org.freedesktop.Accounts
    [+0.10s] DEBUG: User /org/freedesktop/Accounts/User1000 added
    [+0.53s] DEBUG: Got signal 10 from process 2388
    [+0.53s] DEBUG: DisplayServer x-0: Got signal from X server :0
    [+0.53s] DEBUG: DisplayServer x-0: Connecting to XServer :0
    [+0.53s] DEBUG: Seat seat0: Display server ready, starting session authentication
    [+0.53s] DEBUG: Session pid=2413: Started with service 'lightdm-greeter', username 'lightdm'
    [+0.55s] DEBUG: Session pid=2413: Authentication complete with return value 0: Success
    [+0.55s] DEBUG: Seat seat0: Session authenticated, running command
    [+0.55s] DEBUG: Session pid=2413: Running command /usr/lib/lightdm/lightdm-greeter-session /usr/sbin/unity-greeter
    [+0.55s] DEBUG: Creating shared data directory /var/lib/lightdm-data/lightdm
    [+0.55s] DEBUG: Session pid=2413: Logging to /var/log/lightdm/seat0-greeter.log
    [+0.66s] DEBUG: Activating VT 7
    [+0.66s] DEBUG: Activating login1 session c1
    [+0.66s] DEBUG: Seat seat0 changes active session to c1
    [+0.66s] DEBUG: Session c1 is already active
    [+1.08s] DEBUG: Greeter connected version=1.18.3 resettable=false
    [+1.34s] DEBUG: Greeter start authentication for ubuntu
    [+1.35s] DEBUG: Session pid=2474: Started with service 'lightdm', username 'ubuntu'
    [+1.36s] DEBUG: Session pid=2474: Got 1 message(s) from PAM
    [+1.36s] DEBUG: Prompt greeter with 1 message(s)
    [+1.54s] DEBUG: User /org/freedesktop/Accounts/User107 added
    [+22.03s] DEBUG: Continue authentication
    [+22.07s] DEBUG: Session pid=2474: Authentication complete with return value 0: Success
    [+22.07s] DEBUG: Authenticate result for user ubuntu: Success
    [+22.07s] DEBUG: User ubuntu authorized
    [+22.10s] DEBUG: Greeter requests session gnome-flashback-metacity
    [+22.10s] DEBUG: Seat seat0: Stopping greeter; display server will be re-used for user session
    [+22.10s] DEBUG: Session pid=2413: Sending SIGTERM
    [+22.15s] DEBUG: Greeter closed communication channel
    [+22.15s] DEBUG: Session pid=2413: Exited with return value 0
    [+22.15s] DEBUG: Seat seat0: Session stopped
    [+22.15s] DEBUG: Seat seat0: Greeter stopped, running session
    [+22.15s] DEBUG: Registering session with bus path /org/freedesktop/DisplayManager/Session0
    [+22.16s] DEBUG: Session pid=2474: Running command /usr/sbin/lightdm-session /usr/lib/gnome-flashback/gnome-flashback-metacity
    [+22.16s] DEBUG: Creating shared data directory /var/lib/lightdm-data/ubuntu
    [+22.16s] DEBUG: Session pid=2474: Logging to .xsession-errors
    [+22.23s] DEBUG: Activating VT 7
    [+22.23s] DEBUG: Activating login1 session c2
    [+22.23s] DEBUG: Seat seat0 changes active session to c2
/var/log/lightdm/x-0.log
  • X.Org X Server 1.18.4
    Release Date: 2016-07-19
    X Protocol Version 11, Revision 0
    Build Operating System: Linux 4.4.0-131-generic aarch64 Ubuntu
    Current Operating System: Linux ubuntu 4.9.37 #6 SMP Fri Oct 26 17:00:59 CST 2018 aarch64
    Kernel command line: mem=1024M console=ttyAMA0,115200 root=/dev/mmcblk0p5 rw rootfstype=ext4 rootwait blkdevparts=mmcblk0:1M(boot),10M(kernel),10M(configfs),2G(busyboxfs),10G(ubuntufs)
    Build Date: 10 August 2018 12:01:21PM
    xorg-server 2:1.18.4-0ubuntu0.8 (For technical support please see http://www.ubuntu.com/support)
    Current version of pixman: 0.33.6
    Before reporting problems, check http://wiki.x.org
    to make sure that you have the latest version.
    Markers: (--) probed, (**) from config file, (==) default setting,
    (++) from command line, (!!) notice, (II) informational,
    (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
    (==) Log file: "/var/log/Xorg.0.log", Time: Fri Oct 26 06:37:20 2018
    (==) Using system config directory "/usr/share/X11/xorg.conf.d"

/var/log/lightdm/seat0-greeter.log
  • ** (process:2436): WARNING **: Failed to register client: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.gnome.SessionManager was not provided by any .service files
    Activating service name='org.a11y.atspi.Registry'
    [+0.00s] DEBUG: unity-greeter.vala:502: Starting unity-greeter 16.04.2 UID=107 LANG=(null)
    [+0.00s] DEBUG: unity-greeter.vala:505: Setting cursor
    [+0.01s] DEBUG: unity-greeter.vala:519: Loading command line options
    [+0.01s] DEBUG: unity-greeter.vala:547: Setting GTK+ settings
    Successfully activated service 'org.a11y.atspi.Registry'
    [+0.11s] DEBUG: unity-greeter.vala:570: Creating Unity Greeter
    [+0.11s] DEBUG: unity-greeter.vala:57: Creating background surface
    [+0.12s] DEBUG: Connecting to display manager...
    [+0.12s] DEBUG: Wrote 22 bytes to daemon
    [+0.12s] DEBUG: Read 8 bytes from daemon
    [+0.12s] DEBUG: Read 150 bytes from daemon
    [+0.12s] DEBUG: Connected version=1.18.3 default-session=ubuntu show-manual-login=false hide-users=false has-guest-account=true show-remote-login=true
    [+0.26s] DEBUG: menubar.vala:335: LANG=(null) LANGUAGE=(null)
    [+0.28s] DEBUG: menubar.vala:367: LANG=(null) LANGUAGE=(null)
    [+0.29s] DEBUG: Loading users from org.freedesktop.Accounts
    [+0.29s] DEBUG: User /org/freedesktop/Accounts/User1000 added
    [+0.30s] DEBUG: user-list.vala:1030: Adding/updating user ubuntu ()
    [+0.30s] DEBUG: Loading sessions from org.freedesktop.DisplayManager
    [+0.30s] DEBUG: user-list.vala:1012: Adding guest account entry
    [+0.38s] DEBUG: Loaded session /usr/share/xsessions/gnome-flashback-metacity.desktop (GNOME Flashback (Metacity), This session logs you into GNOME Flashback with Metacity)
    [+0.38s] DEBUG: Loaded session /usr/share/xsessions/gnome-flashback-compiz.desktop (GNOME Flashback (Compiz), This session logs you into GNOME Flashback with Compiz)
    [+0.38s] DEBUG: Loaded session /usr/share/xsessions/ubuntu.desktop (Ubuntu, This session logs you into Ubuntu)
    [+0.39s] DEBUG: Starting authentication for user ubuntu...
    [+0.39s] DEBUG: Wrote 22 bytes to daemon
    [+0.40s] DEBUG: main-window.vala:185: Screen is 1920x1080 pixels
    [+0.40s] DEBUG: main-window.vala:193: Monitor 0 is 1920x1080 pixels at 0,0
    [+0.40s] DEBUG: unity-greeter.vala:573: Showing greeter
    [+0.40s] DEBUG: unity-greeter.vala:257: Showing main window
    [+0.40s] DEBUG: background.vala:483: Regenerating backgrounds
    [+0.40s] DEBUG: background.vala:68: Making background /usr/share/backgrounds/warty-final-ubuntu.png at 1920x1080
    [+0.43s] DEBUG: unity-greeter.vala:616: Starting main loop
    [+0.43s] DEBUG: Read 8 bytes from daemon
    [+0.43s] DEBUG: Read 36 bytes from daemon
    [+0.43s] DEBUG: Prompt user with 1 message(s)
    [+0.49s] DEBUG: settings-daemon.vala:75: Acquired org.gnome.SessionManager
    [+0.50s] DEBUG: settings-daemon.vala:102: Acquired org.gnome.ScreenSaver
    [+0.50s] DEBUG: settings-daemon.vala:159: All bus names acquired, starting unity-settings-daemon
    [+0.59s] DEBUG: User /org/freedesktop/Accounts/User107 added
    [+0.92s] DEBUG: menubar.vala:537: Adding indicator object 0x238943d0 at position 0
    [+0.94s] DEBUG: Connected to Application Indicator Service.
    [+0.95s] DEBUG: menubar.vala:537: Adding indicator object 0x23894530 at position 1
    [+0.96s] DEBUG: Request current apps
    [+0.99s] DEBUG: unity-greeter.vala:240: starting system-ready sound
    [+1.03s] DEBUG: menubar.vala:537: Adding indicator object 0x238947f0 at position 2
    [+1.21s] DEBUG: menubar.vala:537: Adding indicator object 0x23894270 at position 3
    [+1.24s] DEBUG: background.vala:121: Render of background /usr/share/backgrounds/warty-final-ubuntu.png complete

    ** (unity-settings-daemon:2494): WARNING **: Unable to register client: GDBus.Error:org.freedesktop.DBus.Error.UnknownMethod: No such method 'RegisterClient'

    (nm-applet:2479): GLib-GObject-WARNING **: invalid unclassed pointer in cast to 'GtkWidget'

    (nm-applet:2479): Gtk-CRITICAL **: gtk_widget_show: assertion 'GTK_IS_WIDGET (widget)' failed

    (unity-settings-daemon:2494): color-plugin-WARNING **: failed to get edid: unable to get EDID for output

    (unity-settings-daemon:2494): color-plugin-WARNING **: unable to get EDID for xrandr-default: unable to get EDID for output
    [+1.57s] DEBUG: Building new application entry: :1.12 with icon: nm-device-wired at position 0
    [+1.58s] DEBUG: menubar.vala:537: Adding indicator object 0x239c5d50 at position 4
    [+4.62s] DEBUG: user-list.vala:1030: Adding/updating user ubuntu ()
    [+8.57s] DEBUG: session-list.vala:49: Adding session gnome-flashback-compiz (GNOME Flashback (Compiz))
    [+8.57s] DEBUG: session-list.vala:49: Adding session gnome-flashback-metacity (GNOME Flashback (Metacity))
    [+8.57s] DEBUG: session-list.vala:49: Adding session ubuntu (Ubuntu)
    [+8.58s] DEBUG: greeter-list.vala:210: Error registering user list dbus object: An object is already exported for the interface com.canonical.UnityGreeter.List at /list
    [+21.07s] DEBUG: Providing response to display manager
    [+21.07s] DEBUG: Wrote 22 bytes to daemon
    [+21.13s] DEBUG: Read 8 bytes from daemon
    [+21.13s] DEBUG: Read 18 bytes from daemon
    [+21.13s] DEBUG: Authentication complete for user ubuntu with return code 0
    [+21.14s] DEBUG: Starting session gnome-flashback-metacity
    [+21.14s] DEBUG: Wrote 36 bytes to daemon
    [+21.14s] DEBUG: Read 8 bytes from daemon
    [+21.14s] DEBUG: Read 4 bytes from daemon
    [+21.15s] DEBUG: unity-greeter.vala:611: Got a SIGTERM
    [+21.15s] DEBUG: unity-greeter.vala:619: Cleaning up
    [+21.15s] DEBUG: unity-greeter.vala:627: Upstart exited with return value 0
    [+21.15s] DEBUG: unity-greeter.vala:639: AT-SPI exited with return value 0
    [+21.15s] DEBUG: unity-greeter.vala:645: Exiting
    upstart: indicator-bluetooth main process (2482) killed by TERM signal
    upstart: indicator-session main process (2487) killed by TERM signal

    ** (unity-settings-daemon:2494): WARNING **: Name taken or bus went away - shutting down
    upstart: indicator-messages main process (2481) killed by TERM signal

    (unity-settings-daemon:2494): dconf-WARNING **: failed to commit changes to dconf: The connection is closed

    (unity-settings-daemon:2494): GLib-GObject-WARNING **: invalid (NULL) pointer instance

    (unity-settings-daemon:2494): GLib-GObject-CRITICAL **: g_signal_handlers_disconnect_matched: assertion 'G_TYPE_CHECK_INSTANCE (instance)' failed

    ** (unity-settings-daemon:2494): WARNING **: Lost or failed to acquire name org.gnome.Mutter.IdleMonitor

    upstart: indicator-power main process (2483) killed by TERM signal
    upstart: indicator-datetime main process (2484) killed by TERM signal
    upstart: indicator-application main process (2496) killed by TERM signal
    upstart: indicator-keyboard main process (2485) killed by KILL signal
回复