Compix does not work when home is under an encryptfs partition

Bug #466546 reported by Tim Sutton
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
compiz (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

Binary package hint: compiz

From the outset I should say I don't know if this is a compiz, encryptfs or gdm issue. Let me describe the problem.

I have been running karmic (64bit) since about 3 weeks before the release on my Sony Vaio VGN-NW15G laptop. My home partition is encrypted using encryptfs (enabled during the setup procedure). Initially compiz worked fine, but at some stage about 2 weeks before Karmic official release I noticed that nm-applet and other system tray (battery monitor, volume control etc) applets failed to launch at log in. If I launch them manually they work fine. Additionally I noticed that compiz failed to work any more. My .xession-errors file contained this:

{{{
timlinux@timvaio:~$ cat .xsession-errors

(gnome-settings-daemon:1940): GLib-CRITICAL **: g_propagate_error: assertion `src != NULL' failed

(gnome-settings-daemon:1940): GLib-CRITICAL **: g_propagate_error: assertion `src != NULL' failed
aborting and using fallback: /usr/bin/metacity
Window manager warning: Failed to read saved session file /home/timlinux/.config/metacity/sessions/1098e3ef0a826c596b125699094185532400000019270001.ms: Failed to open file '/home/timlinux/.config/metacity/sessions/1098e3ef0a826c596b125699094185532400000019270001.ms': No such file or directory
** (gnome-panel:1961): DEBUG: Adding applet 0.
** (gnome-panel:1961): DEBUG: Initialized Panel Applet Signaler.

(nautilus:1967): Eel-CRITICAL **: eel_preferences_get_boolean: assertion `preferences_is_initialized ()' failed
** (gnome-panel:1961): DEBUG: Adding applet 1.
** (gnome-panel:1961): DEBUG: Adding applet 2.
** (gnome-panel:1961): DEBUG: Adding applet 3.

** (nautilus:1967): WARNING **: No marshaller for signature of signal 'UploadFinished'

** (nautilus:1967): WARNING **: No marshaller for signature of signal 'DownloadFinished'

** (nautilus:1967): WARNING **: No marshaller for signature of signal 'ShareCreateError'
Initializing nautilus-gdu extension
** (gnome-panel:1961): DEBUG: Adding applet 4.
** (gnome-panel:1961): DEBUG: Adding applet 5.
** (gnome-panel:1961): DEBUG: Adding applet 6.
** (gnome-panel:1961): DEBUG: Adding applet 7.
}}}

Manually starting compiz using the apperances dialog failed too. However I found that I could get things to behave normally using the following procedure:

{{{
Press Alt-F2 to get a TTY
Log in as my normal user
sudo stop gdm
startx
}}}

Doing this, all the system tray applets would appear as expected on log in, compix works.

It would be great if this could be resolved so that logging in to my encrypted home gives me a full desktop experience.

Extra info:

{{{
ii xserver-xorg-video-intel 2:2.9.0-1ubuntu2 X.Org X server -- Intel i8xx, i9xx display d
ii compiz 1:0.8.4-0ubuntu2 OpenGL window and compositing manager

ii gdm 2.28.1-0ubuntu1 GNOME Display Manager
ii cryptsetup 2:1.0.6+20090405.svn49-1ubuntu7 configures encrypted block devices
timlinux@timvaio:~$ uname -a
Linux timvaio 2.6.31-14-generic #48-Ubuntu SMP Fri Oct 16 14:05:01 UTC 2009 x86_64 GNU/Linux
}}}

ProblemType: Bug
Architecture: amd64
CompizPlugins: [core,move,resize,place,decoration,animation,ccp,dbus,mousepoll,gnomecompat,png,svg,imgjpeg,text,commands,neg,video,wall,snap,scale,scaleaddon,expo,staticswitcher,regex,resizeinfo,workarounds,ezoom,vpswitch,extrawm,fade,session,shift,wobbly]
Date: Sat Oct 31 14:18:58 2009
DistroRelease: Ubuntu 9.10
MachineType: Sony Corporation VGN-NW15G_S
Package: compiz 1:0.8.4-0ubuntu2
PackageArchitecture: all
PciDisplay: 00:02.0 VGA compatible controller [0300]: Intel Corporation Mobile 4 Series Chipset Integrated Graphics Controller [8086:2a42] (rev 07)
ProcCmdLine: BOOT_IMAGE=/boot/vmlinuz-2.6.31-14-generic root=UUID=ab8c95be-f6c6-46d8-a726-bccc229303ef ro quiet splash
ProcEnviron:
 LANG=en_ZA.UTF-8
 SHELL=/bin/bash
ProcVersionSignature: Ubuntu 2.6.31-14.48-generic
RelatedPackageVersions:
 xserver-xorg 1:7.4+3ubuntu7
 libgl1-mesa-glx 7.6.0-1ubuntu4
 libdrm2 2.4.14-1ubuntu1
 xserver-xorg-video-intel 2:2.9.0-1ubuntu2
 xserver-xorg-video-ati 1:6.12.99+git20090929.7968e1fb-0ubuntu1
SourcePackage: compiz
Uname: Linux 2.6.31-14-generic x86_64
XorgConf: Error: [Errno 2] No such file or directory: '/etc/X11/xorg.conf'
dmi.bios.date: 05/22/2009
dmi.bios.vendor: American Megatrends Inc.
dmi.bios.version: R0170Y4
dmi.board.asset.tag: N/A
dmi.board.name: VAIO
dmi.board.vendor: Sony Corporation
dmi.board.version: N/A
dmi.chassis.asset.tag: N/A
dmi.chassis.type: 10
dmi.chassis.vendor: Sony Corporation
dmi.chassis.version: N/A
dmi.modalias: dmi:bvnAmericanMegatrendsInc.:bvrR0170Y4:bd05/22/2009:svnSonyCorporation:pnVGN-NW15G_S:pvrC601NA2V:rvnSonyCorporation:rnVAIO:rvrN/A:cvnSonyCorporation:ct10:cvrN/A:
dmi.product.name: VGN-NW15G_S
dmi.product.version: C601NA2V
dmi.sys.vendor: Sony Corporation
system: distro = Ubuntu, architecture = x86_64, kernel = 2.6.31-14-generic

Revision history for this message
Tim Sutton (timlinux) wrote :
Revision history for this message
Travis Watkins (amaranth) wrote :

When you see this problem is Xorg using 100% CPU? This sounds like it may be bug 449437.

Changed in compiz (Ubuntu):
status: New → Incomplete
Revision history for this message
Tim Sutton (timlinux) wrote :

Hi

No its using very little CPU (see below) and doesnt resemble the symptoms from # 449437 at all.

 6039 timlinux 20 0 230m 32m 14m S 4 1.7 5:32.62 npviewer.bin
 1959 timlinux 20 0 261m 5104 3520 S 2 0.3 0:11.76 pulseaudio
 1370 root 20 0 185m 36m 10m S 2 1.9 1:55.12 Xorg
 2030 timlinux 20 0 196m 15m 10m S 1 0.9 0:14.06 gnome-terminal
 2141 timlinux 20 0 713m 202m 27m S 1 10.8 3:23.61 firefox
    9 root 15 -5 0 0 0 S 0 0.0 1:04.98 events/0

Regards

Tim

Revision history for this message
Tim Sutton (timlinux) wrote :

Can someone update this status from incomplete or tell me what other information I can provide to help in finding a resolution to this issue?

Thanks

Tim

Revision history for this message
Travis Watkins (amaranth) wrote :

It looks like you're running a failsafe GNOME session. Check your session options in gdm before logging in. Compiz will refuse run in a failsafe session since we use that session if compiz is malfunctioning.

Revision history for this message
Tim Sutton (timlinux) wrote :

Hi

Erk! That was it - well done & many thanks! Please go ahead and close this ticket.

Regards

Tim

Revision history for this message
Travis Watkins (amaranth) wrote :

Alright, thanks for the update. Sorry it took so long to respond and that I didn't spot that the first time.

Changed in compiz (Ubuntu):
status: Incomplete → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.