Connect desktop apps using D-BUS

D-BUS是一种基于进程间通信(IPC)的实现,旨在替代复杂IPC实现,适用于桌面应用程序和操作系统通信。它提供低延迟、低开销的协议,易于使用,支持多种用例,并且正在被广泛采纳。

D-BUS is essentially an implementation of inter-process communication (IPC). However, several features distance D-BUS from the stigma of being "Yet Another IPC Implementation." There are many different IPC implementations because each aims to solve a particular well-defined problem. CORBA is a powerful solution for complex IPC in object-orientation programming. DCOP is a lighter IPC framework with less power, but is well integrated into the K Desktop Environment. SOAP and XML-RPC are designed for Web services and therefore use HTTP as the transport protocol. D-BUS was designed for desktop application and OS communication.

Desktop application communication

The typical desktop has multiple applications running, and they often need to talk to each other. DCOP is a solution for KDE, but is tied to Qt and so is not used in other desktop environments. Similarly, Bonobo is a solution for GNOME, but is quite heavy, being based on CORBA. It is also tied to GObject, so it is not used outside of GNOME. D-BUS aims to replace DCOP and Bonobo for simple IPC and to integrate these two desktop environments. Because the dependencies for D-BUS are kept as small as possible, other applications that would like to use D-BUS don't have to worry about bloating dependencies.

Desktop/Operating System communication

The term "operating system" here includes not only the kernel but also the system daemons. For example, with a D-BUS-enabled udev (the Linux 2.6 replacement for devfs, providing dynamic /dev directories), a signal is emitted when a device (such as a USB camera) is inserted. This allows for tighter integration with the hardware in the desktop, leading to an improved user experience.

D-BUS features

D-BUS has several interesting features that make it look like a very promising candidate.

The protocol is low-latency and low-overhead, designed to be small and efficient to minimize round-trips. In addition, the protocol is binary, not textual, which removes the costly serialization process. The use cases are biased towards processing on the local machine, so all messages are sent in the native byte ordering. The byte ordering is stated in each message, so if a D-BUS message travels over a network to a remote host, it can still be parsed correctly.

D-BUS is easy to use from a developer's point of view. The wire protocol is simple to understand, and the client library wraps it in an intuitive manner.

The library has also been designed to be wrapped by other systems. It is expected that GNOME will create wrappers around D-BUS using GObject (indeed these partially exist, integrating D-BUS into their event loop), and that KDE will create similar wrappers using Qt. There is already a Python wrapper that has a much simpler interface, due to Python's object-orientation and flexible typing.

Finally, D-BUS is being developed under the umbrella of freedesktop.org, where interested members from GNOME, KDE, and elsewhere participate in the design and implementation.

The inner workings of D-BUS

A typical D-BUS setup will consist of several buses. There will be a persistent system bus, which is started at boot time. This bus is used by the operating system and daemons and is tightly secured so that arbitrary applications cannot spoof system events. There will also be many session buses, which are started when a user logs in and are private to that user. It is a session bus that the user's applications will use to communicate. Of course, if an application wants to receive messages from the system bus, it can connect to it as well -- but the messages it can send will be restricted.

Once applications are connected to a bus, they have to state which messages they would like to receive by adding matchers. Matchers specify a set of rules for messages that will be received based on interfaces, object paths, and methods (see below). This enables applications to concentrate on handling what they want to handle, to allow efficient routing of messages, and to keep the anticipated multitude of messages across buses from grinding the performance of all of the applications down to a crawl.

Objects

At its heart, D-BUS is a peer-to-peer protocol -- every message has a source and a destination. These addresses are specified as object paths. Conceptually, all applications that use D-BUS contain a set of objects, and messages are sent to and from specific objects -- not applications -- that are identified by an object path.

Additionally, every object can support one or more interfaces. These interfaces appear at first to be similar to interfaces in Java or pure virtual classes in C++. However, there is not an option to check if objects implement the interfaces they claim to implement, and there is no way of introspecting an object to list the interfaces it supports. Interfaces are used to namespace the method names, so a single object can have multiple methods with the same name but with different interfaces.

Messages

There are four types of messages in D-BUS: method calls, method returns, signals, and errors. To perform a method on a D-BUS object, you send the object a method call message. It will do some processing and return either a method return message or an error message. Signals are different in that they cannot return anything: there is neither a "signal return" message, nor any other type of error message.

Messages can also have arbitrary arguments. Arguments are strongly-typed, and the types range from fundamental primitives (booleans, bytes, integers) to high-level structures (strings, arrays, and dictionaries).

Services

Services are the highest level of abstraction in D-BUS, and their implementation is currently in flux. An application can register a service with a bus, and if it succeeds, the application has acquired the service. Other applications can check whether a particular service exists on the bus and can ask the bus to start it if it doesn't. The details of the service abstraction -- particularly service activation -- are under development at the moment and are liable to change.

Use cases

Even though D-BUS is relatively new, it has been adopted very quickly. As I mentioned earlier, udev can be built with D-BUS support so that it sends a signal when a device is hot-plugged. Any application can listen to these events and perform actions when they are received. For example, gnome-volume-manager can detect the insertion of a USB memory stick and automatically mount it; or, it can automatically download photos when a digital camera is plugged in.

A more amusing but far less useful example is the combination of Jamboree and Ringaling. Jamboree is a simple music player that has a D-BUS interface so that it can be told to play, go to the next song, change the volume, and so on. Ringaling is a small program that opens /dev/ttyS0 (a serial port) and watches what is received. When Ringaling sees the text "RING," it uses D-BUS to tell Jamboree to turn down the volume. The net result is that if you have a modem plugged into your computer and your phone rings, the music is turned down for you. This is what computers are for!

Code examples

Now, let's walk through a few example uses of D-BUS code.

dbus-ping-send.c sends a signal over the session bus every second with the string "Ping!" as an argument. I'm using GLib to manage the bus so that I don't need to deal with the details of the bus connection myself.


Listing 1. dbus-ping-send.c
#include <glib.h>
#include <dbus/dbus-glib.h>

static gboolean send_ping (DBusConnection *bus);

int
main (int argc, char **argv)
{
  GMainLoop *loop;
  DBusConnection *bus;
  DBusError error;

  /* Create a new event loop to run in */
  loop = g_main_loop_new (NULL, FALSE);

  /* Get a connection to the session bus */
  dbus_error_init (&error);
  bus = dbus_bus_get (DBUS_BUS_SESSION, &error);
  if (!bus) {
    g_warning ("Failed to connect to the D-BUS daemon: %s", error.message);
    dbus_error_free (&error);
    return 1;
  }

  /* Set up this connection to work in a GLib event loop */
  dbus_connection_setup_with_g_main (bus, NULL);
  /* Every second call send_ping() with the bus as an argument*/
  g_timeout_add (1000, (GSourceFunc)send_ping, bus);

  /* Start the event loop */
  g_main_loop_run (loop);
  return 0;
}

static gboolean
send_ping (DBusConnection *bus)
{
  DBusMessage *message;

  /* Create a new signal "Ping" on the "com.burtonini.dbus.Signal" interface,
   * from the object "/com/burtonini/dbus/ping". */
  message = dbus_message_new_signal ("/com/burtonini/dbus/ping",
                                     "com.burtonini.dbus.Signal", "Ping");
  /* Append the string "Ping!" to the signal */
  dbus_message_append_args (message,
                            DBUS_TYPE_STRING, "Ping!",
                            DBUS_TYPE_INVALID);
  /* Send the signal */
  dbus_connection_send (bus, message, NULL);
  /* Free the signal now we have finished with it */
  dbus_message_unref (message);
  /* Tell the user we send a signal */
  g_print("Ping!\n");
  /* Return TRUE to tell the event loop we want to be called again */
  return TRUE;
}

