linuxdeepin / developer-center

Deepin developer center, provide developer wiki and community forum.
452 stars 73 forks source link

[Arch Linux] Serious deepin-daemon errors / issues #893

Closed keybreak closed 5 years ago

keybreak commented 5 years ago

Describe the bug

After Manjaro Deepin 10.02.2019 update:

  1. There are 0 keyboard layots (before i had 2) & unable to add new
  2. Unable to switch language by keyboard (most likely linked to 1)
  3. Changing system language to another language, logout, enter system - language in deepin settings / programs launcher doesn’t change.

To Reproduce

  1. Just update to latest available version on Manjaro Deepin.

Enviroments:

OS: Manjaro 18.0.2 Illyria Kernel: x86_64 Linux 4.19.20-1-MANJARO Shell: bash 5.0.0 DE: Deepin 15.9 WM: Deepin WM WM Theme: deepin GTK Theme: deepin [GTK2/3] Icon Theme: deepin bits: 64 compiler: gcc v: 8.2.1 tk: Qt 5.12.0 dm: LightDM

Distro & Version

Manjaro Deepin 18.0.2

Related package version

deepin-daemon 3.22.0-1

Additional context

On both of my real test machines & VirtualBox VM it's same errors sudo journalctl -p 3 -xb:

feb 09 23:49:37 x133-pc daemon/dde-system-daemon[923]: main.go:89: failed to request name: name com.deepin.daemon.Daemon already taken
                                                            ->  proc.go:201
                                                            ->  asm_amd64.s:1333
feb 09 23:49:37 x133-pc daemon/dde-system-daemon[942]: main.go:67: name "com.deepin.daemon.Daemon" already has the owner
                                                            ->  proc.go:201
                                                            ->  asm_amd64.s:1333
feb 09 23:49:37 x133-pc daemon/dde-system-daemon[948]: main.go:67: name "com.deepin.daemon.Daemon" already has the owner
                                                            ->  proc.go:201
                                                            ->  asm_amd64.s:1333
feb 09 23:49:37 x133-pc daemon/dde-system-daemon[959]: main.go:67: name "com.deepin.daemon.Daemon" already has the owner
                                                            ->  proc.go:201
                                                            ->  asm_amd64.s:1333
electricface commented 5 years ago

Maybe manjaro deepin is not well maintained.

keybreak commented 5 years ago

Hard to tell, it seems to me that all they do is basically:

  1. Sync Arch repos
  2. Check them for few days (i mean, really?! It's hard not to notice this if you at least boot any PC / VM...)
  3. Then release on stable branch

But as far as i can tell from trying support forums on community editions, they don't really give a crap about DE bugs, that's why i came here directly)

Have you checked pure Arch, they also have this errors? Maybe you know someone from Manjaro who can clear this situation professionally? :)

felixonmars commented 5 years ago

I never experience this on Arch, the keyboard layout menu works fine here. It could be a stuck dde-daemon running already.

@oberon-manjaro any idea?

keybreak commented 5 years ago

Anyway, that's huge problem for Manjaro, since everyone who updated to latest version, and use more than one language can't switch languages of input...

I'm pretty active on Manjaro forum about Deepin, already couple of people PMed me in quest for answers and asked WTF is going on... They clearly new to all this, and just doesn't want to have problems. And since both doesn't have Timeshift or something - one of them switched DE, and another moved out from Manjaro... Can't blame them)

That should be fixed & pushed fast before more people noticed :yin_yang:

electricface commented 5 years ago

https://cr.deepin.io/#/c/dde/startdde/+/41657

electricface commented 5 years ago

https://cr.deepin.io/#/c/dde/startdde/+/41657 This commit only fixes the third question, I did not encounter the first two problems.

  1. Changing system language to another language, logout, enter system - language in deepin settings / programs launcher doesn’t change.
electricface commented 5 years ago

Execute the following command and report the output:

gdbus call -e -d com.deepin.daemon.InputDevices -o /com/deepin/daemon/InputDevice/Keyboard -m com.deepin.daemon.InputDevice.Keyboard.AddUserLayout 'al;'
keybreak commented 5 years ago

This commit only fixes the third question

Ok, cool! I'll report results and close this ticket only after some time anyway, after Manjaro will update to this package and i double-check on all affected test-machines)

I did not encounter the first two problems.

That's weird, have you used more than one language in keyboard layots before update?

I can easily reproduce it in VirtualBox:

  1. Install latest available Manjaro Deepin .iso https://manjaro.org/download/deepin/ in VirtualBox VM
  2. Create couple of languages, so that it's more than 1
  3. Update it to latest availible version

dbus call -e -d com.deepin.daemon.InputDevices -o /com/deepin/daemon/InputDevice/Keyboard -m com.deepin.daemon.InputDevice.Keyboard.AddUserLayout 'al;

()
keybreak commented 5 years ago

To clarify effectively menu with Keyboard layots:

electricface commented 5 years ago

According to the steps you said, I still can't reproduce the bug.

Let me see this file:

cat /var/lib/AccountsService/deepin/users/$USER

Let me see com.deepin.daemon.Accounts status:

gdbus introspect -y -d com.deepin.daemon.Accounts -o /com/deepin/daemon/Accounts -rp

Let me see session daemon input device keyboard status:

gdbus introspect -e -d com.deepin.daemon.InputDevices -o /com/deepin/daemon/InputDevice/Keyboard -p
keybreak commented 5 years ago

According to the steps you said, I still can't reproduce the bug.

Wow...I don't know what to say, that's really strange, VirtualBox suppose to be more or less consistent enviroment to cross-user debug reproduction

Here you go:

cat /var/lib/AccountsService/deepin/users/$USER
[User]
XSession=deepin
SystemAccount=false
Layout=us;
Locale=ru_RU.UTF-8
Icon=file:///var/lib/AccountsService/icons/2.png
CustomIcon=
DesktopBackgrounds=file:///usr/share/wallpapers/deepin/Maple_Leaf_by_Aaron_Burden.jpg;file:///usr/share/wallpapers/deepin/Ocean_by_Shu_Le.jpg;
GreeterBackground=file:///usr/share/wallpapers/deepin/Maple_Leaf_by_Aaron_Burden.jpg
HistoryLayout=us\;;ru\;;
gdbus introspect -y -d com.deepin.daemon.Accounts -o /com/deepin/daemon/Accounts -rp
node /com/deepin/daemon/Accounts {
  interface com.deepin.daemon.Accounts {
    properties:
      readonly as UserList = ['/com/deepin/daemon/Accounts/User1000'];
      readonly s GuestIcon = '/var/lib/AccountsService/icons/guest.png';
      readonly b AllowGuest = false;
  };
  node /com/deepin/daemon/Accounts/User1000 {
    interface com.deepin.daemon.Accounts.User {
      properties:
        readonly t LoginTime = 0;
        readonly s Gid = '1001';
        readonly b NoPasswdLogin = false;
        readonly s Layout = 'us;';
        readonly b Locked = false;
        readonly b AutomaticLogin = true;
        readonly s HomeDir = '/home/x133';
        readonly s Locale = 'ru_RU.UTF-8';
        readonly s IconFile = 'file:///var/lib/AccountsService/icons/2.png';
        readonly s XSession = 'deepin';
        readonly b SystemAccount = false;
        readonly i AccountType = 0;
        readonly as IconList = ['file:///var/lib/AccountsService/icons/7.png', 'file:///var/lib/AccountsService/icons/5.png', 'file:///var/lib/AccountsService/icons/4.png', 'file:///var/lib/AccountsService/icons/6.png', 'file:///var/lib/AccountsService/icons/manjaro.png', 'file:///var/lib/AccountsService/icons/11.png', 'file:///var/lib/AccountsService/icons/3.png', 'file:///var/lib/AccountsService/icons/9.png', 'file:///var/lib/AccountsService/icons/13.png', 'file:///var/lib/AccountsService/icons/14.png', 'file:///var/lib/AccountsService/icons/10.png', 'file:///var/lib/AccountsService/icons/8.png', 'file:///var/lib/AccountsService/icons/2.png', 'file:///var/lib/AccountsService/icons/1.png', 'file:///var/lib/AccountsService/icons/12.png'];
        readonly s UserName = 'x133';
        readonly s FullName = 'x133';
        readonly as DesktopBackgrounds = ['file:///usr/share/wallpapers/deepin/Maple_Leaf_by_Aaron_Burden.jpg', 'file:///usr/share/wallpapers/deepin/Ocean_by_Shu_Le.jpg'];
        readonly s GreeterBackground = 'file:///usr/share/wallpapers/deepin/Maple_Leaf_by_Aaron_Burden.jpg';
        readonly as HistoryLayout = ['us;', 'ru;'];
        readonly s Uid = '1000';
        readonly s Shell = '/bin/bash';
    };
  };
};
gdbus introspect -e -d com.deepin.daemon.InputDevices -o /com/deepin/daemon/InputDevice/Keyboard -p
node /com/deepin/daemon/InputDevice/Keyboard {
  interface com.deepin.daemon.InputDevice.Keyboard {
    properties:
      readwrite u RepeatDelay = 150;
      readonly as UserOptionList = [];
      readwrite s CurrentLayout = '';
      readonly as UserLayoutList = [];
      readwrite b RepeatEnabled = true;
      readwrite b CapslockToggle = true;
      readwrite i CursorBlink = 1200;
      readwrite u RepeatInterval = 50;
  };
};
electricface commented 5 years ago

