You are not logged in.
Hi
I have a Logitech Quickcam E2500 Webcam, I tried to access it using Cheese 3.34.0 (on Cinnamon Desktop) but the application diplays No Device found.
I made sure that the device is detected by the kernel. I even installed guvcview and it was able to capture video from the webcam. On the terminal
I launched
sudo cheese --device=/dev/video0and I got the following output:
(cheese:4599): dconf-WARNING **: 20:26:53.761: failed to commit changes to dconf: Error spawning command line “dbus-launch --autolaunch=2cff5f448e0e49e5a75777c6708c3302 --binary-syntax --close-stderr”: Child process exited with code 1
** Message: 20:26:54.268: cheese-application.vala:214: Error during camera setup: No device found
(cheese:4599): cheese-CRITICAL **: 20:26:54.288: cheese_camera_device_get_name: assertion 'CHEESE_IS_CAMERA_DEVICE (device)' failed
(cheese:4599): GLib-CRITICAL **: 20:26:54.289: g_variant_new_string: assertion 'string != NULL' failed
(cheese:4599): GLib-CRITICAL **: 20:26:54.289: g_variant_ref_sink: assertion 'value != NULL' failed
(cheese:4599): GLib-GIO-CRITICAL **: 20:26:54.289: g_settings_schema_key_type_check: assertion 'value != NULL' failed
(cheese:4599): GLib-CRITICAL **: 20:26:54.289: g_variant_get_type_string: assertion 'value != NULL' failed
(cheese:4599): GLib-GIO-CRITICAL **: 20:26:54.289: g_settings_set_value: key 'camera' in 'org.gnome.Cheese' expects type 's', but a GVariant of type '(null)' was given
(cheese:4599): GLib-CRITICAL **: 20:26:54.289: g_variant_unref: assertion 'value != NULL' failed
** (cheese:4599): CRITICAL **: 20:26:54.289: cheese_preferences_dialog_setup_resolutions_for_device: assertion 'device != NULL' failed
(cheese:4599): dconf-WARNING **: 20:26:54.290: failed to commit changes to dconf: Error spawning command line “dbus-launch --autolaunch=2cff5f448e0e49e5a75777c6708c3302 --binary-syntax --close-stderr”: Child process exited with code 1I manualy executed the dbus-launch ... command and I got the error message:
Autolaunch requested, but X11 support not compiled in.
Cannot continue.Any idea, suggestion or comment is welcome
Thanks in advance
Offline
Never run graphical applications as root. If the application launched as your user doesn't find the device then it's usually a permissions issue that should be handled given you've logged in correctly. How are you starting cinnamon? What's your output for
systemctl status? And the terminal output of cheese launched normally, without sudo.
Last edited by V1del (2020-04-19 09:48:55)
Offline
Hi
Sorry for the delay !
I am using lightdm to log in Cinnamon Destkop.
Here is the output of systemctl status:
● archlinux
State: running
Jobs: 0 queued
Failed: 0 units
Since: Sat 2020-04-25 10:44:59 EDT; 25min ago
CGroup: /
├─user.slice
│ └─user-1000.slice
│ ├─user@1000.service …
│ │ ├─pulseaudio.service
│ │ │ ├─1616 /usr/bin/pulseaudio --daemonize=no
│ │ │ └─1679 /usr/lib/pulse/gsettings-helper
│ │ ├─gvfs-daemon.service
│ │ │ ├─ 966 /usr/lib/gvfsd
│ │ │ ├─ 971 /usr/lib/gvfsd-fuse /run/user/1000/gvfs -f
│ │ │ ├─1225 /usr/lib/gvfsd-trash --spawner :1.3 /org/gtk/gvfs/exec_spaw/0
│ │ │ ├─1366 /usr/lib/gvfsd-network --spawner :1.3 /org/gtk/gvfs/exec_spaw/1
│ │ │ └─1379 /usr/lib/gvfsd-dnssd --spawner :1.3 /org/gtk/gvfs/exec_spaw/3
│ │ ├─gvfs-udisks2-volume-monitor.service
│ │ │ └─1087 /usr/lib/gvfs-udisks2-volume-monitor
│ │ ├─init.scope
│ │ │ ├─952 /usr/lib/systemd/systemd --user
│ │ │ └─953 (sd-pam)
│ │ ├─at-spi-dbus-bus.service
│ │ │ ├─1560 /usr/lib/at-spi-bus-launcher
│ │ │ ├─1566 /usr/bin/dbus-daemon --config-file=/usr/share/defaults/at-spi2/accessibility.conf --nofork --print-address 3
│ │ │ └─1569 /usr/lib/at-spi2-registryd --use-gnome-session
│ │ ├─apps.slice
│ │ │ └─apps-org.gnome.Terminal.slice
│ │ │ ├─vte-spawn-cb388acc-7a27-46bb-b1b3-7f3ab44bcf00.scope
│ │ │ │ ├─6640 bash
│ │ │ │ ├─6697 sudo systemctl status
│ │ │ │ └─6698 systemctl status
│ │ │ └─gnome-terminal-server.service
│ │ │ └─6633 /usr/lib/gnome-terminal-server
│ │ ├─gvfs-metadata.service
│ │ │ └─1232 /usr/lib/gvfsd-metadata
│ │ └─dbus.service
│ │ ├─ 962 /usr/bin/dbus-daemon --session --address=systemd: --nofork --nopidfile --systemd-activation --syslog-only
│ │ └─1062 /usr/lib/dconf-service
│ ├─session-2.scope
│ │ └─1185 /usr/lib/geoclue-2.0/demos/agent
│ └─session-5.scope
│ ├─1532 lightdm --session-child 12 19
│ ├─1553 cinnamon-session --session cinnamon
│ ├─1572 /usr/lib/cinnamon-settings-daemon/csd-mouse
│ ├─1573 /usr/lib/cinnamon-settings-daemon/csd-print-notifications
│ ├─1574 /usr/lib/cinnamon-settings-daemon/csd-sound
│ ├─1575 /usr/lib/cinnamon-settings-daemon/csd-screensaver-proxy
│ ├─1576 /usr/lib/cinnamon-settings-daemon/csd-color
│ ├─1580 /usr/lib/cinnamon-settings-daemon/csd-housekeeping
│ ├─1591 /usr/lib/cinnamon-settings-daemon/csd-keyboard
│ ├─1592 /usr/lib/cinnamon-settings-daemon/csd-a11y-keyboard
│ ├─1593 /usr/lib/cinnamon-settings-daemon/csd-automount
│ ├─1594 /usr/lib/cinnamon-settings-daemon/csd-wacom
│ ├─1597 /usr/lib/cinnamon-settings-daemon/csd-cursor
│ ├─1598 /usr/lib/cinnamon-settings-daemon/csd-clipboard
│ ├─1609 /usr/lib/cinnamon-settings-daemon/csd-power
│ ├─1612 /usr/lib/cinnamon-settings-daemon/csd-a11y-settings
│ ├─1614 /usr/lib/cinnamon-settings-daemon/csd-xsettings
│ ├─1615 /usr/lib/cinnamon-settings-daemon/csd-xrandr
│ ├─1619 /usr/lib/cinnamon-settings-daemon/csd-orientation
│ ├─1623 /usr/lib/cinnamon-settings-daemon/csd-background
│ ├─1625 /usr/lib/cinnamon-settings-daemon/csd-media-keys
│ ├─1634 /usr/lib/cinnamon-settings-daemon/csd-printer
│ ├─1686 cinnamon-launcher
│ ├─1689 cinnamon --replace
│ ├─1708 /usr/lib/geoclue-2.0/demos/agent
│ ├─1710 nm-applet
│ ├─1712 cinnamon-killer-daemon
│ ├─1718 /usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1
│ ├─1755 nemo-desktop
│ ├─1762 cinnamon-screensaver
│ ├─5578 /usr/lib/firefox/firefox
│ ├─5636 /usr/lib/firefox/firefox -contentproc -childID 1 -isForBrowser -prefsLen 1 -prefMapSize 223601 -parentBuildID 20200406122300 -appdir /usr/lib/firefox/browser 5578 true tab
│ ├─5719 /usr/lib/firefox/firefox -contentproc -childID 3 -isForBrowser -prefsLen 6769 -prefMapSize 223601 -parentBuildID 20200406122300 -appdir /usr/lib/firefox/browser 5578 true tab
│ ├─5951 /usr/lib/firefox/firefox -contentproc -childID 4 -isForBrowser -prefsLen 8298 -prefMapSize 223601 -parentBuildID 20200406122300 -appdir /usr/lib/firefox/browser 5578 true tab
│ ├─6362 /usr/lib/firefox/firefox -contentproc -childID 5 -isForBrowser -prefsLen 8716 -prefMapSize 223601 -parentBuildID 20200406122300 -appdir /usr/lib/firefox/browser 5578 true tab
│ └─6414 /usr/lib/firefox/firefox -contentproc -childID 6 -isForBrowser -prefsLen 8782 -prefMapSize 223601 -parentBuildID 20200406122300 -appdir /usr/lib/firefox/browser 5578 true tab
├─init.scope
│ └─1 /usr/lib/systemd/systemd --system --deserialize 63
└─system.slice
├─systemd-udevd.service
│ └─317 /usr/lib/systemd/systemd-udevd
├─lightdm-plymouth.service
│ ├─ 450 /usr/bin/lightdm
│ └─1480 /usr/lib/Xorg :0 -seat seat0 -auth /run/lightdm/root/:0 -nolisten tcp vt7 -novtswitch
├─polkit.service
│ └─481 /usr/lib/polkit-1/polkitd --no-debug
├─rtkit-daemon.service
│ └─1106 /usr/lib/rtkit-daemon
├─accounts-daemon.service
│ └─470 /usr/lib/accounts-daemon
├─systemd-journald.service
│ └─290 /usr/lib/systemd/systemd-journald
├─sshd.service
│ └─448 sshd: /usr/bin/sshd -D [listener] 0 of 10-100 startups
├─colord.service
│ └─1082 /usr/lib/colord
├─NetworkManager.service
│ └─387 /usr/bin/NetworkManager --no-daemon
├─dhcpcd.service
│ ├─429 dhcpcd: [master] [ip4] [ip6]
│ ├─430 dhcpcd: [privileged actioneer]
│ ├─431 dhcpcd: [network proxy]
│ └─475 dhcpcd: [BPF ARP] enp63s0
├─lvm2-lvmetad.service
│ └─300 /usr/bin/lvmetad -f
├─smb.service
│ ├─496 /usr/bin/smbd --foreground --no-process-group
│ ├─598 /usr/bin/smbd --foreground --no-process-group
│ ├─599 /usr/bin/smbd --foreground --no-process-group
│ └─635 /usr/bin/smbd --foreground --no-process-group
├─upower.service
│ └─1083 /usr/lib/upowerd
├─udisks2.service
│ └─1091 /usr/lib/udisks2/udisksd
├─acpid.service
│ └─385 /usr/bin/acpid --foreground --netlink
├─dbus.service
│ └─386 /usr/bin/dbus-daemon --system --address=systemd: --nofork --nopidfile --systemd-activation --syslog-only
├─systemd-timesyncd.service
│ └─381 /usr/lib/systemd/systemd-timesyncd
├─plymouth-start.service
│ └─479 @usr/bin/plymouthd --mode=boot --pid-file=/run/plymouth/pid --attach-to-session
└─systemd-logind.service
└─389 /usr/lib/systemd/systemd-logindRegards
Offline
here is mine
[ezik@arch2 ~]$ cheese
** Message: 17:19:34.707: cheese-application.vala:214: Error during camera setup: No device found
(cheese:7929): cheese-CRITICAL **: 17:19:34.729: cheese_camera_device_get_name: assertion 'CHEESE_IS_CAMERA_DEVICE (device)' failed
(cheese:7929): GLib-CRITICAL **: 17:19:34.729: g_variant_new_string: assertion 'string != NULL' failed
(cheese:7929): GLib-CRITICAL **: 17:19:34.729: g_variant_ref_sink: assertion 'value != NULL' failed
(cheese:7929): GLib-GIO-CRITICAL **: 17:19:34.729: g_settings_schema_key_type_check: assertion 'value != NULL' failed
(cheese:7929): GLib-CRITICAL **: 17:19:34.729: g_variant_get_type_string: assertion 'value != NULL' failed
(cheese:7929): GLib-GIO-CRITICAL **: 17:19:34.730: g_settings_set_value: key 'camera' in 'org.gnome.Cheese' expects type 's', but a GVariant of type '(null)' was given
(cheese:7929): GLib-CRITICAL **: 17:19:34.730: g_variant_unref: assertion 'value != NULL' failed
** (cheese:7929): CRITICAL **: 17:19:34.730: cheese_preferences_dialog_setup_resolutions_for_device: assertion 'device != NULL' failedv4l2 sees the camera
ezik
Offline