无法打开 X 显示,XDG_Runtime_DIR 错误:

无法打开 X 显示,XDG_Runtime_DIR 错误:

我尝试运行 nautilus 并读取外部驱动器的终端输出。此外,我在登录之前看到一个终端窗口,显示系统正在日志图形模式下运行,我必须使用终端或类似的东西登录,但我的登录屏幕从未出现,因此我使用++Ctrl以root 身份登录并使用AltF2

service lightdm restart

然后尝试备份我的数据,以便我可以格式化 ubuntu,因为安装 14.04 后出现了很多错误,我得到了这个错误 -

(nautilus:3688): Gtk-WARNING **: Failed to register client: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.gnome.SessionManager was not provided by any .service files
Initializing nautilus-dropbox 1.6.2
I/O Error: Couldn't open file '/media/deadman/H LADDHA/ubuntu-backup2/Desktop/5_6sem_BE_CSE_Syllabus_2013-141.pdf': Permission denied.
Error loading document: Error opening file: Permission denied

(nautilus:3688): GnomeDesktop-WARNING **: Unable to create loader for mime type application/pdf: Unrecognized image file format

(nautilus:3688): GnomeDesktop-WARNING **: Error creating thumbnail for file:///media/deadman/H%20LADDHA/ubuntu-backup2/Desktop/5_6sem_BE_CSE_Syllabus_2013-141.pdf: Unrecognized image file format
No protocol specified

** (evince:3922): WARNING **: Could not open X display
No protocol specified
error: XDG_RUNTIME_DIR not set in the environment.
Cannot parse arguments: Cannot open display: 

相关内容