I found that User1000 has a uid of 1000, but the gid is 1001. I found that the CurrentLayout and UserLayoutList of InputDevice.Keyboard are abnormally empty. I guess it might be that this step failed.

kbd.user, err = ddbus.NewUserByUid(systemConn, cur.Uid)
    if err != nil {
        logger.Warningf("failed to new user by uid %s: %v", cur.Uid, err)
        return
    }

Run this command and upload the file ~/dde-session-daemon.txt:

killall dde-session-dae;env DDE_DEBUG_MATCH=inputdevices /usr/lib/deepin-daemon/dde-session-daemon > ~/dde-session-daemon.txt
keybreak commented 5 years ago

One question before proceed, i run all the above commands resolving this issue on physical test-machine 1:

System:    Host: x133-pc Kernel: 4.19.20-1-MANJARO x86_64 bits: 64 compiler: gcc v: 8.2.1 Desktop: Deepin 15.9 
           tk: Qt 5.12.0 wm: DeepinWM dm: LightDM Distro: Manjaro Linux 
Machine:   Type: Laptop System: Sony product: VGN-Z11VRN_B v: J003DTPY serial: <filter> Chassis: type: 10 
           serial: <filter> 
           Mobo: Sony model: VAIO serial: <filter> BIOS: INSYDE v: R5031M3 date: 11/10/2009 
Battery:   ID-1: BAT0 charge: 33.9 Wh condition: 36.3/59.5 Wh (61%) volts: 12.2/10.8 model: Sony Corporation 
           serial: N/A status: Unknown 
CPU:       Topology: Dual Core model: Intel Core2 Duo P9500 bits: 64 type: MCP arch: Penryn rev: 6 
           L2 cache: 6144 KiB 
           flags: lm nx pae sse sse2 sse3 sse4_1 ssse3 vmx bogomips: 10111 
           Speed: 2047 MHz min/max: 1600/2533 MHz Core speeds (MHz): 1: 1668 2: 1779 
Graphics:  Device-1: Intel Mobile 4 Series Integrated Graphics vendor: Sony driver: i915 v: kernel 
           bus ID: 00:02.0 chip ID: 8086:2a42 
           Display: x11 server: X.Org 1.20.3 driver: intel unloaded: modesetting alternate: fbdev,vesa 
           resolution: 1600x900~60Hz 
           OpenGL: renderer: Mesa DRI Mobile Intel GM45 Express v: 2.1 Mesa 18.3.2 direct render: Yes 
Audio:     Device-1: Intel 82801I HD Audio vendor: Sony driver: snd_hda_intel v: kernel bus ID: 00:1b.0 
           chip ID: 8086:293e 
           Sound Server: ALSA v: k4.19.20-1-MANJARO 
Network:   Device-1: Intel 82567LM Gigabit Network vendor: Sony driver: e1000e v: 3.2.6-k port: 7100 
           bus ID: 00:19.0 chip ID: 8086:10f5 
           IF: enp0s25 state: down mac: <filter> 
           Device-2: Qualcomm Atheros AR928X Wireless Network Adapter vendor: Foxconn driver: ath9k v: kernel 
           port: 7000 bus ID: 06:00.0 chip ID: 168c:002a 
           IF: wlp6s0 state: up mac: <filter> 
Drives:    Local Storage: total: 1.36 TiB used: 145.08 GiB (10.4%) 
           ID-1: /dev/sda vendor: HGST (Hitachi) model: HTS541515A9E630 size: 1.36 TiB speed: 3.0 Gb/s 
           serial: <filter> 
Partition: ID-1: / size: 172.02 GiB used: 10.25 GiB (6.0%) fs: ext4 dev: /dev/sda1 
Sensors:   System Temperatures: cpu: 44.0 C mobo: N/A 
           Fan Speeds (RPM): N/A 
Info:      Processes: 148 Uptime: 5m Memory: 3.78 GiB used: 414.4 MiB (10.7%) Init: systemd v: 239 Compilers: 
           gcc: 8.2.1 Shell: bash v: 5.0.0 running in: deepin-terminal inxi: 3.0.30

Yesterday there was some Manjaro Deepin updates out, i intentionally haven't updated this machine for clear test, should i update or keep going as is now?

Just don't want to affect results anyhow)

electricface commented 5 years ago

Don't update now.

Run this command and upload the file ~/dde-session-daemon.txt:

killall dde-session-dae;env DDE_DEBUG_MATCH=inputdevices /usr/lib/deepin-daemon/dde-session-daemon > ~/dde-session-daemon.txt
keybreak commented 5 years ago

~/dde-session-daemon.txt

<info> main.go:125: Log level is none and debug env exists, so ignore cmd.loglevel
<debug> touchpad.go:270: Set threshold for '12 - AlpsPS/2 ALPS GlidePoint' failed: Libinput unsupport the property
<debug> touchpad.go:281: Set scaling for '12 - AlpsPS/2 ALPS GlidePoint' failed: Libinput unsupport the property
<warning> touchpad.go:372: [enablePalmDetect] failed to enable: 12 false libinput unsupported palm detect setting
<warning> touchpad.go:383: [setPalmDimensions] failed to set: 12 6 50 libinput unsupported palm detect setting
<debug> manager.go:102: setWheelSpeed 1

btw, now language switch with keyboard worked after running this command, after reboot don't)

electricface commented 5 years ago

This may mean that this bug will only be encountered the first time run dde-session-daemon(autostart).

Run this command and upload the file ~/dde-session-daemon-1.txt:

sudo journalctl -b0 /usr/lib/deepin-daemon/dde-session-daemon > ~/dde-session-daemon-1.txt
keybreak commented 5 years ago

~/dde-session-daemon-1.txt

