New issue
Advanced search Search tips

Issue 875597 link

Starred by 3 users

Issue metadata

Status: Fixed
Owner: ----
Closed: Aug 30
Components:
EstimatedDays: ----
NextAction: ----
OS: Chrome
Pri: 2
Type: Bug-Regression



Sign in to add a comment

Can't open anymore linux apps

Reported by cristi.f...@gmail.com, Aug 18

Issue description

UserAgent: Mozilla/5.0 (X11; CrOS x86_64 10975.0.0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/70.0.3524.2 Safari/537.36
Platform: 10975.0.0 (Official Build) canary-channel edgar

Steps to reproduce the problem:
1. Install xterm
2. Try to open xterm from shell (nothing happens when opening the app from menu)
3. Error is thrown:

xxxxxxxxx@penguin:~$ xterm
xterm: Xt error: Can't open display: 
xterm: DISPLAY is not set

What is the expected behavior?
Linux apps where working before the latest update. I also reinstalled linux apps, but I have the same behaviour.

What went wrong?
No linux app is working anymore. They all complain that they can't open the display.

Output from atom:

xxxxxxxxx@penguin:~$ atom
(atom:1939): Gtk-WARNING **: cannot open display: 

Did this work before? Yes I don't know the last version exactly

Chrome version: 70.0.3524.2  Channel: canary
OS Version: 10975.0.0
Flash Version:
 
More info:

xxxxxxxxx@penguin:~$ systemctl --user
  UNIT                                LOAD   ACTIVE     SUB       DESCRIPTION                                   
  dev-vda.device                      loaded activating tentative dev-vda.device                                
  dev-vdb.device                      loaded activating tentative dev-vdb.device                                
  -.mount                             loaded active     mounted   Root Mount                                    
  dev-.container_token.mount          loaded active     mounted   /dev/.container_token                         
  dev-.host_ip.mount                  loaded active     mounted   /dev/.host_ip                                 
  dev-.lxd\x2dmounts.mount            loaded active     mounted   /dev/.lxd-mounts                              
  dev-.ssh-ssh_authorized_keys.mount  loaded active     mounted   /dev/.ssh/ssh_authorized_keys                 
  dev-.ssh-ssh_host_key.mount         loaded active     mounted   /dev/.ssh/ssh_host_key                        
  dev-.ssh-sshd_config.mount          loaded active     mounted   /dev/.ssh/sshd_config                         
  dev-full.mount                      loaded active     mounted   /dev/full                                     
  dev-lxd.mount                       loaded active     mounted   /dev/lxd                                      
  dev-mqueue.mount                    loaded active     mounted   /dev/mqueue                                   
  dev-net-tun.mount                   loaded active     mounted   /dev/net/tun                                  
  dev-null.mount                      loaded active     mounted   /dev/null                                     
  dev-ptmx.mount                      loaded active     mounted   /dev/ptmx                                     
  dev-random.mount                    loaded active     mounted   /dev/random                                   
  dev-tty.mount                       loaded active     mounted   /dev/tty                                      
  dev-urandom.mount                   loaded active     mounted   /dev/urandom                                  
  dev-wl0.mount                       loaded active     mounted   /dev/wl0                                      
  dev-zero.mount                      loaded active     mounted   /dev/zero                                     
  opt-google-cros\x2dcontainers.mount loaded active     mounted   /opt/google/cros-containers                   
  proc-sys-fs-binfmt_misc.mount       loaded active     mounted   /proc/sys/fs/binfmt_misc                      
  run-user-1000.mount                 loaded active     mounted   /run/user/1000                                
  sys-kernel-debug.mount              loaded active     mounted   /sys/kernel/debug                             
  init.scope                          loaded active     running   System and Service Manager                    
  cros-garcon.service                 loaded active     running   Chromium OS Garcon Bridge                     
● sommelier-x@0.service               loaded failed     failed    X11 sommelier at display 0                    
● sommelier@0.service                 loaded failed     failed    Master sommelier listening on socket wayland-0
  -.slice                             loaded active     active    Root Slice                                    
  sommelier.slice                     loaded active     active    sommelier.slice                               
  sommelier\x2dx.slice                loaded active     active    sommelier\x2dx.slice                          
  basic.target                        loaded active     active    Basic System                                  
  default.target                      loaded active     active    Default                                       
  paths.target                        loaded active     active    Paths                                         
  sockets.target                      loaded active     active    Sockets                                       
  timers.target                       loaded active     active    Timers                                        




xxxxxxxxx@penguin:~$ systemctl --user restart sommelier-x@0.service sommelier@0.service
Job for sommelier-x@0.service failed because the control process exited with error code.
See "systemctl status sommelier-x@0.service" and "journalctl -xe" for details.
Job for sommelier@0.service failed because the control process exited with error code.
See "systemctl status sommelier@0.service" and "journalctl -xe" for details.



xxxxxxxxx@penguin:~$ /usr/bin/sommelier
/usr/bin/sommelier.elf: error while loading shared libraries: /usr/bin/sommelier.elf: cannot open shared object file: No such file or directory


After trying to run dirrectly the program:

xxxxxxxxx@penguin:~$ bash -ex /opt/google/cros-containers/bin/sommelier -X --x-display=0 --sd-notify=READY=1 --no-exit-with-child /bin/sh -c systemctl -l --user import-environment DISPLAY XCURSOR_SIZE SOMMELIER_VERSION
++ realpath /opt/google/cros-containers/bin/sommelier
+ base=/opt/google/cros-containers/bin/sommelier
+ basedir=/opt/google/cros-containers/bin
++ dirname /opt/google/cros-containers/bin/sommelier
++ basename /opt/google/cros-containers/bin/sommelier
+ exec /opt/google/cros-containers/bin/../lib/ld-linux-x86-64.so.2 --library-path /opt/google/cros-containers/bin/../lib --inhibit-rpath '' /opt/google/cros-containers/bin/sommelier.elf -X --x-display=0 --sd-notify=READY=1 --no-exit-with-child /bin/sh -c systemctl -l --user import-environment DISPLAY XCURSOR_SIZE SOMMELIER_VERSION
  UNIT                                LOAD   ACTIVE     SUB       DESCRIPTION                                          
  dev-vda.device                      loaded activating tentative dev-vda.device                                       
  dev-vdb.device                      loaded activating tentative dev-vdb.device                                       
  -.mount                             loaded active     mounted   Root Mount                                           
  dev-.container_token.mount          loaded active     mounted   /dev/.container_token                                
  dev-.host_ip.mount                  loaded active     mounted   /dev/.host_ip                                        
  dev-.lxd\x2dmounts.mount            loaded active     mounted   /dev/.lxd-mounts                                     
  dev-.ssh-ssh_authorized_keys.mount  loaded active     mounted   /dev/.ssh/ssh_authorized_keys                        
  dev-.ssh-ssh_host_key.mount         loaded active     mounted   /dev/.ssh/ssh_host_key                               
  dev-.ssh-sshd_config.mount          loaded active     mounted   /dev/.ssh/sshd_config                                
  dev-full.mount                      loaded active     mounted   /dev/full                                            
  dev-lxd.mount                       loaded active     mounted   /dev/lxd                                             
  dev-mqueue.mount                    loaded active     mounted   POSIX Message Queue File System                      
  dev-net-tun.mount                   loaded active     mounted   /dev/net/tun                                         
  dev-null.mount                      loaded active     mounted   /dev/null                                            
  dev-ptmx.mount                      loaded active     mounted   /dev/ptmx                                            
  dev-random.mount                    loaded active     mounted   /dev/random                                          
  dev-tty.mount                       loaded active     mounted   /dev/tty                                             
  dev-urandom.mount                   loaded active     mounted   /dev/urandom                                         
  dev-wl0.mount                       loaded active     mounted   /dev/wl0                                             
  dev-zero.mount                      loaded active     mounted   /dev/zero                                            
  opt-google-cros\x2dcontainers.mount loaded active     mounted   /opt/google/cros-containers                          
  proc-sys-fs-binfmt_misc.mount       loaded active     mounted   Arbitrary Executable File Formats File System        
  run-user-1000.mount                 loaded active     mounted   /run/user/1000                                       
  sys-kernel-debug.mount              loaded active     mounted   Debug File System                                    
  systemd-ask-password-console.path   loaded active     waiting   Dispatch Password Requests to Console Directory Watch
  systemd-ask-password-wall.path      loaded active     waiting   Forward Password Requests to Wall Directory Watch    
  init.scope                          loaded active     running   System and Service Manager                           
  session-2.scope                     loaded active     running   Session 2 of user cristifalcas                       
  session-3.scope                     loaded active     running   Session 3 of user cristifalcas                       
  console-getty.service               loaded active     running   Console Getty                                        
  cros-sftp.service                   loaded active     running   CrOS SFTP service                                    
  dbus.service                        loaded active     running   D-Bus System Message Bus                             
  networking.service                  loaded active     exited    Raise network interfaces                             
  openvpn.service                     loaded active     exited    OpenVPN service                                      
  packagekit.service                  loaded active     running   PackageKit Daemon                                    
  polkit.service                      loaded active     running   Authorization Manager                                
  rtkit-daemon.service                loaded active     running   RealtimeKit Scheduling Policy Service                
  systemd-journal-flush.service       loaded active     exited    Flush Journal to Persistent Storage                  
  systemd-journald.service            loaded active     running   Journal Service                                      
sommelier.elf: ../../../../../../../tmp/portage/chromeos-base/vm_guest_tools-0.0.1-r133/work/vm_guest_tools-0.0.1/vm_tools/sommelier/sommelier.c:2780: void sl_sd_notify(const char *): Assertion `socket_name' failed.
(EE) 
Fatal server error:
(EE) failed to read Wayland events: Broken pipe
(EE) 
Aborted


Anyway to use an older container version?
This is what is running now: /run/imageloader/cros-termina/10975.0.0/vm_rootfs.img
Components: OS>Systems>Containers
After some work, I can start X programs by invoking sommelier.elf manually with the correct flags. But it doesn't work for atom, for example. I'm not sure if it wants to use Wayland, or it's an other problem.
fixed by latest sommelier update. Thank you
can't find how to close this issue
Labels: Proj-Containers
Status: Fixed (was: Unconfirmed)

Sign in to add a comment