sudo nautilus or gedit not working

Bug #1750443 reported by BertN45
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
meta-gnome3 (Ubuntu)
New
Undecided
Unassigned

Bug Description

Error message the virtual machine Ubuntu 17.10:
---------------------------
No protocol specified
Unable to init server: Could not connect: Connection refused

(nautilus:2377): Gtk-WARNING **: cannot open display: :0
---------------------------
Note that it works in Ubuntu 18.04 and in the host with Ubuntu 17.10. It only fails in the virtual machine and the error has been introduced recently. 3D is NOT enabled.

The problem is caused by Wayland! only when Wayland is the default, the problem occurs. As soon as Xorg is used as default (18.04 or 'Vbox 3D enabled' in 17.10), the problem disappears.

ProblemType: Bug
DistroRelease: Ubuntu 17.10
Package: gnome (not installed)
ProcVersionSignature: Ubuntu 4.13.0-32.35-generic 4.13.13
Uname: Linux 4.13.0-32-generic x86_64
ApportVersion: 2.20.7-0ubuntu3.7
Architecture: amd64
CurrentDesktop: ubuntu:GNOME
Date: Mon Feb 19 17:12:45 2018
InstallationDate: Installed on 2017-09-30 (142 days ago)
InstallationMedia: Ubuntu 17.10 "Artful Aardvark" - Alpha amd64 (20170926)
SourcePackage: meta-gnome3
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
BertN45 (lammert-nijhof) wrote :
Revision history for this message
BertN45 (bertnijhof) wrote :

I have tried with Vbox 3D enabled and the 'sudo nautilus' works OK. Disabling 3D again reintroduces the error. The error occurs with both Vbox Guest Additions 5.2.7 and 5.2.4. Enabling 3D is not a good workaround, because of bug Bug 1748729 related to 3D enabled.

Revision history for this message
BertN45 (bertnijhof) wrote :

The problem only occurs using Wayland, using Xorg it works normally. That is why it works by default (Xorg) in 18.04.

BertN45 (bertnijhof)
description: updated
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.