feb 20 11:28:00 x133-pc daemon/dde-session-daemon[826]: main.go:128: App log level: 5
feb 20 11:28:00 x133-pc daemon/loader[826]: loader.go:151: enable module dock
feb 20 11:28:01 x133-pc daemon/loader[826]: loader.go:159: enable module dock done, cost 490.200551ms
feb 20 11:28:01 x133-pc daemon/loader[826]: loader.go:151: enable module trayicon
feb 20 11:28:01 x133-pc daemon/loader[826]: loader.go:159: enable module trayicon done, cost 4.079081ms
feb 20 11:28:01 x133-pc daemon/loader[826]: loader.go:151: enable module x-event-monitor
feb 20 11:28:01 x133-pc daemon/loader[826]: loader.go:159: enable module x-event-monitor done, cost 1.549633ms
feb 20 11:28:07 x133-pc daemon/loader[826]: loader.go:151: enable module network
feb 20 11:28:07 x133-pc daemon/loader[826]: loader.go:159: enable module network done, cost 38.771536ms
feb 20 11:28:07 x133-pc daemon/loader[826]: loader.go:151: enable module audio
feb 20 11:28:07 x133-pc daemon/loader[826]: loader.go:159: enable module audio done, cost 3.97µs
feb 20 11:28:07 x133-pc daemon/loader[826]: loader.go:151: enable module launcher
feb 20 11:28:07 x133-pc daemon/loader[826]: loader.go:159: enable module launcher done, cost 3.275µs
feb 20 11:28:07 x133-pc daemon/loader[826]: loader.go:151: enable module appearance
feb 20 11:28:07 x133-pc daemon/loader[826]: loader.go:159: enable module appearance done, cost 8.3µs
feb 20 11:28:07 x133-pc daemon/loader[826]: loader.go:151: enable module screensaver
feb 20 11:28:07 x133-pc daemon/network[826]: manager.go:144: initialize network
feb 20 11:28:07 x133-pc daemon/network[826]: manager_config.go:60: config file: /home/x133/.config/deepin/network.json
feb 20 11:28:07 x133-pc daemon/launcher[826]: manager.go:168: no such file or directory
feb 20 11:28:07 x133-pc daemon/launcher[826]: manager.go:191: open /var/lib/lastore/desktop_package.json: no such file or directory
feb 20 11:28:07 x133-pc daemon/launcher[826]: manager.go:196: open /var/lib/lastore/applications.json: no such file or directory
feb 20 11:28:07 x133-pc daemon/loader[826]: loader.go:159: enable module screensaver done, cost 18.55314ms
feb 20 11:28:07 x133-pc daemon/loader[826]: loader.go:151: enable module sessionwatcher
feb 20 11:28:07 x133-pc daemon/loader[826]: loader.go:159: enable module sessionwatcher done, cost 3.873686ms
feb 20 11:28:07 x133-pc daemon/loader[826]: loader.go:151: enable module power
feb 20 11:28:07 x133-pc daemon/audio[826]: module.go:89: start audio module cost 99.216844ms
feb 20 11:28:07 x133-pc daemon/network[826]: manager_device.go:103: ignore virtual network interface which driver is unknown /org/freedesktop/NetworkManager/Devices/1
feb 20 11:28:07 x133-pc daemon/network[826]: nm_setting_wired.go:28: new wired connection, id=Проводное Соединение, uuid=aa8612d8-b3d4-32f4-842c-124ff4a634c9, devPath=/org/freedesktop/NetworkManager/Devices/2
feb 20 11:28:07 x133-pc daemon/network[826]: manager_device.go:330: add device &network.device{nmDev:(*networkmanager.Device)(0xc00009a5a0), mmDevModem:(*modemmanager1.Modem)(nil), nmDevType:0x1, id:"00:1D:BA:66:51:DB", udi:"/sys/devices/pci0000:00/0000:00:19.0/net/enp0s25", Path:"/org/freedesktop/NetworkManager/Devices/2", State:0x14, Interface:"enp0s25", ClonedAddress:"00:1D:BA:66:51:DB", HwAddress:"00:1D:BA:66:51:DB", Driver:"e1000e", Managed:true, Vendor:"Intel 82567LM Gigabit", UniqueUuid:"aa8612d8-b3d4-32f4-842c-124ff4a634c9", UsbDevice:false, ActiveAp:"", SupportHotspot:false, MobileNetworkType:"", MobileSignalQuality:0x0}
feb 20 11:28:07 x133-pc daemon/network[826]: manager_device.go:330: add device &network.device{nmDev:(*networkmanager.Device)(0xc00023d2c0), mmDevModem:(*modemmanager1.Modem)(nil), nmDevType:0x2, id:"00:1F:E2:96:6B:4B", udi:"/sys/devices/pci0000:00/0000:00:1c.1/0000:06:00.0/net/wlp6s0", Path:"/org/freedesktop/NetworkManager/Devices/3", State:0x64, Interface:"wlp6s0", ClonedAddress:"00:1F:E2:96:6B:4B", HwAddress:"00:1F:E2:96:6B:4B", Driver:"ath9k", Managed:true, Vendor:"Qualcomm Atheros AR928X Wireless Network Adapter (PCI-Express)", UniqueUuid:"1cb94e1c-34bf-b957-7b21-9a020b3894a0", UsbDevice:false, ActiveAp:"/org/freedesktop/NetworkManager/AccessPoint/1", SupportHotspot:true, MobileNetworkType:"", MobileSignalQuality:0x0}
feb 20 11:28:07 x133-pc daemon/network[826]: manager_connection.go:167: add connection &network.connection{nmConn:(*networkmanager.ConnectionSettings)(0xc000463bf0), connType:"wireless", Path:"/org/freedesktop/NetworkManager/Settings/1", Uuid:"69281e4b-cd80-4443-9b1b-82ea2e890d6e", Id:"133.2", HwAddress:"00:1F:E2:96:6B:4B", ClonedAddress:"", Ssid:"133.2"}
feb 20 11:28:07 x133-pc daemon/network[826]: manager_connection.go:167: add connection &network.connection{nmConn:(*networkmanager.ConnectionSettings)(0xc0003d6180), connType:"wired", Path:"/org/freedesktop/NetworkManager/Settings/2", Uuid:"b3d7d82b-06cb-3f43-8401-181aa7854346", Id:"Проводное соединение 1", HwAddress:"00:1D:BA:66:51:DB", ClonedAddress:"", Ssid:""}
feb 20 11:28:07 x133-pc daemon/network[826]: proxychains.go:86: load proxychains config failed: open /home/x133/.config/deepin/proxychains.json: no such file or directory
feb 20 11:28:07 x133-pc daemon/network[826]: proxychains.go:106: config is invalid
feb 20 11:28:07 x133-pc daemon/network[826]: module.go:107: start network module cost 365.022557ms
feb 20 11:28:08 x133-pc daemon/launcher[826]: manager.go:342: queryPkgName failed: Manager.desktopPkgMap is nil
feb 20 11:28:08 x133-pc daemon/launcher[826]: manager.go:342: queryPkgName failed: Manager.desktopPkgMap is nil
feb 20 11:28:08 x133-pc daemon/launcher[826]: manager.go:342: queryPkgName failed: Manager.desktopPkgMap is nil
feb 20 11:28:08 x133-pc daemon/launcher[826]: manager.go:342: queryPkgName failed: Manager.desktopPkgMap is nil
feb 20 11:28:08 x133-pc daemon/launcher[826]: manager.go:342: queryPkgName failed: Manager.desktopPkgMap is nil
feb 20 11:28:08 x133-pc daemon/launcher[826]: manager.go:342: queryPkgName failed: Manager.desktopPkgMap is nil
feb 20 11:28:08 x133-pc daemon/launcher[826]: manager.go:342: queryPkgName failed: Manager.desktopPkgMap is nil
feb 20 11:28:08 x133-pc daemon/launcher[826]: manager.go:342: queryPkgName failed: Manager.desktopPkgMap is nil
feb 20 11:28:08 x133-pc daemon/launcher[826]: manager.go:342: queryPkgName failed: Manager.desktopPkgMap is nil
feb 20 11:28:08 x133-pc daemon/launcher[826]: manager.go:342: queryPkgName failed: Manager.desktopPkgMap is nil
feb 20 11:28:08 x133-pc daemon/launcher[826]: manager.go:342: queryPkgName failed: Manager.desktopPkgMap is nil
feb 20 11:28:08 x133-pc daemon/launcher[826]: manager.go:342: queryPkgName failed: Manager.desktopPkgMap is nil
feb 20 11:28:08 x133-pc daemon/launcher[826]: manager.go:342: queryPkgName failed: Manager.desktopPkgMap is nil
feb 20 11:28:08 x133-pc daemon/launcher[826]: manager.go:342: queryPkgName failed: Manager.desktopPkgMap is nil
feb 20 11:28:08 x133-pc daemon/launcher[826]: manager.go:342: queryPkgName failed: Manager.desktopPkgMap is nil
feb 20 11:28:08 x133-pc daemon/launcher[826]: manager.go:342: queryPkgName failed: Manager.desktopPkgMap is nil
feb 20 11:28:08 x133-pc daemon/launcher[826]: manager.go:342: queryPkgName failed: Manager.desktopPkgMap is nil
feb 20 11:28:08 x133-pc daemon/launcher[826]: manager.go:342: queryPkgName failed: Manager.desktopPkgMap is nil
feb 20 11:28:08 x133-pc daemon/launcher[826]: manager.go:342: queryPkgName failed: Manager.desktopPkgMap is nil
feb 20 11:28:08 x133-pc daemon/launcher[826]: manager.go:342: queryPkgName failed: Manager.desktopPkgMap is nil
feb 20 11:28:08 x133-pc daemon/launcher[826]: manager.go:342: queryPkgName failed: Manager.desktopPkgMap is nil
feb 20 11:28:08 x133-pc daemon/launcher[826]: manager.go:342: queryPkgName failed: Manager.desktopPkgMap is nil
feb 20 11:28:08 x133-pc daemon/launcher[826]: manager.go:342: queryPkgName failed: Manager.desktopPkgMap is nil
feb 20 11:28:08 x133-pc daemon/launcher[826]: manager.go:342: queryPkgName failed: Manager.desktopPkgMap is nil
feb 20 11:28:08 x133-pc daemon/launcher[826]: manager.go:342: queryPkgName failed: Manager.desktopPkgMap is nil
feb 20 11:28:08 x133-pc daemon/launcher[826]: manager.go:342: queryPkgName failed: Manager.desktopPkgMap is nil
feb 20 11:28:08 x133-pc daemon/launcher[826]: manager.go:342: queryPkgName failed: Manager.desktopPkgMap is nil
feb 20 11:28:08 x133-pc daemon/launcher[826]: manager.go:342: queryPkgName failed: Manager.desktopPkgMap is nil
feb 20 11:28:08 x133-pc daemon/launcher[826]: manager.go:342: queryPkgName failed: Manager.desktopPkgMap is nil
feb 20 11:28:08 x133-pc daemon/launcher[826]: manager.go:342: queryPkgName failed: Manager.desktopPkgMap is nil
feb 20 11:28:08 x133-pc daemon/launcher[826]: manager.go:342: queryPkgName failed: Manager.desktopPkgMap is nil
feb 20 11:28:08 x133-pc daemon/launcher[826]: manager.go:342: queryPkgName failed: Manager.desktopPkgMap is nil
feb 20 11:28:08 x133-pc daemon/launcher[826]: manager.go:342: queryPkgName failed: Manager.desktopPkgMap is nil
feb 20 11:28:08 x133-pc daemon/launcher[826]: manager.go:342: queryPkgName failed: Manager.desktopPkgMap is nil
feb 20 11:28:08 x133-pc daemon/launcher[826]: manager.go:342: queryPkgName failed: Manager.desktopPkgMap is nil
feb 20 11:28:08 x133-pc daemon/launcher[826]: manager.go:342: queryPkgName failed: Manager.desktopPkgMap is nil
feb 20 11:28:08 x133-pc daemon/launcher[826]: manager.go:342: queryPkgName failed: Manager.desktopPkgMap is nil
feb 20 11:28:08 x133-pc daemon/launcher[826]: manager.go:342: queryPkgName failed: Manager.desktopPkgMap is nil
feb 20 11:28:08 x133-pc daemon/launcher[826]: manager.go:342: queryPkgName failed: Manager.desktopPkgMap is nil
feb 20 11:28:08 x133-pc daemon/launcher[826]: manager.go:342: queryPkgName failed: Manager.desktopPkgMap is nil
feb 20 11:28:08 x133-pc daemon/launcher[826]: manager.go:342: queryPkgName failed: Manager.desktopPkgMap is nil
feb 20 11:28:08 x133-pc daemon/launcher[826]: manager.go:342: queryPkgName failed: Manager.desktopPkgMap is nil
feb 20 11:28:08 x133-pc daemon/launcher[826]: manager.go:342: queryPkgName failed: Manager.desktopPkgMap is nil
feb 20 11:28:08 x133-pc daemon/launcher[826]: manager.go:342: queryPkgName failed: Manager.desktopPkgMap is nil
feb 20 11:28:08 x133-pc daemon/launcher[826]: manager.go:342: queryPkgName failed: Manager.desktopPkgMap is nil
feb 20 11:28:08 x133-pc daemon/launcher[826]: manager.go:342: queryPkgName failed: Manager.desktopPkgMap is nil
feb 20 11:28:08 x133-pc daemon/launcher[826]: manager.go:342: queryPkgName failed: Manager.desktopPkgMap is nil
feb 20 11:28:08 x133-pc daemon/launcher[826]: manager.go:342: queryPkgName failed: Manager.desktopPkgMap is nil
feb 20 11:28:08 x133-pc daemon/launcher[826]: manager.go:342: queryPkgName failed: Manager.desktopPkgMap is nil
feb 20 11:28:08 x133-pc daemon/launcher[826]: manager.go:342: queryPkgName failed: Manager.desktopPkgMap is nil
feb 20 11:28:08 x133-pc daemon/launcher[826]: manager.go:342: queryPkgName failed: Manager.desktopPkgMap is nil
feb 20 11:28:08 x133-pc daemon/launcher[826]: manager.go:342: queryPkgName failed: Manager.desktopPkgMap is nil
feb 20 11:28:08 x133-pc daemon/launcher[826]: manager.go:342: queryPkgName failed: Manager.desktopPkgMap is nil
feb 20 11:28:08 x133-pc daemon/launcher[826]: manager.go:342: queryPkgName failed: Manager.desktopPkgMap is nil
feb 20 11:28:08 x133-pc daemon/launcher[826]: manager.go:342: queryPkgName failed: Manager.desktopPkgMap is nil
feb 20 11:28:08 x133-pc daemon/launcher[826]: manager.go:342: queryPkgName failed: Manager.desktopPkgMap is nil
feb 20 11:28:08 x133-pc daemon/launcher[826]: manager.go:342: queryPkgName failed: Manager.desktopPkgMap is nil
feb 20 11:28:08 x133-pc daemon/launcher[826]: manager.go:342: queryPkgName failed: Manager.desktopPkgMap is nil
feb 20 11:28:08 x133-pc daemon/launcher[826]: manager.go:342: queryPkgName failed: Manager.desktopPkgMap is nil
feb 20 11:28:08 x133-pc daemon/launcher[826]: manager.go:342: queryPkgName failed: Manager.desktopPkgMap is nil
feb 20 11:28:08 x133-pc daemon/launcher[826]: manager.go:342: queryPkgName failed: Manager.desktopPkgMap is nil
feb 20 11:28:08 x133-pc daemon/launcher[826]: manager.go:342: queryPkgName failed: Manager.desktopPkgMap is nil
feb 20 11:28:08 x133-pc daemon/launcher[826]: manager.go:342: queryPkgName failed: Manager.desktopPkgMap is nil
feb 20 11:28:08 x133-pc daemon/launcher[826]: manager.go:342: queryPkgName failed: Manager.desktopPkgMap is nil
feb 20 11:28:08 x133-pc daemon/launcher[826]: manager.go:342: queryPkgName failed: Manager.desktopPkgMap is nil
feb 20 11:28:08 x133-pc daemon/launcher[826]: manager.go:342: queryPkgName failed: Manager.desktopPkgMap is nil
feb 20 11:28:08 x133-pc daemon/launcher[826]: manager.go:342: queryPkgName failed: Manager.desktopPkgMap is nil
feb 20 11:28:08 x133-pc daemon/launcher[826]: manager.go:342: queryPkgName failed: Manager.desktopPkgMap is nil
feb 20 11:28:08 x133-pc daemon/launcher[826]: manager.go:342: queryPkgName failed: Manager.desktopPkgMap is nil
feb 20 11:28:08 x133-pc daemon/launcher[826]: manager.go:342: queryPkgName failed: Manager.desktopPkgMap is nil
feb 20 11:28:08 x133-pc daemon/launcher[826]: manager.go:342: queryPkgName failed: Manager.desktopPkgMap is nil
feb 20 11:28:08 x133-pc daemon/launcher[826]: manager.go:342: queryPkgName failed: Manager.desktopPkgMap is nil
feb 20 11:28:08 x133-pc daemon/launcher[826]: manager.go:342: queryPkgName failed: Manager.desktopPkgMap is nil
feb 20 11:28:08 x133-pc daemon/session/power[826]: manager.go:129: Launch helper exited with unknown return code 1
feb 20 11:28:09 x133-pc daemon/launcher[826]: module.go:75: start launcher module cost 1.945231487s
feb 20 11:28:09 x133-pc daemon/session/power[826]: manager.go:134: Launch helper exited with unknown return code 1
feb 20 11:28:09 x133-pc daemon/session/power[826]: manager.go:137: LidIsPresent false
feb 20 11:28:09 x133-pc daemon/loader[826]: loader.go:159: enable module power done, cost 1.951658306s
feb 20 11:28:09 x133-pc daemon/loader[826]: loader.go:151: enable module service-trigger
feb 20 11:28:09 x133-pc daemon/loader[826]: loader.go:159: enable module service-trigger done, cost 3.624461ms
feb 20 11:28:09 x133-pc daemon/loader[826]: loader.go:151: enable module clipboard
feb 20 11:28:09 x133-pc daemon/loader[826]: loader.go:159: enable module clipboard done, cost 3.688607ms
feb 20 11:28:09 x133-pc daemon/loader[826]: loader.go:151: enable module keybinding
feb 20 11:28:09 x133-pc daemon/session/power[826]: manager_events.go:70: Launch helper exited with unknown return code 1
feb 20 11:28:09 x133-pc daemon/session/power[826]: submodule.go:58: submodule PowerSavePlan start
feb 20 11:28:09 x133-pc daemon/screensaver[826]: screensaver.go:205: SetTimeout to  300 0 false
feb 20 11:28:09 x133-pc daemon/session/power[826]: submodule.go:58: submodule LidSwitchHandler start
feb 20 11:28:09 x133-pc daemon/loader[826]: loader.go:159: enable module keybinding done, cost 203.956809ms
feb 20 11:28:09 x133-pc daemon/loader[826]: loader.go:151: enable module inputdevices
feb 20 11:28:09 x133-pc daemon/inputdevices[826]: keyboard.go:185: failed to new user by uid 1000: Launch helper exited with unknown return code 1
feb 20 11:28:09 x133-pc daemon/loader[826]: loader.go:159: enable module inputdevices done, cost 303.128232ms
feb 20 11:28:09 x133-pc daemon/loader[826]: loader.go:151: enable module gesture
feb 20 11:28:09 x133-pc daemon/inputdevices[826]: keyboard.go:275: failed to set layout to "": invalid layout:
feb 20 11:28:09 x133-pc daemon/inputdevices[826]: touchpad.go:372: [enablePalmDetect] failed to enable: 12 false libinput unsupported palm detect setting
feb 20 11:28:09 x133-pc daemon/inputdevices[826]: touchpad.go:383: [setPalmDimensions] failed to set: 12 6 50 libinput unsupported palm detect setting
feb 20 11:28:09 x133-pc daemon/loader[826]: loader.go:159: enable module gesture done, cost 77.532551ms
feb 20 11:28:09 x133-pc daemon/loader[826]: loader.go:151: enable module housekeeping
feb 20 11:28:09 x133-pc daemon/loader[826]: loader.go:159: enable module housekeeping done, cost 10.782µs
feb 20 11:28:09 x133-pc daemon/loader[826]: loader.go:151: enable module timedate
feb 20 11:28:09 x133-pc daemon/loader[826]: loader.go:159: enable module timedate done, cost 1.258974ms
feb 20 11:28:09 x133-pc daemon/loader[826]: loader.go:151: enable module bluetooth
feb 20 11:28:09 x133-pc daemon/loader[826]: loader.go:159: enable module bluetooth done, cost 1.334692ms
feb 20 11:28:09 x133-pc daemon/loader[826]: loader.go:151: enable module screenedge
feb 20 11:28:09 x133-pc daemon/bluetooth[826]: config.go:46: load bluetooth config file: /home/x133/.config/deepin/bluetooth.json
feb 20 11:28:09 x133-pc daemon/loader[826]: loader.go:159: enable module screenedge done, cost 1.066609ms
feb 20 11:28:09 x133-pc daemon/loader[826]: loader.go:151: enable module fprintd
feb 20 11:28:09 x133-pc daemon/loader[826]: loader.go:159: enable module fprintd done, cost 730.23µs
feb 20 11:28:09 x133-pc daemon/loader[826]: loader.go:151: enable module mime
feb 20 11:28:09 x133-pc daemon/mime[826]: manager.go:85: no such file or directory
feb 20 11:28:09 x133-pc daemon/loader[826]: loader.go:159: enable module mime done, cost 3.548153ms
feb 20 11:28:09 x133-pc daemon/loader[826]: loader.go:151: enable module miracast
feb 20 11:28:09 x133-pc System/Fprintd[826]: manager.go:99: Failed to get fprint devices: The name net.reactivated.Fprint was not provided by any .service files
feb 20 11:28:09 x133-pc daemon/loader[826]: loader.go:159: enable module miracast done, cost 42.605503ms
feb 20 11:28:09 x133-pc daemon/loader[826]: loader.go:151: enable module systeminfo
feb 20 11:28:09 x133-pc daemon/loader[826]: loader.go:159: enable module systeminfo done, cost 31.105009ms
feb 20 11:28:09 x133-pc daemon/loader[826]: loader.go:151: enable module lastore
feb 20 11:28:09 x133-pc daemon/lastore[826]: lastore.go:172: The name com.deepin.lastore was not provided by any .service files
feb 20 11:28:09 x133-pc daemon/loader[826]: loader.go:159: enable module lastore done, cost 2.487178ms
feb 20 11:28:09 x133-pc daemon/loader[826]: loader.go:151: enable module grub-gfx
feb 20 11:28:09 x133-pc daemon/lastore[826]: check_source.go:119: failed to load origin apt sources: open /etc/apt/sources.list.origin: no such file or directory
feb 20 11:28:09 x133-pc daemon/lastore[826]: check_source.go:35: checkSource: true
feb 20 11:28:09 x133-pc daemon/loader[826]: loader.go:159: enable module grub-gfx done, cost 41.828359ms
feb 20 11:28:10 x133-pc daemon/bluetooth[826]: adapter.go:69: AdapterAdded adapter x133-pc [00:1E:3D:F5:95:D0]
feb 20 11:28:10 x133-pc daemon/appearance[826]: appearance.go:90: start appearance module cost 3.870945836s
feb 20 11:28:11 x133-pc daemon/trayicon[826]: traymanager.go:369: Add tray icon 52428803 name: "pamac-tray"
feb 20 11:28:16 x133-pc daemon/dock[826]: dock_manager_xevent.go:154: WindowError{code=3, seq=87, major=2, minor=0, bad=54525958}
feb 20 11:28:16 x133-pc daemon/dock[826]: identify_window.go:260: No such interface “org.ayatana.bamf.application” on object at path /org/ayatana/bamf/application/0x561e1eff01c0
feb 20 11:28:16 x133-pc daemon/dock[826]: dock_manager_xevent.go:154: WindowError{code=3, seq=121, major=2, minor=0, bad=54525999}
feb 20 11:28:16 x133-pc System/Fprintd[826]: manager.go:71: Failed to get default device: The name net.reactivated.Fprint was not provided by any .service files
feb 20 11:28:34 x133-pc daemon/dock[826]: app_entry.go:234: attach window id: 50331658, wmClass: "dde-file-manager" "dde-file-manager", wmState: [], wmWindowType: [481 350], wmAllowedActions: [411 412 420 421 415 416 417 418 427 428], hasXEmbedInfo: false, hasWmTransientFor: false
feb 20 11:28:37 x133-pc daemon/dock[826]: app_entry.go:234: attach window id: 60817411, wmClass: "Deepin-terminal" "deepin-terminal", wmState: [], wmWindowType: [350], wmAllowedActions: [411 412 420 421 415 416 417 418 427 428], hasXEmbedInfo: false, hasWmTransientFor: false
feb 20 11:28:46 x133-pc daemon/dock[826]: dock_manager_entries.go:137: removeAppEntry id: e5T5c6d0fb5
feb 20 11:29:01 x133-pc daemon/dock[826]: app_entry.go:234: attach window id: 62914563, wmClass: "Deepin-terminal" "deepin-terminal", wmState: [], wmWindowType: [350], wmAllowedActions: [411 412 420 421 415 416 417 418 427 428], hasXEmbedInfo: false, hasWmTransientFor: false
feb 20 11:29:05 x133-pc daemon/dock[826]: app_entry.go:234: attach window id: 60817424, wmClass: "Firefox" "Navigator", wmState: [], wmWindowType: [350], wmAllowedActions: [411 412 420 421 415 416 417 418 427 428], hasXEmbedInfo: false, hasWmTransientFor: false
electricface commented 5 years ago