The main function creates a GLib event loop, gets a connection to the session bus, and integrates the D-BUS event handling into the Glib event loop. Then it creates a one-second timer that calls send_ping, and starts the event loop.

send_ping constructs a new Ping signal, coming from the object path /com/burtonini/dbus/ping and interfacecom.burtonini.dbus.Signal. Then the string "Ping!" is added as an argument to the signal and sent across the bus. A message is printed on standard output to let the user know a signal was sent.

Of course, it is not good to fire signals down the bus if there is nothing listening to them... which brings us to:


Listing 2. dbus-ping-listen.c
#include <glib.h>
#include <dbus/dbus-glib.h>

static DBusHandlerResult signal_filter 
      (DBusConnection *connection, DBusMessage *message, void *user_data);

int
main (int argc, char **argv)
{
  GMainLoop *loop;
  DBusConnection *bus;
  DBusError error;

  loop = g_main_loop_new (NULL, FALSE);

  dbus_error_init (&error);
  bus = dbus_bus_get (DBUS_BUS_SESSION, &error);
  if (!bus) {
    g_warning ("Failed to connect to the D-BUS daemon: %s", error.message);
    dbus_error_free (&error);
    return 1;
  }
  dbus_connection_setup_with_g_main (bus, NULL);

  /* listening to messages from all objects as no path is specified */
  dbus_bus_add_match (bus, "type='signal',interface='com.burtonini.dbus.Signal'");
  dbus_connection_add_filter (bus, signal_filter, loop, NULL);

  g_main_loop_run (loop);
  return 0;
}

static DBusHandlerResult
signal_filter (DBusConnection *connection, DBusMessage *message, void *user_data)
{
  /* User data is the event loop we are running in */
  GMainLoop *loop = user_data;

  /* A signal from the bus saying we are about to be disconnected */
  if (dbus_message_is_signal 
        (message, DBUS_INTERFACE_ORG_FREEDESKTOP_LOCAL, "Disconnected")) {
    /* Tell the main loop to quit */
    g_main_loop_quit (loop);
    /* We have handled this message, don't pass it on */
    return DBUS_HANDLER_RESULT_HANDLED;
  }
  /* A Ping signal on the com.burtonini.dbus.Signal interface */
  else if (dbus_message_is_signal (message, "com.burtonini.dbus.Signal", "Ping")) {
    DBusError error;
    char *s;
    dbus_error_init (&error);
    if (dbus_message_get_args 
       (message, &error, DBUS_TYPE_STRING, &s, DBUS_TYPE_INVALID)) {
      g_print("Ping received: %s\n", s);
      dbus_free (s);
    } else {
      g_print("Ping received, but error getting message: %s\n", error.message);
      dbus_error_free (&error);
    }
    return DBUS_HANDLER_RESULT_HANDLED;
  }
  return DBUS_HANDLER_RESULT_NOT_YET_HANDLED;
}

This program listens for the signals dbus-ping-send.c is emitting. The main function starts as before, creating a connection to the bus. Then it states that it would like to be notified when signals with the com.burtonini.dbus.Signal interface are sent, setssignal_filter as the notification function, and enters the event loop.

signal_func is called when a message that meets the matches is sent. However, it will also receive bus management signals from the bus itself. Deciding what to do when a message is received is a simple case of examining the message header. If the message is a bus disconnect signal, the event loop is terminated, as there is no point in listening to a non-existent bus. (The bus is told that the signal was handled). Next, the incoming message is compared to the message we are expecting, and, if successful, the argument is extracted and output. If the incoming message is neither of those, the bus is told that we did not handle the message.

Those two examples used the low-level D-BUS library, which is complete but can be long-winded to use when you want to create services and many objects. This is where the higher-level bindings come in. There are C# and Python wrappers in development that present a programming interface far closer to the logical model of D-BUS. As an example, here is a more sophisticated reworking of the ping/listen example in Python. Because the Python bindings model the logical interface, it is not possible to send a signal without it coming from a service. So this example also creates a service:


Listing 3. dbus-ping-send.py
#! /usr/bin/env python

import gtk
import dbus

# Connect to the bus
bus = dbus.Bus()

# Create a service on the bus
service = dbus.Service("com.burtonini.dbus.SignalService", bus)

# Define a D-BUS object
class SignalObject(dbus.Object):
    def __init__(self, service):
        dbus.Object.__init__(self, "/", [], service)

# Create an instance of the object, which is part of the service
signal_object = SignalObject(service)

def send_ping():
    signal_object.broadcast_signal("com.burtonini.dbus.Signal", "Ping")
    print "Ping!"
    return gtk.TRUE

# Call send_ping every second to send the signal
gtk.timeout_add(1000, send_ping)
gtk.main()

Most of the code is self-explanatory: a connection to the bus is obtained, and the service com.burtonini.dbus.SignalService is registered. Then a minimal D-BUS object is created and every second a signal is broadcast from the object. This code is clearer than the corresponding C code, but the Python bindings still need work. (For instance, there is no way to add arguments to signals.)


Listing 4. dbus-ping-listen.py
#! /usr/bin/env python

import gtk
import dbus

bus = dbus.Bus()

def signal_callback(interface, signal_name, service, path, message):
    print "Received signal %s from %s" % (signal_name, interface)

# Catch signals from a specific interface and object, and call signal_callback
# when they arrive.
bus.add_signal_receiver(signal_callback,
                        "com.burtonini.dbus.Signal", # Interface
                        None, # Any service
                        "/" # Path of sending object
                        )

# Enter the event loop, waiting for signals
gtk.main()

This code is more concise than the equivalent C code in dbus-ping-listen.c and is easier to read. Again, there are areas where the bindings still need work (when calling bus.add_signal_receiver, the user must pass in an interface and an object path; otherwise, malformed matchers are created). This is a trivial bug, and once it is fixed, the service and object path arguments could be removed, improving the readability of the code even more.

Conclusion

D-BUS is a lightweight yet powerful remote procedure call system with minimal overhead costs for the applications that wish to use it. D-BUS is under active public development by a group of very experienced programmers. Acceptance of D-BUS by early adopters is rapid, so it appears to have a rosy future on the Linux desktop.


Resources

  • You'll find info, downloads, documentation, and more at the D-BUS home page

  • D-BUS is developed as part of freedesktop.org/

  • CORBA is a powerful, standardized remote procedure call specification.

  • ORBit is the CORBA implementation used in GNOME. (The GNOME component system Bonobo is built on top of ORBit). 

  • KDE's remote procedure call implementation is DCOP

  • Project Utopia aims to build seamless integration of hardware in Linux and uses D-BUS to achieve this. 

  • Previously for developerWorks, Ross wrote Wrap GObjects in Python (developerWorks, March 2003), which shows how you can use a C-coded GObject in Python whenever you like, whether or not you're especially proficient in C.

  • The tutorials Bridging XPCOM/Bonobo: Techniques (developerWorks, May 2001) and Bridging XPCOM/Bonobo: Implementation (developerWorks, May 2001) discuss concepts and techniques required for bridging two component architectures so that the components from one architecture can be used in another environment.

  • Connect KDE applications using DCOP (developerWorks, February 2004) introduces KDE's inter-process communication protocol and how to script it.

  • Synchronizing processes and threads (developerWorks, October 2001) looks at inter-process synchronization primitives as a way to control two processes' access to the same resource.

  • CORBA Component Model (CCM) outlines the CORBA specification and CORBA interoperability with other component models. 

  • Find more resources for Linux developers in the developerWorks Linux zone.

  • Browse for books on these and other technical topics.

  • Download no-charge trial versions of selected developerWorks Subscription products that run on Linux, including WebSphere Studio Site Developer, WebSphere SDK for Web services, WebSphere Application Server, DB2 Universal Database Personal Developers Edition, Tivoli Access Manager, and Lotus Domino Server, from the Speed-start your Linux app section of developerWorks. For an even speedier start, help yourself to a product-by-product collection of how-to articles and tech support.