The key error message is

feb 20 11:28:09 x133-pc daemon/inputdevices[826]: keyboard.go:185: failed to new user by uid 1000: Launch helper exited with unknown return code 1
feb 20 11:28:09 x133-pc daemon/inputdevices[826]: keyboard.go:275: failed to set layout to "": invalid layout:
keybreak commented 5 years ago

btw, if it helps, those sudo journalctl -p 3 -xb from OP are still there too

electricface commented 5 years ago

Run this command and upload the file sys-dbus.txt:

sudo journalctl -b0 -u dbus.service > sys-dbus.txt
keybreak commented 5 years ago

sys-dbus.txt

feb 20 11:48:46 x133-pc systemd[1]: Started D-Bus System Message Bus.
feb 20 11:48:48 x133-pc dbus-daemon[480]: [system] Activating via systemd: service name='org.freedesktop.PolicyKit1' unit='polkit.service' requested by ':1.4' (uid=0 pid=486 comm="/usr/bin/ModemManager ")
feb 20 11:48:48 x133-pc dbus-daemon[480]: [system] Activating via systemd: service name='org.freedesktop.hostname1' unit='dbus-org.freedesktop.hostname1.service' requested by ':1.5' (uid=0 pid=481 comm="/usr/bin/NetworkManager --no-daemon ")
feb 20 11:48:48 x133-pc dbus-daemon[480]: [system] Successfully activated service 'org.freedesktop.hostname1'
feb 20 11:48:48 x133-pc dbus-daemon[480]: [system] Activating via systemd: service name='org.freedesktop.Accounts' unit='accounts-daemon.service' requested by ':1.9' (uid=0 pid=498 comm="/usr/bin/lightdm ")
feb 20 11:48:49 x133-pc dbus-daemon[480]: [system] Activating via systemd: service name='org.freedesktop.nm_dispatcher' unit='dbus-org.freedesktop.nm-dispatcher.service' requested by ':1.5' (uid=0 pid=481 comm="/usr/bin/NetworkManager --no-daemon ")
feb 20 11:48:49 x133-pc dbus-daemon[480]: [system] Successfully activated service 'org.freedesktop.nm_dispatcher'
feb 20 11:48:50 x133-pc dbus-daemon[480]: [system] Successfully activated service 'org.freedesktop.PolicyKit1'
feb 20 11:48:50 x133-pc dbus-daemon[480]: [system] Successfully activated service 'org.freedesktop.Accounts'
feb 20 11:48:50 x133-pc dbus-daemon[480]: [system] Activating via systemd: service name='fi.w1.wpa_supplicant1' unit='wpa_supplicant.service' requested by ':1.5' (uid=0 pid=481 comm="/usr/bin/NetworkManager --no-daemon ")
feb 20 11:48:50 x133-pc dbus-daemon[480]: [system] Successfully activated service 'fi.w1.wpa_supplicant1'
feb 20 11:48:55 x133-pc dbus-daemon[480]: [system] Activating service name='com.deepin.daemon.helper.Backlight' requested by ':1.36' (uid=1000 pid=575 comm="/usr/bin/startdde ") (using servicehelper)
feb 20 11:48:55 x133-pc dbus-daemon[591]: [system] Failed to reset fd limit before activating service: org.freedesktop.DBus.Error.AccessDenied: Failed to restore old fd limit: Operation not permitted
feb 20 11:48:56 x133-pc dbus-daemon[480]: [system] Successfully activated service 'com.deepin.daemon.helper.Backlight'
feb 20 11:48:57 x133-pc dbus-daemon[480]: [system] Activating via systemd: service name='org.freedesktop.UPower' unit='upower.service' requested by ':1.39' (uid=1000 pid=602 comm="deepin-wm ")
feb 20 11:48:58 x133-pc dbus-daemon[480]: [system] Successfully activated service 'org.freedesktop.UPower'
feb 20 11:48:59 x133-pc dbus-daemon[480]: [system] Activating via systemd: service name='org.freedesktop.RealtimeKit1' unit='rtkit-daemon.service' requested by ':1.42' (uid=1000 pid=828 comm="/usr/bin/pulseaudio --daemonize=no ")
feb 20 11:49:00 x133-pc dbus-daemon[480]: [system] Successfully activated service 'org.freedesktop.RealtimeKit1'
feb 20 11:49:08 x133-pc dbus-daemon[480]: [system] Activating service name='com.deepin.system.Power' requested by ':1.48' (uid=1000 pid=827 comm="/usr/lib/deepin-daemon/dde-session-daemon ") (using servicehelper)
feb 20 11:49:08 x133-pc dbus-daemon[904]: [system] Failed to reset fd limit before activating service: org.freedesktop.DBus.Error.AccessDenied: Failed to restore old fd limit: Operation not permitted
feb 20 11:49:09 x133-pc dbus-daemon[480]: [system] Activating via systemd: service name='com.deepin.filemanager.daemon' unit='dde-filemanager-daemon.service' requested by ':1.49' (uid=1000 pid=882 comm="/usr/bin/dde-desktop ")
feb 20 11:49:09 x133-pc dbus-daemon[480]: [system] Activating service name='com.deepin.daemon.Apps' requested by ':1.48' (uid=1000 pid=827 comm="/usr/lib/deepin-daemon/dde-session-daemon ") (using servicehelper)
feb 20 11:49:09 x133-pc dbus-daemon[917]: [system] Failed to reset fd limit before activating service: org.freedesktop.DBus.Error.AccessDenied: Failed to restore old fd limit: Operation not permitted
feb 20 11:49:09 x133-pc dbus-daemon[480]: [system] Successfully activated service 'com.deepin.filemanager.daemon'
feb 20 11:49:10 x133-pc com.deepin.system.Power[480]: <warning> main.go:72: No PATH found, manual special
feb 20 11:49:10 x133-pc daemon/dde-system-daemon[904]: main.go:72: No PATH found, manual special
feb 20 11:49:10 x133-pc com.deepin.system.Power[480]: <info> loader.go:151: enable module gesture
feb 20 11:49:10 x133-pc daemon/loader[904]: loader.go:151: enable module gesture
feb 20 11:49:10 x133-pc com.deepin.system.Power[480]: <info> gesture.go:158: Start gesture daemon
feb 20 11:49:10 x133-pc com.deepin.daemon.Gesture[904]: gesture.go:158: Start gesture daemon
feb 20 11:49:10 x133-pc com.deepin.daemon.Apps[480]: <warning> main.go:72: No PATH found, manual special
feb 20 11:49:10 x133-pc daemon/dde-system-daemon[917]: main.go:72: No PATH found, manual special
feb 20 11:49:10 x133-pc daemon/dde-system-daemon[917]: main.go:89: failed to request name: name com.deepin.daemon.Daemon already taken
                                                            ->  proc.go:201
                                                            ->  asm_amd64.s:1333
feb 20 11:49:10 x133-pc com.deepin.daemon.Apps[480]: <error> main.go:89: failed to request name: name com.deepin.daemon.Daemon already taken
feb 20 11:49:10 x133-pc com.deepin.daemon.Apps[480]:   ->  proc.go:201
feb 20 11:49:10 x133-pc com.deepin.daemon.Apps[480]:   ->  asm_amd64.s:1333
feb 20 11:49:10 x133-pc dbus-daemon[480]: [system] Activated service 'com.deepin.daemon.Apps' failed: Launch helper exited with unknown return code 1
feb 20 11:49:10 x133-pc dbus-daemon[480]: [system] Activating service name='com.deepin.system.Power' requested by ':1.48' (uid=1000 pid=827 comm="/usr/lib/deepin-daemon/dde-session-daemon ") (using servicehelper)
feb 20 11:49:10 x133-pc dbus-daemon[924]: [system] Failed to reset fd limit before activating service: org.freedesktop.DBus.Error.AccessDenied: Failed to restore old fd limit: Operation not permitted
feb 20 11:49:10 x133-pc com.deepin.system.Power[480]: <error> main.go:67: name "com.deepin.daemon.Daemon" already has the owner
feb 20 11:49:10 x133-pc com.deepin.system.Power[480]:   ->  proc.go:201
feb 20 11:49:10 x133-pc com.deepin.system.Power[480]:   ->  asm_amd64.s:1333
feb 20 11:49:10 x133-pc daemon/dde-system-daemon[924]: main.go:67: name "com.deepin.daemon.Daemon" already has the owner
                                                            ->  proc.go:201
                                                            ->  asm_amd64.s:1333