About the author

Ross Burton is an average computer science graduate who by day codes Java and embedded systems. By night, to get away from the horrors, he prefers Python, C, and GTK+. You can contact Ross at r.burton@180sw.com.

来源:http://www.ibm.com/developerworks/linux/library/l-dbus/index.html

vnc链接黑屏,Dec 1 16:08:00 node2 journal[3194128]: gsd-wacom: Fatal IO error 11 (Resource temporarily unavailable) on X server :1. Dec 1 16:08:00 node2 journal[3194161]: gsd-media-keys: Fatal IO error 11 (Resource temporarily unavailable) on X server :1. Dec 1 16:08:00 node2 org.gtk.vfs.Daemon[3193754]: A connection to the bus can't be made Dec 1 16:08:00 node2 org.a11y.Bus[3193754]: X connection to :1 broken (explicit kill or server shutdown). Dec 1 16:08:00 node2 gnome-session[3193739]: gnome-session-binary[3193739]: WARNING: Lost name on bus: org.gnome.SessionManager Dec 1 16:08:00 node2 journal[3194162]: gsd-keyboard: Fatal IO error 11 (Resource temporarily unavailable) on X server :1. Dec 1 16:08:00 node2 gnome-session-binary[3193739]: WARNING: Lost name on bus: org.gnome.SessionManager Dec 1 16:08:00 node2 tracker-miner-fs.desktop[3194308]: Received signal:15->'Terminated' Dec 1 16:08:00 node2 tracker-miner-apps.desktop[3194307]: Received signal:15->'Terminated' Dec 1 16:08:00 node2 tracker-miner-apps.desktop[3194307]: OK Dec 1 16:08:00 node2 journal[3194151]: gsd-clipboard: Fatal IO error 11 (Resource temporarily unavailable) on X server :1. Dec 1 16:08:00 node2 tracker-miner-fs.desktop[3194308]: OK Dec 1 16:08:00 node2 journal[3194127]: gsd-xsettings: Fatal IO error 11 (Resource temporarily unavailable) on X server :1. Dec 1 16:08:00 node2 journal[3194146]: gsd-color: Fatal IO error 11 (Resource temporarily unavailable) on X server :1. Dec 1 16:08:00 node2 journal[3194107]: gsd-power: Fatal IO error 11 (Resource temporarily unavailable) on X server :1. Dec 1 16:08:00 node2 cupsd[4302]: REQUEST localhost - - "POST / HTTP/1.1" 200 151 Cancel-Subscription successful-ok Dec 1 16:08:00 node2 cupsd[4302]: REQUEST localhost - - "POST / HTTP/1.1" 200 151 Cancel-Subscription client-error-not-found Dec 1 16:08:00 node2 journal[3194108]: Source ID 3 was not found when attempting to remove it Dec 1 16:08:00 node2 journal[3194308]: Error while sending AddMatch() message: The connection is closed Dec 1 16:08:00 node2 journal[3194308]: Error while sending AddMatch() message: The connection is closed Dec 1 16:08:00 node2 journal[3194308]: Error while sending AddMatch() message: The connection is closed Dec 1 16:08:00 node2 gnome-session[3193739]: Unable to init server: Could not connect: Connection refused Dec 1 16:08:00 node2 journal[3328590]: Cannot open display: Dec 1 16:08:00 node2 org.freedesktop.Tracker1[3193754]: Received signal:15->'Terminated' Dec 1 16:08:00 node2 org.freedesktop.Tracker1[3193754]: OK Dec 1 16:08:01 node2 systemd[1]: Started Session 74848 of user root. Dec 1 16:08:01 node2 systemd[1]: session-74848.scope: Succeeded. Dec 1 16:08:15 node2 su[3328613]: (to msk) root on pts/0 Dec 1 16:09:00 node2 journal[3194194]: Service not used for 60 seconds. Shutting down.. Dec 1 16:09:00 node2 systemd[1]: geoclue.service: Succeeded. Dec 1 16:09:01 node2 systemd[1]: Started Session 74849 of user root. Dec 1 16:09:01 node2 systemd[1]: session-74849.scope: Succeeded. Dec 1 16:10:01 node2 systemd[1]: Started Session 74850 of user root. Dec 1 16:10:01 node2 systemd[1]: Starting system activity accounting tool... Dec 1 16:10:01 node2 systemd[1]: sysstat-collect.service: Succeeded. Dec 1 16:10:01 node2 systemd[1]: Started system activity accounting tool. Dec 1 16:10:01 node2 systemd[1]: session-74850.scope: Succeeded. Dec 1 16:10:16 node2 dbus-daemon[3328913]: [session uid=0 pid=3328911] Activating service name='org.freedesktop.systemd1' requested by ':1.0' (uid=0 pid=3328955 comm="systemctl --user import-environment DISPLAY XAUTHO") Dec 1 16:10:16 node2 dbus-daemon[3328913]: [session uid=0 pid=3328911] Activated service 'org.freedesktop.systemd1' failed: Process org.freedesktop.systemd1 exited with status 1 Dec 1 16:10:16 node2 dbus-daemon[3328913]: [session uid=0 pid=3328911] Activating service name='org.freedesktop.systemd1' requested by ':1.3' (uid=0 pid=3328903 comm="/usr/libexec/gnome-session-binary ") Dec 1 16:10:16 node2 dbus-daemon[3328913]: [session uid=0 pid=3328911] Activated service 'org.freedesktop.systemd1' failed: Process org.freedesktop.systemd1 exited with status 1 Dec 1 16:10:16 node2 dbus-daemon[3328913]: [session uid=0 pid=3328911] Activating service name='org.a11y.Bus' requested by ':1.4' (uid=0 pid=3328974 comm="/usr/libexec/gnome-session-check-accelerated ") Dec 1 16:10:16 node2 dbus-daemon[3328913]: [session uid=0 pid=3328911] Successfully activated service 'org.a11y.Bus' Dec 1 16:10:16 node2 org.a11y.Bus[3328913]: dbus-daemon[3329017]: Activating service name='org.a11y.atspi.Registry' requested by ':1.0' (uid=0 pid=3328974 comm="/usr/libexec/gnome-session-check-accelerated ") Dec 1 16:10:16 node2 dbus-daemon[3328913]: [session uid=0 pid=3328911] Activating service name='org.gtk.vfs.Daemon' requested by ':1.6' (uid=0 pid=3328974 comm="/usr/libexec/gnome-session-check-accelerated ") Dec 1 16:10:16 node2 org.a11y.Bus[3328913]: dbus-daemon[3329017]: Successfully activated service 'org.a11y.atspi.Registry' Dec 1 16:10:16 node2 org.a11y.Bus[3328913]: SpiRegistry daemon is running with well-known name - org.a11y.atspi.Registry Dec 1 16:10:16 node2 dbus-daemon[3328913]: [session uid=0 pid=3328911] Successfully activated service 'org.gtk.vfs.Daemon' Dec 1 16:10:16 node2 dbus-daemon[3328913]: [session uid=0 pid=3328911] Activating service name='org.freedesktop.systemd1' requested by ':1.11' (uid=0 pid=3328903 comm="/usr/libexec/gnome-session-binary ") Dec 1 16:10:16 node2 dbus-daemon[3328913]: [session uid=0 pid=3328911] Activated service 'org.freedesktop.systemd1' failed: Process org.freedesktop.systemd1 exited with status 1 Dec 1 16:10:16 node2 dbus-daemon[3328913]: [session uid=0 pid=3328911] Activating service name='org.freedesktop.systemd1' requested by ':1.13' (uid=0 pid=3328903 comm="/usr/libexec/gnome-session-binary ") Dec 1 16:10:16 node2 dbus-daemon[3328913]: [session uid=0 pid=3328911] Activated service 'org.freedesktop.systemd1' failed: Process org.freedesktop.systemd1 exited with status 1 Dec 1 16:10:16 node2 dbus-daemon[3328913]: [session uid=0 pid=3328911] Activating service name='org.freedesktop.systemd1' requested by ':1.15' (uid=0 pid=3328903 comm="/usr/libexec/gnome-session-binary ") Dec 1 16:10:16 node2 dbus-daemon[3328913]: [session uid=0 pid=3328911] Activated service 'org.freedesktop.systemd1' failed: Process org.freedesktop.systemd1 exited with status 1 Dec 1 16:10:16 node2 dbus-daemon[3328913]: [session uid=0 pid=3328911] Activating service name='org.freedesktop.systemd1' requested by ':1.17' (uid=0 pid=3328903 comm="/usr/libexec/gnome-session-binary ") Dec 1 16:10:16 node2 dbus-daemon[3328913]: [session uid=0 pid=3328911] Activated service 'org.freedesktop.systemd1' failed: Process org.freedesktop.systemd1 exited with status 1 Dec 1 16:10:16 node2 dbus-daemon[3328913]: [session uid=0 pid=3328911] Activating service name='org.freedesktop.systemd1' requested by ':1.19' (uid=0 pid=3328903 comm="/usr/libexec/gnome-session-binary ") Dec 1 16:10:16 node2 dbus-daemon[3328913]: [session uid=0 pid=3328911] Activated service 'org.freedesktop.systemd1' failed: Process org.freedesktop.systemd1 exited with status 1 Dec 1 16:10:16 node2 dbus-daemon[3328913]: [session uid=0 pid=3328911] Activating service name='org.freedesktop.systemd1' requested by ':1.20' (uid=0 pid=3328903 comm="/usr/libexec/gnome-session-binary ") Dec 1 16:10:16 node2 dbus-daemon[3328913]: [session uid=0 pid=3328911] Activated service 'org.freedesktop.systemd1' failed: Process org.freedesktop.systemd1 exited with status 1 Dec 1 16:10:16 node2 gnome-keyring-pkcs11.desktop[3329062]: GNOME_KEYRING_CONTROL=/root/.cache/keyring-TA7WG3 Dec 1 16:10:16 node2 dbus-daemon[3328913]: [session uid=0 pid=3328911] Activating service name='org.freedesktop.systemd1' requested by ':1.20' (uid=0 pid=3328903 comm="/usr/libexec/gnome-session-binary ") Dec 1 16:10:16 node2 dbus-daemon[3328913]: [session uid=0 pid=3328911] Activated service 'org.freedesktop.systemd1' failed: Process org.freedesktop.systemd1 exited with status 1 Dec 1 16:10:16 node2 gnome-keyring-secrets.desktop[3329059]: GNOME_KEYRING_CONTROL=/root/.cache/keyring-TA7WG3 Dec 1 16:10:16 node2 gnome-keyring-ssh.desktop[3329060]: GNOME_KEYRING_CONTROL=/root/.cache/keyring-TA7WG3 Dec 1 16:10:16 node2 gnome-keyring-ssh.desktop[3329060]: SSH_AUTH_SOCK=/root/.cache/keyring-TA7WG3/ssh Dec 1 16:10:16 node2 dbus-daemon[3328913]: [session uid=0 pid=3328911] Activating service name='org.freedesktop.systemd1' requested by ':1.20' (uid=0 pid=3328903 comm="/usr/libexec/gnome-session-binary ") Dec 1 16:10:16 node2 dbus-daemon[3328913]: [session uid=0 pid=3328911] Activated service 'org.freedesktop.systemd1' failed: Process org.freedesktop.systemd1 exited with status 1 Dec 1 16:10:16 node2 org.gnome.Shell.desktop[3329077]: Xlib: extension "DPMS" missing on display ":2". Dec 1 16:10:16 node2 org.gnome.Shell.desktop[3329077]: Xlib: extension "DPMS" missing on display ":2". Dec 1 16:10:16 node2 journal[3329077]: Unset XDG_SESSION_ID, getCurrentSessionProxy() called outside a user session. Asking logind directly. Dec 1 16:10:16 node2 journal[3329077]: Will monitor session 74711 Dec 1 16:10:16 node2 dbus-daemon[3328913]: [session uid=0 pid=3328911] Activating service name='org.freedesktop.portal.IBus' requested by ':1.25' (uid=0 pid=3329163 comm="ibus-daemon --xim --panel disable ") Dec 1 16:10:16 node2 dbus-daemon[3328913]: [session uid=0 pid=3328911] Successfully activated service 'org.freedesktop.portal.IBus' Dec 1 16:10:16 node2 dbus-daemon[3328913]: [session uid=0 pid=3328911] Activating service name='org.freedesktop.impl.portal.PermissionStore' requested by ':1.24' (uid=0 pid=3329077 comm="/usr/bin/gnome-shell ") Dec 1 16:10:16 node2 dbus-daemon[3328913]: [session uid=0 pid=3328911] Successfully activated service 'org.freedesktop.impl.portal.PermissionStore' Dec 1 16:10:16 node2 dbus-daemon[3328913]: [session uid=0 pid=3328911] Activating service name='org.gnome.Shell.CalendarServer' requested by ':1.24' (uid=0 pid=3329077 comm="/usr/bin/gnome-shell ") Dec 1 16:10:16 node2 dbus-daemon[3328913]: [session uid=0 pid=3328911] Activating service name='org.gnome.evolution.dataserver.Sources5' requested by ':1.31' (uid=0 pid=3329192 comm="/usr/libexec/gnome-shell-calendar-server ") Dec 1 16:10:16 node2 dbus-daemon[3328913]: [session uid=0 pid=3328911] Activating service name='org.gnome.OnlineAccounts' requested by ':1.32' (uid=0 pid=3329198 comm="/usr/libexec/evolution-source-registry ") Dec 1 16:10:16 node2 dbus-daemon[3328913]: [session uid=0 pid=3328911] Successfully activated service 'org.gnome.evolution.dataserver.Sources5' Dec 1 16:10:16 node2 dbus-daemon[3328913]: [session uid=0 pid=3328911] Successfully activated service 'org.gnome.Shell.CalendarServer' Dec 1 16:10:16 node2 dbus-daemon[2203]: [system] Activating via systemd: service name='org.freedesktop.GeoClue2' unit='geoclue.service' requested by ':1.155415' (uid=0 pid=3329077 comm="/usr/bin/gnome-shell ") Dec 1 16:10:16 node2 systemd[1]: Starting Location Lookup Service... Dec 1 16:10:16 node2 journal[3329077]: Telepathy is not available, chat integration will be disabled. Dec 1 16:10:16 node2 journal[3329204]: goa-daemon version 3.28.2 starting Dec 1 16:10:16 node2 dbus-daemon[3328913]: [session uid=0 pid=3328911] Activating service name='org.gnome.Identity' requested by ':1.34' (uid=0 pid=3329204 comm="/usr/libexec/goa-daemon ") Dec 1 16:10:16 node2 dbus-daemon[3328913]: [session uid=0 pid=3328911] Activating service name='org.gtk.vfs.UDisks2VolumeMonitor' requested by ':1.24' (uid=0 pid=3329077 comm="/usr/bin/gnome-shell ") Dec 1 16:10:16 node2 dbus-daemon[3328913]: [session uid=0 pid=3328911] Successfully activated service 'org.gnome.OnlineAccounts' Dec 1 16:10:16 node2 dbus-daemon[3328913]: [session uid=0 pid=3328911] Successfully activated service 'org.gnome.Identity' Dec 1 16:10:16 node2 journal[3329215]: GoaKerberosIdentityManager: Using polling for change notification for credential cache type 'KCM' Dec 1 16:10:16 node2 dbus-daemon[3328913]: [session uid=0 pid=3328911] Successfully activated service 'org.gtk.vfs.UDisks2VolumeMonitor' Dec 1 16:10:16 node2 dbus-daemon[3328913]: [session uid=0 pid=3328911] Activating service name='org.gtk.vfs.MTPVolumeMonitor' requested by ':1.24' (uid=0 pid=3329077 comm="/usr/bin/gnome-shell ") Dec 1 16:10:16 node2 dbus-daemon[3328913]: [session uid=0 pid=3328911] Successfully activated service 'org.gtk.vfs.MTPVolumeMonitor' Dec 1 16:10:16 node2 dbus-daemon[3328913]: [session uid=0 pid=3328911] Activating service name='org.gtk.vfs.GPhoto2VolumeMonitor' requested by ':1.24' (uid=0 pid=3329077 comm="/usr/bin/gnome-shell ") Dec 1 16:10:16 node2 dbus-daemon[3328913]: [session uid=0 pid=3328911] Successfully activated service 'org.gtk.vfs.GPhoto2VolumeMonitor' Dec 1 16:10:17 node2 dbus-daemon[3328913]: [session uid=0 pid=3328911] Activating service name='org.gtk.vfs.AfcVolumeMonitor' requested by ':1.24' (uid=0 pid=3329077 comm="/usr/bin/gnome-shell ") Dec 1 16:10:17 node2 org.gtk.vfs.AfcVolumeMonitor[3328913]: Volume monitor alive Dec 1 16:10:17 node2 dbus-daemon[3328913]: [session uid=0 pid=3328911] Successfully activated service 'org.gtk.vfs.AfcVolumeMonitor' Dec 1 16:10:17 node2 dbus-daemon[3328913]: [session uid=0 pid=3328911] Activating service name='org.gtk.vfs.GoaVolumeMonitor' requested by ':1.24' (uid=0 pid=3329077 comm="/usr/bin/gnome-shell ") Dec 1 16:10:17 node2 dbus-daemon[3328913]: [session uid=0 pid=3328911] Successfully activated service 'org.gtk.vfs.GoaVolumeMonitor' Dec 1 16:10:17 node2 pulseaudio.desktop[3329256]: W: [pulseaudio] main.c: This program is not intended to be run as root (unless --system is specified). Dec 1 16:10:17 node2 org.gnome.Shell.desktop[3329077]: Xlib: extension "DPMS" missing on display ":2". Dec 1 16:10:17 node2 dbus-daemon[2203]: [system] Activating via systemd: service name='org.bluez' unit='dbus-org.bluez.service' requested by ':1.155424' (uid=0 pid=3329285 comm="/usr/bin/pulseaudio --start ") Dec 1 16:10:17 node2 journal[3329291]: Loading NVML: libnvidia-ml.so: cannot open shared object file: No such file or directory Dec 1 16:10:17 node2 dbus-daemon[2203]: [system] Activating via systemd: service name='org.freedesktop.hostname1' unit='dbus-org.freedesktop.hostname1.service' requested by ':1.155433' (uid=0 pid=3329252 comm="/usr/libexec/gsd-rfkill ") Dec 1 16:10:17 node2 org.gnome.SettingsDaemon.Keyboard.desktop[3329299]: error: XDG_RUNTIME_DIR not set in the environment. Dec 1 16:10:17 node2 systemd[1]: Starting Hostname Service... Dec 1 16:10:17 node2 org.gnome.SettingsDaemon.Mouse.desktop[3329303]: error: XDG_RUNTIME_DIR not set in the environment. Dec 1 16:10:17 node2 dbus-daemon[3328913]: [session uid=0 pid=3328911] Activating service name='org.gnome.evolution.dataserver.Calendar7' requested by ':1.31' (uid=0 pid=3329192 comm="/usr/libexec/gnome-shell-calendar-server ") Dec 1 16:10:17 node2 dbus-daemon[2203]: [system] Activating via systemd: service name='org.freedesktop.locale1' unit='dbus-org.freedesktop.locale1.service' requested by ':1.155437' (uid=0 pid=3329299 comm="/usr/libexec/gsd-keyboard ") Dec 1 16:10:17 node2 dbus-daemon[3328913]: [session uid=0 pid=3328911] Activating service name='org.freedesktop.systemd1' requested by ':1.44' (uid=0 pid=3329254 comm="/usr/libexec/gsd-sharing ") Dec 1 16:10:17 node2 journal[3329254]: Failed to StopUnit service: GDBus.Error:org.freedesktop.DBus.Error.Spawn.ChildExited: Process org.freedesktop.systemd1 exited with status 1 Dec 1 16:10:17 node2 dbus-daemon[3328913]: [session uid=0 pid=3328911] Activated service 'org.freedesktop.systemd1' failed: Process org.freedesktop.systemd1 exited with status 1 Dec 1 16:10:17 node2 journal[3329254]: Failed to StopUnit service: GDBus.Error:org.freedesktop.DBus.Error.Spawn.ChildExited: Process org.freedesktop.systemd1 exited with status 1 Dec 1 16:10:17 node2 journal[3329254]: Failed to StopUnit service: GDBus.Error:org.freedesktop.DBus.Error.Spawn.ChildExited: Process org.freedesktop.systemd1 exited with status 1 Dec 1 16:10:17 node2 journal[3329254]: Failed to StopUnit service: GDBus.Error:org.freedesktop.DBus.Error.Spawn.ChildExited: Process org.freedesktop.systemd1 exited with status 1 Dec 1 16:10:17 node2 systemd[1]: Starting Locale Service... Dec 1 16:10:17 node2 dbus-daemon[2203]: [system] Successfully activated service 'org.freedesktop.GeoClue2' Dec 1 16:10:17 node2 systemd[1]: Started Location Lookup Service. Dec 1 16:10:17 node2 vmware-user.desktop[3329355]: vmware-user: could not open /proc/fs/vmblock/dev Dec 1 16:10:17 node2 vmware-user.desktop[3329355]: Error: /usr/bin/vmtoolsd must be run inside a virtual machine on a VMware hypervisor product. Dec 1 16:10:17 node2 dbus-daemon[3328913]: [session uid=0 pid=3328911] Activating service name='org.freedesktop.Tracker1' requested by ':1.60' (uid=0 pid=3329361 comm="gdbus call -e -d org.freedesktop.DBus -o /org/free") Dec 1 16:10:17 node2 gnome-session-binary[3328903]: Entering running state Dec 1 16:10:17 node2 dbus-daemon[3328913]: [session uid=0 pid=3328911] Successfully activated service 'org.freedesktop.Tracker1' Dec 1 16:10:17 node2 tracker-store.desktop[3329361]: (uint32 1,) Dec 1 16:10:17 node2 dbus-daemon[3328913]: [session uid=0 pid=3328911] Successfully activated service 'org.gnome.evolution.dataserver.Calendar7' Dec 1 16:10:17 node2 NetworkManager[2206]: <info> [1764576617.1924] agent-manager: agent[1eaebaa131647e84,:1.155415/org.gnome.Shell.NetworkAgent/0]: agent registered Dec 1 16:10:17 node2 journal[3329077]: Error looking up permission: GDBus.Error:org.freedesktop.portal.Error.NotFound: No entry for geolocation Dec 1 16:10:17 node2 dbus-daemon[3328913]: [session uid=0 pid=3328911] Activating service name='ca.desrt.dconf' requested by ':1.70' (uid=0 pid=3329409 comm="/usr/libexec/evolution-calendar-factory-subprocess") Dec 1 16:10:17 node2 journal[3329353]: enabled plugins: desktop-categories, fwupd, os-release, packagekit, packagekit-local, packagekit-offline, packagekit-proxy, packagekit-refresh, packagekit-upgrade, packagekit-url-to-app, shell-extensions, appstream, desktop-menu-path, flatpak, hardcoded-blacklist, hardcoded-popular, modalias, packagekit-refine, rewrite-resource, odrs, packagekit-history, provenance, systemd-updates, generic-updates, packagekit-refine-repos, provenance-license, icons, key-colors, key-colors-metadata Dec 1 16:10:17 node2 journal[3329353]: disabled plugins: dummy, fedora-langpacks, fedora-pkgdb-collections, repos Dec 1 16:10:17 node2 dbus-daemon[3328913]: [session uid=0 pid=3328911] Activating service name='org.gnome.evolution.dataserver.AddressBook9' requested by ':1.70' (uid=0 pid=3329409 comm="/usr/libexec/evolution-calendar-factory-subprocess") Dec 1 16:10:17 node2 dbus-daemon[3328913]: [session uid=0 pid=3328911] Successfully activated service 'ca.desrt.dconf' Dec 1 16:10:17 node2 journal[3329286]: no xrandr-VGA-1 device found: Failed to find output xrandr-VGA-1 Dec 1 16:10:17 node2 dbus-daemon[3328913]: [session uid=0 pid=3328911] Successfully activated service 'org.gnome.evolution.dataserver.AddressBook9' Dec 1 16:10:17 node2 dbus-daemon[2203]: [system] Activating via systemd: service name='org.freedesktop.fwupd' unit='fwupd.service' requested by ':1.155445' (uid=0 pid=3329353 comm="/usr/bin/gnome-software --gapplication-service ") Dec 1 16:10:17 node2 systemd[1]: Starting Firmware update daemon... Dec 1 16:10:17 node2 dbus-daemon[2203]: [system] Successfully activated service 'org.freedesktop.hostname1' Dec 1 16:10:17 node2 systemd[1]: Started Hostname Service. Dec 1 16:10:17 node2 cupsd[4302]: REQUEST localhost - - "POST / HTTP/1.1" 200 360 Create-Printer-Subscriptions successful-ok Dec 1 16:10:17 node2 dbus-daemon[2203]: [system] Successfully activated service 'org.freedesktop.locale1' Dec 1 16:10:17 node2 systemd[1]: Started Locale Service. Dec 1 16:10:17 node2 fwupd[3329449]: 08:10:17:0535 FuDeviceList ignoring device 7d29f2075dcafb4488b40c73f199cf46bb76bddb [optionrom:(null)] existing device ce4c74a5188d5b9cdb1e72ed32dad2d313c1c999 [optionrom:(null)] already exists Dec 1 16:10:17 node2 gnome-shell[3329077]: GNOME Shell started at Mon Dec 01 2025 16:10:17 GMT+0800 (CST) Dec 1 16:10:17 node2 dbus-daemon[2203]: [system] Successfully activated service 'org.freedesktop.fwupd' Dec 1 16:10:17 node2 systemd[1]: Started Firmware update daemon. Dec 1 16:10:17 node2 PackageKit[4929]: uid 0 is trying to obtain org.freedesktop.packagekit.system-sources-refresh auth (only_trusted:0) Dec 1 16:10:17 node2 PackageKit[4929]: uid 0 obtained auth for org.freedesktop.packagekit.system-sources-refresh Dec 1 16:10:21 node2 journal[3329207]: Failed to query location: Error resolving “location.services.mozilla.com”: Name or service not known Dec 1 16:10:37 node2 journal[4929]: LRO_MIRRORLISTURL processing failed: Curl error (6): Couldn't resolve host name for http://mirrorlist.centos.org/?release=8&arch=x86_64&repo=extras&infra=stock [Could not resolve host: mirrorlist.centos.org] Dec 1 16:10:42 node2 dbus-daemon[2203]: [system] Failed to activate service 'org.bluez': timed out (service_start_timeout=25000ms) Dec 1 16:10:42 node2 pulseaudio[3329285]: GetManagedObjects() failed: org.freedesktop.DBus.Error.NoReply: Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken. Dec 1 16:10:47 node2 systemd[1]: systemd-localed.service: Succeeded. Dec 1 16:10:47 node2 systemd[1]: systemd-hostnamed.service: Succeeded. Dec 1 16:11:01 node2 systemd[1]: Started Session 74851 of user root. Dec 1 16:11:01 node2 systemd[1]: session-74851.scope: Succeeded. Dec 1 16:11:51 node2 journal[4929]: LRO_MIRRORLISTURL processing failed: Curl error (6): Couldn't resolve host name for http://mirrorlist.centos.org/?release=8&arch=x86_64&repo=extras&infra=stock [Could not resolve host: mirrorlist.centos.org] Dec 1 16:12:01 node2 systemd[1]: Started Session 74852 of user root. Dec 1 16:12:01 node2 systemd[1]: session-74852.scope: Succeeded. Dec 1 16:13:01 node2 systemd[1]: Started Session 74853 of user root. Dec 1 16:13:01 node2 systemd[1]: session-74853.scope: Succeeded. Dec 1 16:14:01 node2 systemd[1]: Started Session 74854 of user root. Dec 1 16:14:01 node2 systemd[1]: session-74854.scope: Succeeded. Dec 1 16:14:18 node2 journal[4929]: LRO_METALINKURL processing failed: Curl error (6): Couldn't resolve host name for https://mirrors.fedoraproject.org/metalink?repo=epel-modular-8&arch=x86_64&infra=stock&content=centos [Could not resolve host: mirrors.fedoraproject.org] Dec 1 16:14:30 node2 journal[3329077]: gnome-shell: Fatal IO error 11 (Resource temporarily unavailable) on X server :2. Dec 1 16:14:30 node2 org.gtk.vfs.Daemon[3328913]: A connection to the bus can't be made Dec 1 16:14:30 node2 gnome-session[3328903]: gnome-session-binary[3328903]: WARNING: Lost name on bus: org.gnome.SessionManager Dec 1 16:14:30 node2 org.gnome.Shell.CalendarServer[3328913]: gnome-shell-calendar-server[3329192]: Lost (or failed to acquire) the name org.gnome.Shell.CalendarServer - exiting Dec 1 16:14:30 node2 tracker-miner-apps.desktop[3329359]: Received signal:15->'Terminated' Dec 1 16:14:30 node2 tracker-miner-apps.desktop[3329359]: OK Dec 1 16:14:30 node2 gnome-session-binary[3328903]: WARNING: Lost name on bus: org.gnome.SessionManager Dec 1 16:14:30 node2 tracker-miner-fs.desktop[3329360]: Received signal:15->'Terminated' Dec 1 16:14:30 node2 journal[3329360]: Owner of volume monitor org.gtk.vfs.UDisks2VolumeMonitor disconnected from the bus; removing drives/volumes/mounts Dec 1 16:14:30 node2 tracker-miner-fs.desktop[3329360]: OK Dec 1 16:14:30 node2 journal[3329360]: Owner of volume monitor org.gtk.vfs.MTPVolumeMonitor disconnected from the bus; removing drives/volumes/mounts Dec 1 16:14:30 node2 journal[3329360]: Owner of volume monitor org.gtk.vfs.GPhoto2VolumeMonitor disconnected from the bus; removing drives/volumes/mounts Dec 1 16:14:30 node2 journal[3329360]: Owner of volume monitor org.gtk.vfs.AfcVolumeMonitor disconnected from the bus; removing drives/volumes/mounts Dec 1 16:14:30 node2 journal[3329360]: Owner of volume monitor org.gtk.vfs.GoaVolumeMonitor disconnected from the bus; removing drives/volumes/mounts Dec 1 16:14:30 node2 systemd[3326885]: root-.gvfs.mount: Succeeded. Dec 1 16:14:30 node2 systemd[3319485]: root-.gvfs.mount: Succeeded. Dec 1 16:14:30 node2 journal[3329360]: Error while sending AddMatch() message: The connection is closed Dec 1 16:14:30 node2 journal[3329360]: Error while sending AddMatch() message: The connection is closed Dec 1 16:14:30 node2 journal[3329360]: Error while sending AddMatch() message: The connection is closed Dec 1 16:14:30 node2 cupsd[4302]: REQUEST localhost - - "POST / HTTP/1.1" 200 152 Cancel-Subscription successful-ok Dec 1 16:14:30 node2 cupsd[4302]: REQUEST localhost - - "POST / HTTP/1.1" 200 152 Cancel-Subscription client-error-not-found Dec 1 16:14:30 node2 journal[3329251]: Source ID 3 was not found when attempting to remove it Dec 1 16:14:30 node2 journal[3329249]: gsd-power: Fatal IO error 11 (Resource temporarily unavailable) on X server :2. Dec 1 16:14:30 node2 journal[3329268]: gsd-xsettings: Fatal IO error 11 (Resource temporarily unavailable) on X server :2. Dec 1 16:14:30 node2 journal[3329271]: gsd-wacom: Fatal IO error 11 (Resource temporarily unavailable) on X server :2. Dec 1 16:14:30 node2 journal[3329288]: gsd-clipboard: Fatal IO error 11 (Resource temporarily unavailable) on X server :2. Dec 1 16:14:30 node2 journal[3329296]: gsd-media-keys: Fatal IO error 11 (Resource temporarily unavailable) on X server :2. Dec 1 16:14:30 node2 journal[3329299]: gsd-keyboard: Fatal IO error 11 (Resource temporarily unavailable) on X server :2. Dec 1 16:14:30 node2 journal[3329286]: gsd-color: Fatal IO error 11 (Resource temporarily unavailable) on X server :2. Dec 1 16:14:30 node2 gnome-session[3328903]: gnome-session-binary[3328903]: WARNING: App 'org.gnome.SettingsDaemon.Clipboard.desktop' exited with code 1 Dec 1 16:14:30 node2 gnome-session-binary[3328903]: WARNING: App 'org.gnome.SettingsDaemon.Clipboard.desktop' exited with code 1 Dec 1 16:14:30 node2 gnome-session[3328903]: gnome-session-binary[3328903]: WARNING: App 'org.gnome.SettingsDaemon.Power.desktop' exited with code 1 Dec 1 16:14:30 node2 gnome-session-binary[3328903]: WARNING: App 'org.gnome.SettingsDaemon.Power.desktop' exited with code 1 Dec 1 16:14:30 node2 gnome-session-binary[3328903]: WARNING: App 'org.gnome.SettingsDaemon.Wacom.desktop' exited with code 1 Dec 1 16:14:30 node2 gnome-session[3328903]: gnome-session-binary[3328903]: WARNING: App 'org.gnome.SettingsDaemon.Wacom.desktop' exited with code 1 Dec 1 16:14:30 node2 gnome-session[3328903]: gnome-session-binary[3328903]: WARNING: App 'org.gnome.SettingsDaemon.Keyboard.desktop' exited with code 1 Dec 1 16:14:30 node2 gnome-session-binary[3328903]: WARNING: App 'org.gnome.SettingsDaemon.Keyboard.desktop' exited with code 1 Dec 1 16:14:30 node2 gnome-session[3328903]: gnome-session-binary[3328903]: WARNING: App 'org.gnome.SettingsDaemon.MediaKeys.desktop' exited with code 1 Dec 1 16:14:30 node2 gnome-session-binary[3328903]: WARNING: App 'org.gnome.SettingsDaemon.MediaKeys.desktop' exited with code 1 Dec 1 16:14:30 node2 org.freedesktop.Tracker1[3328913]: Received signal:15->'Terminated' Dec 1 16:14:30 node2 org.freedesktop.Tracker1[3328913]: OK Dec 1 16:14:30 node2 gnome-session[3328903]: gnome-session-binary[3328903]: WARNING: App 'org.gnome.SettingsDaemon.XSettings.desktop' exited with code 1 Dec 1 16:14:30 node2 gnome-session-binary[3328903]: WARNING: App 'org.gnome.SettingsDaemon.XSettings.desktop' exited with code 1 Dec 1 16:14:30 node2 gnome-session[3328903]: gnome-session-binary[3328903]: WARNING: App 'org.gnome.SettingsDaemon.Color.desktop' exited with code 1 Dec 1 16:14:30 node2 gnome-session-binary[3328903]: WARNING: App 'org.gnome.SettingsDaemon.Color.desktop' exited with code 1 Dec 1 16:14:30 node2 gnome-session[3328903]: Unable to init server: Could not connect: Connection refused Dec 1 16:14:30 node2 journal[3329759]: Cannot open display: Dec 1 16:14:52 node2 dbus-daemon[3329840]: [session uid=0 pid=3329838] Activating service name='org.freedesktop.systemd1' requested by ':1.0' (uid=0 pid=3329882 comm="systemctl --user import-environment DISPLAY XAUTHO") Dec 1 16:14:52 node2 dbus-daemon[3329840]: [session uid=0 pid=3329838] Activated service 'org.freedesktop.systemd1' failed: Process org.freedesktop.systemd1 exited with status 1 Dec 1 16:14:52 node2 dbus-daemon[3329840]: [session uid=0 pid=3329838] Activating service name='org.freedesktop.systemd1' requested by ':1.3' (uid=0 pid=3329830 comm="/usr/libexec/gnome-session-binary ") Dec 1 16:14:52 node2 dbus-daemon[3329840]: [session uid=0 pid=3329838] Activated service 'org.freedesktop.systemd1' failed: Process org.freedesktop.systemd1 exited with status 1 Dec 1 16:14:52 node2 dbus-daemon[3329840]: [session uid=0 pid=3329838] Activating service name='org.a11y.Bus' requested by ':1.4' (uid=0 pid=3329900 comm="/usr/libexec/gnome-session-check-accelerated ") Dec 1 16:14:52 node2 dbus-daemon[3329840]: [session uid=0 pid=3329838] Successfully activated service 'org.a11y.Bus' Dec 1 16:14:52 node2 org.a11y.Bus[3329840]: dbus-daemon[3329943]: Activating service name='org.a11y.atspi.Registry' requested by ':1.0' (uid=0 pid=3329900 comm="/usr/libexec/gnome-session-check-accelerated ") Dec 1 16:14:52 node2 dbus-daemon[3329840]: [session uid=0 pid=3329838] Activating service name='org.gtk.vfs.Daemon' requested by ':1.6' (uid=0 pid=3329900 comm="/usr/libexec/gnome-session-check-accelerated ") Dec 1 16:14:52 node2 org.a11y.Bus[3329840]: dbus-daemon[3329943]: Successfully activated service 'org.a11y.atspi.Registry' Dec 1 16:14:52 node2 org.a11y.Bus[3329840]: SpiRegistry daemon is running with well-known name - org.a11y.atspi.Registry Dec 1 16:14:52 node2 dbus-daemon[3329840]: [session uid=0 pid=3329838] Successfully activated service 'org.gtk.vfs.Daemon' Dec 1 16:14:52 node2 dbus-daemon[3329840]: [session uid=0 pid=3329838] Activating service name='org.freedesktop.systemd1' requested by ':1.11' (uid=0 pid=3329830 comm="/usr/libexec/gnome-session-binary ") Dec 1 16:14:52 node2 dbus-daemon[3329840]: [session uid=0 pid=3329838] Activated service 'org.freedesktop.systemd1' failed: Process org.freedesktop.systemd1 exited with status 1 Dec 1 16:14:52 node2 dbus-daemon[3329840]: [session uid=0 pid=3329838] Activating service name='org.freedesktop.systemd1' requested by ':1.13' (uid=0 pid=3329830 comm="/usr/libexec/gnome-session-binary ") Dec 1 16:14:52 node2 dbus-daemon[3329840]: [session uid=0 pid=3329838] Activated service 'org.freedesktop.systemd1' failed: Process org.freedesktop.systemd1 exited with status 1 Dec 1 16:14:52 node2 dbus-daemon[3329840]: [session uid=0 pid=3329838] Activating service name='org.freedesktop.systemd1' requested by ':1.15' (uid=0 pid=3329830 comm="/usr/libexec/gnome-session-binary ") Dec 1 16:14:52 node2 dbus-daemon[3329840]: [session uid=0 pid=3329838] Activated service 'org.freedesktop.systemd1' failed: Process org.freedesktop.systemd1 exited with status 1 Dec 1 16:14:52 node2 dbus-daemon[3329840]: [session uid=0 pid=3329838] Activating service name='org.freedesktop.systemd1' requested by ':1.17' (uid=0 pid=3329830 comm="/usr/libexec/gnome-session-binary ") Dec 1 16:14:52 node2 dbus-daemon[3329840]: [session uid=0 pid=3329838] Activated service 'org.freedesktop.systemd1' failed: Process org.freedesktop.systemd1 exited with status 1 Dec 1 16:14:52 node2 dbus-daemon[3329840]: [session uid=0 pid=3329838] Activating service name='org.freedesktop.systemd1' requested by ':1.19' (uid=0 pid=3329830 comm="/usr/libexec/gnome-session-binary ") Dec 1 16:14:52 node2 dbus-daemon[3329840]: [session uid=0 pid=3329838] Activated service 'org.freedesktop.systemd1' failed: Process org.freedesktop.systemd1 exited with status 1 Dec 1 16:14:52 node2 dbus-daemon[3329840]: [session uid=0 pid=3329838] Activating service name='org.freedesktop.systemd1' requested by ':1.20' (uid=0 pid=3329830 comm="/usr/libexec/gnome-session-binary ") Dec 1 16:14:52 node2 dbus-daemon[3329840]: [session uid=0 pid=3329838] Activated service 'org.freedesktop.systemd1' failed: Process org.freedesktop.systemd1 exited with status 1 Dec 1 16:14:52 node2 gnome-keyring-pkcs11.desktop[3329980]: GNOME_KEYRING_CONTROL=/root/.cache/keyring-HV2SG3 Dec 1 16:14:52 node2 dbus-daemon[3329840]: [session uid=0 pid=3329838] Activating service name='org.freedesktop.systemd1' requested by ':1.20' (uid=0 pid=3329830 comm="/usr/libexec/gnome-session-binary ") Dec 1 16:14:52 node2 dbus-daemon[3329840]: [session uid=0 pid=3329838] Activated service 'org.freedesktop.systemd1' failed: Process org.freedesktop.systemd1 exited with status 1 Dec 1 16:14:52 node2 gnome-keyring-secrets.desktop[3329977]: GNOME_KEYRING_CONTROL=/root/.cache/keyring-HV2SG3 Dec 1 16:14:52 node2 gnome-keyring-ssh.desktop[3329979]: GNOME_KEYRING_CONTROL=/root/.cache/keyring-HV2SG3 Dec 1 16:14:52 node2 gnome-keyring-ssh.desktop[3329979]: SSH_AUTH_SOCK=/root/.cache/keyring-HV2SG3/ssh Dec 1 16:14:52 node2 dbus-daemon[3329840]: [session uid=0 pid=3329838] Activating service name='org.freedesktop.systemd1' requested by ':1.20' (uid=0 pid=3329830 comm="/usr/libexec/gnome-session-binary ") Dec 1 16:14:52 node2 dbus-daemon[3329840]: [session uid=0 pid=3329838] Activated service 'org.freedesktop.systemd1' failed: Process org.freedesktop.systemd1 exited with status 1 Dec 1 16:14:52 node2 org.gnome.Shell.desktop[3329995]: Xlib: extension "DPMS" missing on display ":2". Dec 1 16:14:52 node2 org.gnome.Shell.desktop[3329995]: Xlib: extension "DPMS" missing on display ":2". Dec 1 16:14:52 node2 journal[3329995]: Unset XDG_SESSION_ID, getCurrentSessionProxy() called outside a user session. Asking logind directly. Dec 1 16:14:52 node2 journal[3329995]: Will monitor session 74711 Dec 1 16:14:52 node2 dbus-daemon[3329840]: [session uid=0 pid=3329838] Activating service name='org.freedesktop.portal.IBus' requested by ':1.25' (uid=0 pid=3330081 comm="ibus-daemon --xim --panel disable ") Dec 1 16:14:52 node2 dbus-daemon[3329840]: [session uid=0 pid=3329838] Activating service name='org.freedesktop.impl.portal.PermissionStore' requested by ':1.24' (uid=0 pid=3329995 comm="/usr/bin/gnome-shell ") Dec 1 16:14:52 node2 dbus-daemon[3329840]: [session uid=0 pid=3329838] Successfully activated service 'org.freedesktop.portal.IBus' Dec 1 16:14:52 node2 dbus-daemon[3329840]: [session uid=0 pid=3329838] Successfully activated service 'org.freedesktop.impl.portal.PermissionStore' Dec 1 16:14:52 node2 dbus-daemon[3329840]: [session uid=0 pid=3329838] Activating service name='org.gnome.Shell.CalendarServer' requested by ':1.24' (uid=0 pid=3329995 comm="/usr/bin/gnome-shell ") Dec 1 16:14:52 node2 dbus-daemon[3329840]: [session uid=0 pid=3329838] Activating service name='org.gnome.evolution.dataserver.Sources5' requested by ':1.31' (uid=0 pid=3330109 comm="/usr/libexec/gnome-shell-calendar-server ") Dec 1 16:14:53 node2 dbus-daemon[3329840]: [session uid=0 pid=3329838] Activating service name='org.gnome.OnlineAccounts' requested by ':1.32' (uid=0 pid=3330114 comm="/usr/libexec/evolution-source-registry ") Dec 1 16:14:53 node2 dbus-daemon[3329840]: [session uid=0 pid=3329838] Successfully activated service 'org.gnome.evolution.dataserver.Sources5' Dec 1 16:14:53 node2 dbus-daemon[3329840]: [session uid=0 pid=3329838] Successfully activated service 'org.gnome.Shell.CalendarServer' Dec 1 16:14:53 node2 journal[3329995]: Telepathy is not available, chat integration will be disabled. Dec 1 16:14:53 node2 dbus-daemon[3329840]: [session uid=0 pid=3329838] Activating service name='org.gtk.vfs.UDisks2VolumeMonitor' requested by ':1.24' (uid=0 pid=3329995 comm="/usr/bin/gnome-shell ")
最新发布
12-02
评论
成就一亿技术人!
拼手气红包6.0元
还能输入1000个字符
 
红包 添加红包
表情包 插入表情
 条评论被折叠 查看
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值