feb 20 11:49:10 x133-pc dbus-daemon[480]: [system] Activated service 'com.deepin.system.Power' failed: Launch helper exited with unknown return code 1
feb 20 11:49:10 x133-pc dbus-daemon[480]: [system] Activating service name='com.deepin.system.Power' requested by ':1.48' (uid=1000 pid=827 comm="/usr/lib/deepin-daemon/dde-session-daemon ") (using servicehelper)
feb 20 11:49:10 x133-pc dbus-daemon[930]: [system] Failed to reset fd limit before activating service: org.freedesktop.DBus.Error.AccessDenied: Failed to restore old fd limit: Operation not permitted
feb 20 11:49:10 x133-pc com.deepin.system.Power[480]: <error> main.go:67: name "com.deepin.daemon.Daemon" already has the owner
feb 20 11:49:10 x133-pc com.deepin.system.Power[480]:   ->  proc.go:201
feb 20 11:49:10 x133-pc com.deepin.system.Power[480]:   ->  asm_amd64.s:1333
feb 20 11:49:10 x133-pc daemon/dde-system-daemon[930]: main.go:67: name "com.deepin.daemon.Daemon" already has the owner
                                                            ->  proc.go:201
                                                            ->  asm_amd64.s:1333
feb 20 11:49:10 x133-pc dbus-daemon[480]: [system] Activated service 'com.deepin.system.Power' failed: Launch helper exited with unknown return code 1
feb 20 11:49:10 x133-pc com.deepin.system.Power[480]: <info> loader.go:159: enable module gesture done, cost 143.096526ms
feb 20 11:49:10 x133-pc com.deepin.system.Power[480]: <info> loader.go:151: enable module accounts
feb 20 11:49:10 x133-pc daemon/loader[904]: loader.go:159: enable module gesture done, cost 143.096526ms
feb 20 11:49:10 x133-pc daemon/loader[904]: loader.go:151: enable module accounts
feb 20 11:49:10 x133-pc dbus-daemon[480]: [system] Activating via systemd: service name='org.freedesktop.UDisks2' unit='udisks2.service' requested by ':1.70' (uid=0 pid=915 comm="/usr/bin/dde-file-manager-daemon ")
feb 20 11:49:10 x133-pc dbus-daemon[480]: [system] Activating service name='com.deepin.daemon.Accounts' requested by ':1.48' (uid=1000 pid=827 comm="/usr/lib/deepin-daemon/dde-session-daemon ") (using servicehelper)
feb 20 11:49:10 x133-pc dbus-daemon[951]: [system] Failed to reset fd limit before activating service: org.freedesktop.DBus.Error.AccessDenied: Failed to restore old fd limit: Operation not permitted
feb 20 11:49:10 x133-pc com.deepin.daemon.Accounts[480]: <error> main.go:67: name "com.deepin.daemon.Daemon" already has the owner
feb 20 11:49:10 x133-pc com.deepin.daemon.Accounts[480]:   ->  proc.go:201
feb 20 11:49:10 x133-pc com.deepin.daemon.Accounts[480]:   ->  asm_amd64.s:1333
feb 20 11:49:10 x133-pc daemon/dde-system-daemon[951]: main.go:67: name "com.deepin.daemon.Daemon" already has the owner
                                                            ->  proc.go:201
                                                            ->  asm_amd64.s:1333
feb 20 11:49:10 x133-pc dbus-daemon[480]: [system] Activated service 'com.deepin.daemon.Accounts' failed: Launch helper exited with unknown return code 1
feb 20 11:49:10 x133-pc com.deepin.system.Power[480]: <info> loader.go:159: enable module accounts done, cost 522.286329ms
feb 20 11:49:10 x133-pc com.deepin.system.Power[480]: <info> loader.go:151: enable module apps
feb 20 11:49:10 x133-pc daemon/loader[904]: loader.go:159: enable module accounts done, cost 522.286329ms
feb 20 11:49:10 x133-pc daemon/loader[904]: loader.go:151: enable module apps
feb 20 11:49:10 x133-pc com.deepin.system.Power[480]: <info> loader.go:159: enable module apps done, cost 46.612708ms
feb 20 11:49:10 x133-pc daemon/loader[904]: loader.go:159: enable module apps done, cost 46.612708ms
feb 20 11:49:10 x133-pc com.deepin.system.Power[480]: <info> loader.go:151: enable module power
feb 20 11:49:10 x133-pc daemon/loader[904]: loader.go:151: enable module power
feb 20 11:49:10 x133-pc com.deepin.system.Power[480]: <info> loader.go:159: enable module power done, cost 36.395579ms
feb 20 11:49:10 x133-pc com.deepin.system.Power[480]: <info> loader.go:151: enable module swapsched
feb 20 11:49:10 x133-pc daemon/loader[904]: loader.go:159: enable module power done, cost 36.395579ms
feb 20 11:49:10 x133-pc daemon/loader[904]: loader.go:151: enable module swapsched
feb 20 11:49:10 x133-pc com.deepin.system.Power[480]: <info> loader.go:159: enable module swapsched done, cost 1.469989ms
feb 20 11:49:10 x133-pc com.deepin.system.Power[480]: <info> loader.go:151: enable module timedated
feb 20 11:49:10 x133-pc daemon/loader[904]: loader.go:159: enable module swapsched done, cost 1.469989ms
feb 20 11:49:10 x133-pc daemon/loader[904]: loader.go:151: enable module timedated
feb 20 11:49:10 x133-pc com.deepin.system.Power[480]: <info> loader.go:159: enable module timedated done, cost 626.624µs
feb 20 11:49:10 x133-pc daemon/loader[904]: loader.go:159: enable module timedated done, cost 626.624µs
feb 20 11:49:10 x133-pc dbus-daemon[480]: [system] Activating via systemd: service name='org.freedesktop.timedate1' unit='dbus-org.freedesktop.timedate1.service' requested by ':1.48' (uid=1000 pid=827 comm="/usr/lib/deepin-daemon/dde-session-daemon ")
feb 20 11:49:10 x133-pc dbus-daemon[480]: [system] Activating service name='com.deepin.api.Device' requested by ':1.48' (uid=1000 pid=827 comm="/usr/lib/deepin-daemon/dde-session-daemon ") (using servicehelper)
feb 20 11:49:10 x133-pc dbus-daemon[971]: [system] Failed to reset fd limit before activating service: org.freedesktop.DBus.Error.AccessDenied: Failed to restore old fd limit: Operation not permitted
feb 20 11:49:11 x133-pc dbus-daemon[480]: [system] Successfully activated service 'org.freedesktop.timedate1'
feb 20 11:49:11 x133-pc dbus-daemon[480]: [system] Successfully activated service 'com.deepin.api.Device'
feb 20 11:49:12 x133-pc dbus-daemon[480]: [system] Activating via systemd: service name='org.manjaro.pamac.system' unit='pamac-system.service' requested by ':1.88' (uid=1000 pid=980 comm="pamac-tray ")
feb 20 11:49:13 x133-pc dbus-daemon[480]: [system] Successfully activated service 'org.freedesktop.UDisks2'
feb 20 11:49:14 x133-pc dbus-daemon[480]: [system] Successfully activated service 'org.manjaro.pamac.system'
electricface commented 5 years ago

Pass a complete startup log(/tmp/sys.log) by the command(sudo journalctl -b 0 > /tmp/sys.log)

keybreak commented 5 years ago

Catch: https://pastebin.com/DeSB22Mv

electricface commented 5 years ago

Sorry, it is still not clear why the problem is caused.

Can't explain why this line is output:

feb 20 11:49:10 x133-pc dbus-daemon[971]: [system] Failed to reset fd limit before activating service: org.freedesktop.DBus.Error.AccessDenied: Failed to restore old fd limit: Operation not permitted

Try this to run dde-system-daemon, if it exits immediately and execute it again until it doesn't exit.

sudo killall dde-system-daem; sudo /usr/lib/deepin-daemon/dde-system-daemon
felixonmars commented 5 years ago

That line should be harmless as I have it for a long time already.

keybreak commented 5 years ago

@electricface sudo killall dde-system-daem Is it typo, should be daemon?

Anyway, when i run this command multiple times both says at first line process not found

@felixonmars

That line should be harmless as I have it for a long time already.

What this fd limit means anyway?

felixonmars commented 5 years ago

Compared to my startup logs, some differences found:

keybreak commented 5 years ago

Oh yeah, that might be a key difference, you're right i've used autologin in all test-cases mentioned!

I've asked another guy from Manjaro forum that was affected by same bug, if he had autologin enabled, will wait to see if this the case)

electricface commented 5 years ago

I should already know the cause of the problem, you can turn off automatic login.

oberon-manjaro commented 5 years ago

So are you saying autologin is not supposed to work with Deepin desktop?

oberon-manjaro commented 5 years ago

The other wifi password issue also seems to be (auto-)login related. However I have now built a deepin-daemon version with your latest git commits on our unstable branch and will be able to test on a new ISO, soon.

felixonmars commented 5 years ago

I believe he means you can turn off for now. Hopefully it will be fixed soon.

oberon-manjaro commented 5 years ago

I attempted to build latest git commit. On an ISO built with this dde-daemon version the dock never appears and fonts for the desktop are not loaded correctly. I am now testing pkgver 3.22.0 with just the wifi patch first and see if that one works.

keybreak commented 5 years ago

@electricface Any place where we can monitor progress on all bugs related to autologin?

Actually that's pretty weird, are you sure it's cause? I haven't seen this bug & errors from journal, before update just on vanilla Manjaro Deepin 18.0.2, even with autologin enabled.

@oberon-manjaro I have a feeling that .iso will have to wait, until it's completely fixed & tested for good :( Seems to be way too many hardcore issues related to daemon...

oberon-manjaro commented 5 years ago

Well I can just build an ISO with autologin disabled for now. Just confirmed. Keyboard layouts are available after logging out and back in.

keybreak commented 5 years ago

@oberon-manjaro For newcomers that's good enough i guess, maybe it's also a good idea to anounce on forum, that people should not use autologin on Deepin for now...

P.S. I have noticed that when autologin disabled, it starts a lot slower after you enter password

oberon-manjaro commented 5 years ago

Well you can still use autologin as soon as you have configured your keyboard layouts, can't you? For most users it will be a one time config anyway.

oberon-manjaro commented 5 years ago

the wifi password bug is now fixed with your other patch btw even with autologin :wink: :+1:

keybreak commented 5 years ago

@oberon-manjaro Hard to say, at least facts for now are:

  1. If you install Manjaro Deepin 18.0.2 from .iso, configure keybaords and language and enable autologin - everything will be ok
  2. If you update after this at least it was valid for me with 10.02.2019 updates - you will get this bug, errors in journal, unable to switch / add keyboard or system language
  3. You can disable autologin after this - errors will disappear, and everything will work as it should
  4. If you attempt to enable it back, as i just did - you will get exact same errors, so

    you can still use autologin as soon as you have configured your keyboard layouts, can't you?

I'd say no, you can't

  1. There's absolutely no guarantee that future updates won't break it, if you have autologin enabled

So that's really important to inform people not to use autologin, or at least disable it on updates as a rule of thumb, until it fixed

oberon-manjaro commented 5 years ago

So I have now built an ISO with deepin-daemon 3.22.0 plus the wifi patch applied. On first start (with autologin) not only the wifi issue is solved but also I have all keyboard layouts available ... Looks like at least on Manjaro unstable branch there is no issue. Or is there anything else I need to check now, @keybreak ?

oberon-manjaro commented 5 years ago

Also switching layout with Super+Shift or Alt+Shift are working fine.

keybreak commented 5 years ago

@oberon-manjaro Well if it's so, i personally have nothing else to add to what's in here, hopefully that should solve issues!

I'd say to be absolutely sure you'd have to probably survive some updates with autologin enabled, to be on the safe side before stable release.

According to 1-2 mentioned above, that was the case with previous .iso for me.

But still, i think it's best to wait for @electricface comment on situation, maybe he'll have some bulletproof patch tomorrow, or something)

oberon-manjaro commented 5 years ago

@electricface is there any hope we will get a new release of startdde soon? Or should I just apply the language patch separately?

oberon-manjaro commented 5 years ago

Thank you for the quick fixes and your fast responses btw! Much appreciated! :smiley:

oberon-manjaro commented 5 years ago

@keybreak

as far as i can tell from trying support forums on community editions, they don't really give a crap

It would have been helpful if you had notified me or at least posted about the issue on the Manjaro forum. I cannot find a mention there about these problem. If there is a thread about it, kindly point me there, or even better, please report the news there. The patched startdde and also deepin-daemon re. the wifi problem are now both on our stable branch.

electricface commented 5 years ago

https://cr.deepin.io/#/c/dde/dde-daemon/+/41711

keybreak commented 5 years ago

@electricface Great work! Hopefully nothing like that problems won't come out in the future :+1:

@oberon-manjaro Sorry, maybe a little bit of frustration and overreaction here on my side. I'm kinda couple month new to Linux world on serious personal side, so...)

It's hard not to notcie my activity on Manjaro (specifically Deepin), since from day 1 i report bugs, trying to undestand some things i don't know and / or help other on their way (all of this issues now reported here, and all of them are mainly Deepin, so no worries now): https://forum.manjaro.org/t/manjaro-deepin-new-bugs-problems-after-10-02-2019-update/75112 https://forum.manjaro.org/t/manjaro-deepin-few-problems-after-18-01-2019-update/72252 https://forum.manjaro.org/t/bug-manjaro-deepin-nasty-enter-system-without-password-bug/71112 https://forum.manjaro.org/t/bug-manjaro-deepin-settings-default-apps-randomness/72307 https://forum.manjaro.org/t/bug-manjaro-deepin-settings-default-apps-randomness/72307 https://forum.manjaro.org/t/bug-manjaro-deepin-file-explorer-crash/71796 https://forum.manjaro.org/t/bug-manjaro-deepin-visual-flickering-after-18-01-2019-update/72543 https://forum.manjaro.org/t/manjaro-deepin-de-resize-lags/75001 https://forum.manjaro.org/t/req-manjaro-deepin-open-save-dialogs-inconsistency/73691/2 https://forum.manjaro.org/t/bug-manjaro-deepin-file-explorer-deepin-terminal/71790 https://forum.manjaro.org/t/deepin-screensavers/72654/2

This one you can see, it's Manjaro specific about Calamares: https://forum.manjaro.org/t/req-manjaro-deepin-isntaller-4k-not-scale/72599

Also you can look here, but only if you really have a time interest in Hardware / Drivers issues: https://forum.manjaro.org/t/dell-workstation-huge-performance-problem-on-battery/74040

This topic is really hard to follow, and in the process i've discovered & reported an active bug for Nvidia driver, but it doesn't solve the perofrmance problem since it's Manjaro only for specific configuration.

The patched startdde and also deepin-daemon re. the wifi problem are now both on our stable branch.

Thank you, that's a great news!

Please tell me, how can i refer to you on Manjaro forums in case of future problems? As you can see i'm pretty damn serious about finding bugs and therfore can help both Deepin and Manjaro be better)

electricface commented 5 years ago

I don't have an account for the manjaro forum.If you find a bug, report it in the github issue.

keybreak commented 5 years ago

@electricface No worries, i already did reported all of those here) It was just for @oberon-manjaro info)

oberon-manjaro commented 5 years ago

Sure thing that actual deepin bugs need to be reported here, that's fine. Re. complaints and issues in the Manjaro forum, simply tag me in your posts with (username oberon) so I am notified. Lately I didn't really have time to follow everything that's going on there... :wink: I understand your frustration and thanks for your efforts! :smiley: @electricface thanks a lot!