I have a Mac running OS X 10.11.6 and Ubuntu EC2 instance running 14.04LTS.
I'm trying to get VNC running KDE from my Mac.
XQuartz launches but I have not keyboard, or mouse control over KDE.
Port 5901 is open in my EC2 security group.
Here's my /etc/init.d/vncserver file:
ubuntu#ip-10-0-1-107:~$ vi /etc/init.d/vncserver
[ -x /etc/vnc/xstartup ] && exec /etc/vnc/xstartupTH="$PATH:/usr/bin/"
export USER="ubuntu"
DISPLAY="1"
DEPTH="16"
GEOMETRY="1600x1200"
OPTIONS="-depth ${DEPTH} -geometry ${GEOMETRY} :${DISPLAY} -localhost"
. /lib/lsb/init-functions
[ -r $HOME/.Xresources ] && xrdb $HOME/.Xresources
xsetroot -solid grey
vncconfig -iconic &
x-terminal-emulator -geometry 80x24+10+10 -ls -title "$VNCDESKTOP Desktop" &
x-window-manager &
kdestartup &
case "$1" in
start)
log_action_begin_msg "Starting vncserver for user '${USER}' on localhost:${DISPLAY}"
su ${USER} -c "/usr/bin/vncserver ${OPTIONS}"
;;
stop)
log_action_begin_msg "Stopping vncserver for user '${USER}' on localhost:${DISPLAY}"
su ${USER} -c "/usr/bin/vncserver -kill :${DISPLAY}"
;;
restart)
$0 stop
$0 start
;;
esac
exit 0
Starting vncserver script:
ubuntu#ip-10-0-1-107:~$ sudo service vncserver start
xsetroot: unable to open display ''
vncconfig: unable to open display ""
$DISPLAY is not set or cannot connect to the X server.
* Starting vncserver for user 'ubuntu' on localhost:1... Option "--login" is no longer supported in this version of gnome-terminal; you might want to create a profile with the desired setting, and use the new '--profile' option
(x-window-manager:2591): Gtk-WARNING **: cannot open display:
error: XDG_RUNTIME_DIR not set in the environment.
Failed to parse arguments: Cannot open display:
Here's the ssh command on OS X (server address and cert altered for).
ssh -L -X 5901:127.0.0.1:5901 -N -f -l ubuntu x.x.x.x -i blahblahblah.pem
Here's the VNC server running on Ubuntu:
ubuntu#ip-10-0-1-107:~$ ps -ef | grep vnc
ubuntu 4289 1 0 17:13 ? 00:00:00 Xtightvnc :1 -desktop X -auth /home/ubuntu/.Xauthority -geometry 1600x1200 -depth 16 -rfbwait 120000 -rfbauth /home/ubuntu/.vnc/passwd -rfbport 5901 -fp /usr/share/fonts/X11/misc/,/usr/share/fonts/X11/Type1/,/usr/share/fonts/X11/75dpi/,/usr/share/fonts/X11/100dpi/ -co /etc/X11/rgb -localhost
Here's kde:
ubuntu#ip-10-0-1-107:~$ ps -ef | grep kde
root 57 2 0 Jul30 ? 00:00:00 [kdevtmpfs]
kdm 1535 1532 0 Jul30 ? 00:33:25 /usr/lib/kde4/libexec/kdm_greet
ubuntu 6067 1 0 17:16 ? 00:00:00 /bin/bash /usr/bin/x2goruncommand 50 5895 ubuntu-50-1502558186_stDKDE_dp32 34503 startkde esd D
ubuntu 6165 6067 0 17:16 ? 00:00:00 /usr/bin/ck-launch-session /usr/bin/dbus-launch --exit-with-session /usr/bin/im-launch /usr/bin/env LD_LIBRARY_PATH=/usr/lib/nx/X11/Xinerama:/usr/lib/nx/X11 startkde
ubuntu 6302 6165 0 17:16 ? 00:00:00 /bin/sh /usr/bin/startkde
ubuntu 6305 1 0 17:16 ? 00:00:00 /usr/bin/dbus-launch --exit-with-session /usr/bin/im-launch /usr/bin/env LD_LIBRARY_PATH=/usr/lib/nx/X11/Xinerama:/usr/lib/nx/X11 startkde
ubuntu 6429 1 0 17:16 ? 00:00:00 /usr/lib/kde4/libexec/start_kdeinit +kcminit_startup
ubuntu 6435 1 0 17:16 ? 00:00:00 kdeinit4: kdeinit4 Running...
ubuntu 6436 6435 0 17:16 ? 00:00:00 kdeinit4: klauncher [kdeinit] --fd=9
ubuntu 6438 1 0 17:16 ? 00:00:03 kdeinit4: kded4 [kdeinit]
ubuntu 6457 6435 0 17:16 ? 00:00:02 kdeinit4: ksmserver [kdeinit]
ubuntu 6633 1 0 17:16 ? 00:00:02 /usr/lib/kde4/libexec/polkit-kd-authentication-agent-1
I'm using X2Go client which uses
"This program uses Qt version 4.8.7."
NXPROXY - Version 3.5.0
Copyright (C) 2001, 2010 NoMachine.
See http://www.nomachine.com/ for more information.
Info: Proxy running in client mode with pid '25164'.
Session: Starting session at 'Sat Aug 12 10:16:20 2017'.
Info: Connecting to remote host 'localhost:35502'.
Info: Connection to remote proxy 'localhost:35502' established.
Info: Connection with remote proxy completed.
Warning: Unrecognized session type 'unix-kde-depth_32'. Assuming agent session.
Warning: Failed to read data from the X auth command.
Warning: Generated a fake cookie for X authentication.
Info: Using WAN link parameters 768/24/1/0.
Info: Using cache parameters 4/4096KB/8192KB/8192KB.
Info: Using pack method '16m-jpeg-9' with session 'unix-kde-depth_32'.
Info: Using ZLIB data compression 1/1/32.
Info: Using ZLIB stream compression 1/1.
Info: No suitable cache file found.
Info: Forwarding X11 connections to display '/private/tmp/com.apple.launchd.hnXbYavKVp/org.macosforge.xquartz:0'.
Session: Session started at 'Sat Aug 12 10:16:22 2017'.
Info: Established X server connection.
Info: Using shared memory parameters 0/0K.
Here's the log file /home/ubuntu/.vnc/ip-10-0-1-107:1.log:
** (xfce4-volumed:4415): WARNING **: Binding '<Ctrl><Alt>XF86AudioMute' failed!
** (xfce4-volumed:4415): WARNING **: Failed to map virtual modifiers
** (xfce4-volumed:4415): WARNING **: Binding '<Alt><Shift>XF86AudioMute' failed!
** (xfce4-volumed:4415): WARNING **: Failed to map virtual modifiers
** (xfce4-volumed:4415): WARNING **: Failed to map virtual modifiers
** (xfce4-volumed:4415): WARNING **: Failed to map virtual modifiers
** (xfce4-volumed:4415): WARNING **: Binding '<Ctrl><Shift><Alt>XF86AudioMute' failed!
** (xfce4-volumed:4415): WARNING **: Failed to map virtual modifiers
** (xfce4-volumed:4415): WARNING **: Failed to map virtual modifiers
** (xfce4-volumed:4415): WARNING **: Failed to map virtual modifiers
initctl: UPSTART_SESSION isn't set in the environment. Unable to locate the Upstart instance.
** (process:4416): WARNING **: killswitch.vala:103: Can't open /dev/rfkill for use as a killswitch backend: Permission denied
** (process:4416): CRITICAL **: bluez.vala:104: GDBus.Error:org.freedesktop.DBus.Error.AccessDenied: Rejected send message, 2 matched rules; type="method_call", sender=":1.155" (uid=1000 pid=4416 comm="/usr/lib/x86_64-linux-gnu/indicator-bluetooth/indi") interface="org.bluez.Manager" member="DefaultAdapter" error name="(unset)" requested_reply="0" destination="org.bluez" (uid=0 pid=1052 comm="/usr/sbin/bluetoothd ")
(xfsettingsd:4462): xfsettingsd-CRITICAL **: No RANDR extension found in display :1.0. Display settings won't be applied.
Xlib: extension "XInputExtension" missing on display ":1.0".
(xfsettingsd:4462): xfsettingsd-CRITICAL **: XI is not present.
(xfsettingsd:4462): xfsettingsd-CRITICAL **: Failed to initialize the Xkb extension.
(xfsettingsd:4462): xfsettingsd-CRITICAL **: Failed to initialize the Accessibility extension.
(zeitgeist-datahub:4395): GLib-GObject-WARNING **: invalid (NULL) pointer instance
(zeitgeist-datahub:4395): GLib-GObject-CRITICAL **: g_signal_connect_data: assertion 'G_TYPE_CHECK_INSTANCE (instance)' failed
** (process:4355): CRITICAL **: volume_control_set_volume_internal: assertion '_tmp1_ == PA_CONTEXT_READY' failed
Failure: Module initialization failed
** (process:4355): CRITICAL **: file /build/buildd/indicator-sound-12.10.2+14.04.20140401/obj-x86_64-linux-gnu/src/volume-control.c: line 1775: uncaught error: GDBus.Error:org.freedesktop.DBus.Error.InvalidArgs: No such interface (g-dbus-error-quark, 16)
** (nm-applet:4347): WARNING **: Could not initialize NMClient /org/freedesktop/NetworkManager: Rejected send message, 3 matched rules; type="method_call", sender=":1.168" (uid=1000 pid=4347 comm="nm-applet ") interface="org.freedesktop.DBus.Properties" member="GetAll" error name="(unset)" requested_reply="0" destination="org.freedesktop.NetworkManager" (uid=0 pid=1123 comm="NetworkManager ")
(xfsettingsd:4462): xfsettingsd-WARNING **: Failed to get the _NET_NUMBER_OF_DESKTOPS property.
system-config-printer-applet: failed to start NewPrinterNotification service
system-config-printer-applet: failed to start PrinterDriversInstaller service: org.freedesktop.DBus.Error.AccessDenied: Connection ":1.171" is not allowed to own the service "com.redhat.PrinterDriversInstaller" due to security policies in the configuration file
Xlib: extension "RANDR" missing on display ":1.0".
Xlib: extension "RANDR" missing on display ":1.0".
Error executing command as another user: Not authorized
This incident has been reported.
ERROR:dbus.proxies:Introspect error on :1.5:/org/freedesktop/NetworkManager: dbus.exceptions.DBusException: org.freedesktop.DBus.Error.AccessDenied: Rejected send message, 3 matched rules; type="method_call", sender=":1.175" (uid=1000 pid=4686 comm="/usr/bin/python3 /usr/bin/update-manager --no-upda") interface="org.freedesktop.DBus.Introspectable" member="Introspect" error name="(unset)" requested_reply="0" destination=":1.5" (uid=0 pid=1123 comm="NetworkManager ")
It is maybe related to the screen.
try to add -X in the ssh command
ssh -X
Related
I am trying to run a gui commands in systemd services which i want it to execute on system startup.
these are my files.
oversteer.sh file:
#!/bin/bash
sleep 1s
export DISPLAY=:99.0
export SCREEN_WIDTH=1200
export SCREEN_HEIGHT=960
export SCREEN_DEPTH=24
export GEOMETRY="${SCREEN_WIDTH}x${SCREEN_HEIGHT}x${SCREEN_DEPTH}"
sudo oversteer --autocenter 45 &
sudo oversteer --range 720
oversteer.service file:
[Unit]
Description = oversteer
After=local-fs.target
[Service]
Environment="DISPLAY=:0"
Environment="XAUTHORITY=/home/ubuntu/.Xauthority"
ExecStart=/home/ubuntu/g29_steering_wheel/autostart_scripts/oversteer.sh
Restart=on-failure
Type=simple
StandardOutput=journal+console
[Install]
WantedBy=multi-user.target
I have put this file in /etc/systemd/system and have given executable as well as root permissions. However, it looks like this service fails because of no Display.
error is as follows:
Unable to init server: Could not connect: Connection refused
Unable to init server: Could not connect: Connection refused
Unable to init server: Could not connect: Connection refused
Unable to init server: Could not connect: Connection refused
(oversteer:8052): Gdk-CRITICAL **: 08:00:50.744: gdk_cursor_new_for_display: assertion 'GDK_IS_DISPLAY (display)' failed
(oversteer:8053): Gdk-CRITICAL **: 08:00:50.763: gdk_cursor_new_for_display: assertion 'GDK_IS_DISPLAY (display)' failed
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/matplotlib/backends/backend_gtk3.py", line 45, in <module>
cursors.MOVE : Gdk.Cursor.new(Gdk.CursorType.FLEUR),
TypeError: constructor returned NULL
I am running on raspi 4 with ubuntu 20.04. The oversteer is a package for controlling the parameters of my joystick.
I need to run laravel 5 app on my local Kubuntu 18 and I need to run redis server for this app
I installed and in file /etc/redis/redis.conf I uncommented line :
requirepass foobared
in .env I modified redis config :
REDIS_HOST=http://127.0.0.1:8000 # I run app with command : php artisan serve
REDIS_PASSWORD=foobared
REDIS_PORT=6379 # default port
I restarted redis and check status:
$ sudo service redis status
[sudo] password for serge:
● redis-server.service - Advanced key-value store
Loaded: loaded (/lib/systemd/system/redis-server.service; enabled; vendor preset: enabled)
Active: active (running) since Fri 2021-02-26 13:52:09 EET; 6min ago
Docs: http://redis.io/documentation,
man:redis-server(1)
Process: 1545 ExecStop=/bin/kill -s TERM $MAINPID (code=exited, status=0/SUCCESS)
Process: 1548 ExecStart=/usr/bin/redis-server /etc/redis/redis.conf (code=exited, status=0/SUCCESS)
Main PID: 1574 (redis-server)
Tasks: 4 (limit: 4915)
CGroup: /system.slice/redis-server.service
└─1574 /usr/bin/redis-server 127.0.0.1:6379
Feb 26 13:52:08 AtHome systemd[1]: Starting Advanced key-value store...
Feb 26 13:52:09 AtHome systemd[1]: redis-server.service: Can't open PID file /var/run/redis/redis-server.pid (yet?) after start: No such file or directory
Feb 26 13:52:09 AtHome systemd[1]: Started Advanced key-value store.
I see that file Can't open PID file not found above
But I have this file:
root#AtHome:/run/redis# ls -la
total 4
drwxr-sr-x 2 redis redis 60 Feb 26 14:32 .
drwxr-xr-x 38 root root 1160 Feb 26 14:32 ..
-rw-rw---- 1 redis redis 6 Feb 26 14:32 redis-server.pid
root#AtHome:/run/redis# cat redis-server.pid
22676
aand I got error on next command :
$ laravel-echo-server start
Error: The config file could not be found.
Is this errors as PID file was not found above?
How can it be fixed?
In composer.json :
"laravel/framework": "5.5.*",
"predis/predis": "^1.1",
MODIFIED # :
In /etc/redis/redis.conf I found
pidfile /var/run/redis/redis-server.pid
When I installed the ubuntu I installed /var on separate partition, so I have in /etc/fstab :
UUID=e531d8c5-530c-4533-a949-9fd5a62e0821 / ext4 errors=remount-ro 0 1
# /boot was on /dev/sdb1 during installation
UUID=23cc34a1-2be9-43b1-9c79-8e53af7bc799 /boot ext4 defaults 0 2
# /var was on /dev/sdb5 during installation
UUID=57c14b70-da85-4c5b-be6f-45174147d987 /var ext4 defaults 0 2
that is why /var/run/redis/redis-server.pid looks like /run/redis/redis-server.pid in my console command.
I do not know can that be key of this problem? How can it be salved ?
MODIFIED # 2 :
Yes, redis started and it shows in status command :
Active: active (running)
I see error message
Feb 26 13:52:09 AtHome systemd[1]: redis-server.service: Can't open PID file /var/run/redis/redis-server.pid
I do not know how critical is it ?
I need to run in the root of my app laravel-echo-server for redis working
but I got error :
$ laravel-echo-server start
Error: The config file could not be found.
I suppose that 2) depends on 1), but not sure, I am new in redis and very common
knowledge about laravel-echo-server...
MODIFIED # 3 :
Searching how test redis I found how made tests, but looks like not all works properly :
app_root$ redis-cli
127.0.0.1:6379> set greetings "Hello World!"
(error) NOAUTH Authentication required.
127.0.0.1:6379> get greetings
(error) NOAUTH Authentication required.
127.0.0.1:6379> exit
app_root$ sudo systemctl restart redis
[sudo] password for serge:
app_root$ redis-cli
127.0.0.1:6379> get greetings
(error) NOAUTH Authentication required.
127.0.0.1:6379>
But I am still not sure if it is reason that I got error running laravel-echo-server
Thanks!
I am trying to stand up a series of VM's in Virtualbox via Vagrant (Master on Ubuntu 20.04, 7 Minions on Windows Server 2016 and 1 on Windows 10). During the execution of vagrant up I receive the following error on the first VM (Windows Server 2016) after the creation completes and Salt begins to attempt an installation:
==> VM24-APP-OSX-RISK: Checking for guest additions in VM...
==> VM24-APP-OSX-RISK: Setting hostname...
==> VM24-APP-OSX-RISK: Waiting for machine to reboot...
==> VM24-APP-OSX-RISK: Configuring and enabling network interfaces...
==> VM24-APP-OSX-RISK: Running provisioner: salt...
Copying salt minion config to vm.
Uploading minion keys.
Checking if C:\salt\salt-minion.bat is installed
C:\salt\salt-minion.bat was not found.
Checking if C:\salt\salt-call.bat is installed
C:\salt\salt-call.bat was not found.
Using Bootstrap Options: -P -c /tmp -x python3
Bootstrapping Salt... (this may take a while)
Defaulting to minion Python version 2
Service defaulting to run.
**Downloading Salt minion installer Salt-Minion-2018.3.3-Py2-AMD64-Setup.exe
WARNING: Retrying download in 2 seconds. Retry # 1
WARNING: Retrying download in 2 seconds. Retry # 2
WARNING: Retrying download in 2 seconds. Retry # 3
WARNING: Retrying download in 2 seconds. Retry # 4
The request was aborted: Could not create SSL/TLS secure channel.
At C:\tmp\bootstrap_salt.ps1:74 char:5
+ $webclient.DownloadFile($url, $file)
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : NotSpecified: (:) [], WebException
+ FullyQualifiedErrorId : WebException
IsPublic IsSerial Name BaseType
-------- -------- ---- --------
True True ErrorRecord System.Object
The request was aborted: Could not create SSL/TLS secure channel.
at System.Net.WebClient.DownloadFile(Uri address, String fileName)
at CallSite.Target(Closure , CallSite , Object , Object , Object )
The following WinRM command responded with a non-zero exit status.
Vagrant assumes that this means the command failed!
powershell.exe -NonInteractive -NoProfile -executionpolicy bypass -file C:\tmp/bootstrap_salt.ps1 -P -c /tmp -x python3
Stdout from the command:
Defaulting to minion Python version 2
Service defaulting to run.
Downloading Salt minion installer Salt-Minion-2018.3.3-Py2-AMD64-Setup.exe
WARNING: Retrying download in 2 seconds. Retry # 1
WARNING: Retrying download in 2 seconds. Retry # 2
WARNING: Retrying download in 2 seconds. Retry # 3
WARNING: Retrying download in 2 seconds. Retry # 4
The request was aborted: Could not create SSL/TLS secure channel.
At C:\tmp\bootstrap_salt.ps1:74 char:5
+ $webclient.DownloadFile($url, $file)
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : NotSpecified: (:) [], WebException
+ FullyQualifiedErrorId : WebException
IsPublic IsSerial Name BaseType
-------- -------- ---- --------
True True ErrorRecord System.Object
The request was aborted: Could not create SSL/TLS secure channel.
at System.Net.WebClient.DownloadFile(Uri address, String fileName)
at CallSite.Target(Closure , CallSite , Object , Object , Object )
Stderr from the command:
Looking at the installation guide for Salt for Windows (here: https://docs.saltstack.com/en/master/topics/installation/windows.html) - I am pretty sure the issue is that the executable is no longer in the main tree of the older supported builds, but has been moved to the Archive section, effectively breaking the link that I think the installer is trying to run with (Salt-Minion-2018.3.3-Py2-AMD64-Setup.exe). However, I do not see any way to specify the Salt version to use via the Vagrant file, the salt files or anywhere in the code.
Anyone got any ideas?
UPDATE Oct 12, 2020: I created another Linux user and that user has no problem with the mouse ... for the first login. After that, the new user also did not show a mouse cursor in the X11 server display. That means the problem is specific to the user, not a system configuration issue, and something happens during the first login. What could that be?
I've got 2 Dell XPS 15 laptops, both were just upgraded from WSL1 to WSL2 and both have been upgraded to Ubuntu 20.04. One runs the XFCE4 desktop on X11 using VcXsrv just fine, the other displays the XFCE4 desktop but the cursor does not move and the keyboard has no effect on the desktop.
This snippet from ~/.profile runs the desktop:
export DISPLAY=$(cat /etc/resolv.conf | grep nameserver | awk '{print $2; exit;}'):0.0
export LIBGL_ALWAYS_INDIRECT=1
#sudo /etc/init.d/dbus start &> /dev/null
startxfce4 &> /dev/null &
Both systems use this config.XLaunch:
<?xml version="1.0" encoding="UTF-8"?>
<XLaunch
ClientMode="NoClient"
Clipboard="True"
ClipboardPrimary="True"
DisableAC="True"
Display="0"
ExtraParams="-swcursor"
LocalClient="False"
LocalProgram="xcalc"
PrivateKey=""
RemotePassword=""
RemoteProgram="xterm"
RemoteHost=""
RemoteUser=""
Wgl="True"
WindowMode="Windowed"
XDMCPBroadcast="False"
XDMCPHost=""
XDMCPIndirect="False"
XDMCPTerminate="False"
/>
Output of startxfce4 on the working system is:
$ echo $DISPLAY
172.26.16.1:0.0
$ which startxfce4
/usr/bin/startxfce4
$ startxfce4
/usr/bin/startxfce4: X server already running on display 172.26.16.1:0.0
_IceTransmkdir: Owner of /tmp/.ICE-unix should be set to root
gpg-agent[4211]: WARNING: "--write-env-file" is an obsolete option - it has no effect
gpg-agent: a gpg-agent is already running - not starting a new one
(xfce4-session:4169): xfce4-session-WARNING **: 12:50:45.121: gpg-agent returned no PID in the variables
(xfce4-session:4169): xfce4-session-WARNING **: 12:50:45.124: xfsm_manager_load_session: Something wrong with /home/mslinn/.cache/sessions/xfce4-session-172.26.16.1:0, Does it exist? Permissions issue?
(xfwm4:4215): xfwm4-WARNING **: 12:50:45.412: Unsupported GL renderer (Software Rasterizer).
(xfsettingsd:4219): libupower-glib-WARNING **: 12:50:45.534: Couldn't connect to proxy: Could not connect: No such file or directory
(xfsettingsd:4219): libupower-glib-CRITICAL **: 12:50:45.534: up_client_get_lid_is_closed: assertion 'UP_IS_CLIENT (client)' failed
(xfsettingsd:4219): GLib-GObject-WARNING **: 12:50:45.534: invalid (NULL) pointer instance
(xfsettingsd:4219): GLib-GObject-CRITICAL **: 12:50:45.534: g_signal_connect_data: assertion 'G_TYPE_CHECK_INSTANCE (instance)' failed
(wrapper-2.0:4233): GLib-GIO-CRITICAL **: 12:50:45.982: g_file_new_for_path: assertion 'path != NULL' failed
(wrapper-2.0:4233): GLib-GIO-CRITICAL **: 12:50:45.982: g_file_monitor_file: assertion 'G_IS_FILE (file)' failed
(wrapper-2.0:4233): GLib-GObject-WARNING **: 12:50:45.982: invalid (NULL) pointer instance
(wrapper-2.0:4233): GLib-GObject-CRITICAL **: 12:50:45.982: g_signal_connect_data: assertion 'G_TYPE_CHECK_INSTANCE (instance)' failed
(wrapper-2.0:4233): Gtk-WARNING **: 12:50:45.982: Attempting to add a widget with type GtkToggleButton to a container of type XfcePanelPlugin, but the widget is already inside a container of type XfcePanelPlugin, please remove the widget from its existing container first.
(xfce4-session:4169): xfce4-session-WARNING **: 12:50:46.010: failed to run script: Failed to execute child process “/usr/bin/pm-is-supported” (No such file or directory)
(xfce4-session:4169): xfce4-session-WARNING **: 12:50:46.013: failed to run script: Failed to execute child process “/usr/bin/pm-is-supported” (No such file or directory)
(xfce4-session:4169): xfce4-session-WARNING **: 12:50:46.016: failed to run script: Failed to execute child process “/usr/bin/pm-is-supported” (No such file or directory)
** (wrapper-2.0:4232): WARNING **: 12:50:46.024: Binding 'XF86AudioMicMute' failed!
(wrapper-2.0:4232): pulseaudio-plugin-WARNING **: 12:50:46.024: Could not have grabbed volume control keys. Is another volume control application (xfce4-volumed) running?
(wrapper-2.0:4233): Gtk-WARNING **: 12:50:46.026: Negative content width -3 (allocation 1, extents 2x2) while allocating gadget (node button, owner GtkToggleButton)
(wrapper-2.0:4234): Gtk-WARNING **: 12:50:46.037: Negative content width -1 (allocation 1, extents 1x1) while allocating gadget (node button, owner XfceArrowButton)
** (xiccd:4258): CRITICAL **: 12:50:46.142: Failed to connect to colord: Could not connect: No such file or directory
** (agent:4267): CRITICAL **: 12:50:46.145: Failed to get connection to system bus: Could not connect: No such file or directory
Connection failure: Connection refused
pa_context_connect() failed: Connection refused
(wrapper-2.0:4232): Gtk-WARNING **: 12:50:46.200: Negative content width -3 (allocation 1, extents 2x2) while allocating gadget (node button, owner PulseaudioButton)
(unity-fallback-mount-helper:4255): GVFS-RemoteVolumeMonitor-WARNING **: 12:50:46.282: remote volume monitor with dbus name org.gtk.vfs.UDisks2VolumeMonitor is not supported
(nm-applet:4279): nm-applet-WARNING **: 12:50:46.378: Error connecting to system D-Bus: Could not connect: No such file or directory
(nm-applet:4279): nm-applet-WARNING **: 12:50:46.379: Could not connect: No such file or directory
(nm-applet:4279): libnm-CRITICAL **: 12:50:46.383: ((libnm/nm-client.c:3905)): assertion '<dropped>' failed
(nm-applet:4279): libnm-CRITICAL **: 12:50:46.389: ((libnm/nm-client.c:3859)): assertion '<dropped>' failed
(nm-applet:4279): libnm-CRITICAL **: 12:50:46.389: ((libnm/nm-client.c:3937)): assertion '<dropped>' failed
(nm-applet:4279): libnm-CRITICAL **: 12:50:46.390: ((libnm/nm-client.c:3986)): assertion '<dropped>' failed
(nm-applet:4279): libnm-CRITICAL **: 12:50:46.390: ((libnm/nm-client.c:4026)): assertion '<dropped>' failed
(nm-applet:4279): libnm-CRITICAL **: 12:50:46.391: ((libnm/nm-client.c:4042)): assertion '<dropped>' failed
(nm-applet:4279): libnm-CRITICAL **: 12:50:46.391: ((libnm/nm-client.c:4080)): assertion '<dropped>' failed
(nm-applet:4279): libnm-CRITICAL **: 12:50:46.391: ((libnm/nm-client.c:4598)): assertion '<dropped>' failed
(nm-applet:4279): libnm-CRITICAL **: 12:50:46.392: ((libnm/nm-client.c:4598)): assertion '<dropped>' failed
(xfdesktop:4235): GVFS-RemoteVolumeMonitor-WARNING **: 12:50:46.561: remote volume monitor with dbus name org.gtk.vfs.UDisks2VolumeMonitor is not supported
** (xfdesktop:4235): WARNING **: 12:50:46.704: Failed to get system bus: Could not connect: No such file or directory
system-config-printer-applet: failed to connect to system D-Bus
[0610/125046.888419:ERROR:main_delegate.cc(930)] Could not load cef_100_percent.pak
[0610/125046.892135:ERROR:main_delegate.cc(939)] Could not load cef_200_percent.pak
[0610/125047.084535:INFO:HandlerRendererProcess.cpp(6)] HandlerRendererProcess created
[0610/125047.090591:ERROR:main_delegate.cc(930)] Could not load cef_100_percent.pak
[0610/125047.090753:ERROR:main_delegate.cc(939)] Could not load cef_200_percent.pak
[0610/125047.507121:INFO:HandlerGUILinux.cpp(141)] Create window
[0610/125047.689543:INFO:HandlerRequest.cpp(20)] OnBeforeBrowse 1 url=qrc://ui/
Jun 10, 2020 12:50:48 PM com.Zc.Za.Zb.Zb.ZAy <clinit>
WARNING: Unable to load JDK7 types (annotations, java.nio.file.Path): no Java7 support added
[0610/125048.702522:INFO:HandlerRendererProcess.cpp(6)] HandlerRendererProcess created
[0610/125048.706700:ERROR:main_delegate.cc(930)] Could not load cef_100_percent.pak
[0610/125048.707000:ERROR:main_delegate.cc(939)] Could not load cef_200_percent.pak
[0610/125048.732046:INFO:HandlerRendererProcess.cpp(6)] HandlerRendererProcess created
[0610/125048.740582:ERROR:main_delegate.cc(930)] Could not load cef_100_percent.pak
[0610/125048.740799:ERROR:main_delegate.cc(939)] Could not load cef_200_percent.pak
SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".
SLF4J: Defaulting to no-operation (NOP) logger implementation
SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further details.
Exception in thread "Thread-13" java.lang.ArrayIndexOutOfBoundsException: Index 0 out of bounds for length 0
at org.freedesktop.dbus.DBusSignal.Zb(DBusSignal.java:178)
at org.freedesktop.dbus.Zbt.run(Zbt.java:952)
at org.freedesktop.dbus.Zwx.run(Zwx.java:197)
Exception in thread "Thread-16" java.lang.ArrayIndexOutOfBoundsException: Index 0 out of bounds for length 0
at org.freedesktop.dbus.DBusSignal.Zb(DBusSignal.java:178)
at org.freedesktop.dbus.Zbt.run(Zbt.java:952)
at org.freedesktop.dbus.Zwx.run(Zwx.java:197)
[0610/125049.707698:INFO:HandlerRendererProcess.cpp(15)] Started CEF-render process
[0610/125049.707695:INFO:HandlerRendererProcess.cpp(15)] Started CEF-render process
Xlib: extension "MIT-SHM" missing on display "172.26.16.1:0.0".
[0610/125050.381922:INFO:CONSOLE(2)] "Importing icons and logos from Ring UI is deprecated. Please import them from corresponding packages: `#jetbrains/icons` and `#jetbrains/icons`.", source: qrc://ui/index.js (2)
[0610/125050.501390:INFO:CONSOLE(2)] "Updated model size: 133084", source: qrc://ui/index.js (2)
[0610/125050.516655:INFO:CONSOLE(2)] "Updated model size: 156335", source: qrc://ui/index.js (2)
[0610/125050.535100:INFO:CONSOLE(2)] "Updated model size: 156449", source: qrc://ui/index.js (2)
[0610/125050.547730:INFO:CONSOLE(2)] "Updated model size: 156335", source: qrc://ui/index.js (2)
[0610/125050.566132:INFO:CONSOLE(2)] "Initial model size: 156414", source: qrc://ui/index.js (2)
[0610/125050.570154:INFO:CONSOLE(2)] "`size`, `width` and `height` props are not recommended to use in Ring UI `Icon` component. The intrinsic sizes of SVG icon (`width` and `height` SVG attributes) are used instead.
We strongly recommend to use icons handcrafted for particular sizes. If your icon doesn't exist in the desired size, please ask your designer to draw one. "Responsive" checkmark should be unchecked when exporting icon.'", source: qrc://ui/index.js (2)
[0610/125052.719865:INFO:CONSOLE(2)] "Updated model size: 205265", source: qrc://ui/index.js (2)
[0610/125106.897010:INFO:CONSOLE(2)] "Updated model size: 205265", source: qrc://ui/index.js (2)
Output of on the non-working system is:
$ ifconfig eth0 | grep 'inet '
inet 172.25.63.251 netmask 255.255.240.0 broadcast 172.25.63.255
$ echo $DISPLAY
172.25.48.1:0.0
$ which startxfce4
/usr/bin/startxfce4
$ startxfce4
/usr/bin/startxfce4: X server already running on display 172.25.48.1:0.0
gpg-agent[1508]: WARNING: "--write-env-file" is an obsolete option - it has no effect
gpg-agent: a gpg-agent is already running - not starting a new one
(xfce4-session:1482): xfce4-session-WARNING **: 12:50:23.915: gpg-agent returned no PID in the variables
(xfce4-session:1482): xfce4-session-WARNING **: 12:50:23.922: xfsm_manager_load_session: Something wrong with /home/mslinn/.cache/sessions/xfce4-session-172.25.48.1:0, Does it exist? Permissions issue?
xfwm4-Message: 12:50:24.247: Another Window Manager (Xfwm4) is already running on screen 172.25.48.1:0.0
xfwm4-Message: 12:50:24.247: To replace the current window manager, try "--replace"
(xfwm4:1510): xfwm4-WARNING **: 12:50:24.247: Could not find a screen to manage, exiting
xfsettingsd-Message: 12:50:24.407: Skipping screen 0, it already has an xsettings manager...
(wrapper-2.0:1530): Gtk-WARNING **: 12:50:24.994: gtk_widget_size_allocate(): attempt to allocate widget with width -1 and height 28
(wrapper-2.0:1530): Gtk-WARNING **: 12:50:24.994: Negative content width -1 (allocation 1, extents 1x1) while allocating gadget (node border, owner GtkFrame)
(xfce4-session:1482): xfce4-session-WARNING **: 12:50:25.027: failed to run script: Failed to execute child process “/usr/bin/pm-is-supported” (No such file or directory)
(xfce4-session:1482): xfce4-session-WARNING **: 12:50:25.035: failed to run script: Failed to execute child process “/usr/bin/pm-is-supported” (No such file or directory)
(xfce4-session:1482): xfce4-session-WARNING **: 12:50:25.045: failed to run script: Failed to execute child process “/usr/bin/pm-is-supported” (No such file or directory)
(wrapper-2.0:1531): Gtk-WARNING **: 12:50:25.079: Negative content width -1 (allocation 1, extents 1x1) while allocating gadget (node button, owner XfceArrowButton)
xfsettingsd: Another clipboard manager is already running.
** (xfdesktop:1544): CRITICAL **: 12:50:40.869: xfdesktop: already running, quitting.
** (xiccd:1547): WARNING **: 12:50:40.976: EDID is empty
** (xiccd:1547): CRITICAL **: 12:50:40.989: failed to create colord device: failed to obtain org.freedesktop.color-manager.create-device auth
Tracker-Message: 12:50:40.991: Set scheduler policy to SCHED_IDLE
Tracker-Message: 12:50:40.991: Setting priority nice level to 19
Connection failure: Connection refused
pa_context_connect() failed: Connection refused
(uint32 1,)
(nm-applet:1584): nm-applet-WARNING **: 12:50:41.153: NetworkManager is not running
Tracker-Message: 12:50:41.181: Set scheduler policy to SCHED_IDLE
Tracker-Message: 12:50:41.181: Setting priority nice level to 19
** (update-notifier:1634): WARNING **: 12:50:41.190: already running?
** (light-locker:1647): ERROR **: 12:50:41.245: Environment variable XDG_SESSION_PATH not set. Is LightDM running?
DISPLAY is properly set, I think. XEyes and XTerm work fine ... I only notice a problem with the XFCE4 desktop.
I've started opennebula sunstone on Ubuntu 15.04 with one host on KVM.
I can add the host on the server via sunstone, but i've an "MONITORED_ERROR" and when I look at the log I've this error:
/var/tmp/one/im/run_probes: line 34: 24669 Aborted ./$i $ARGUMENTS Error executing collectd-client.rb
And if I go on the host oneadmin can log whitout password and if I execute the command: /var/tmp/one/im/run_probes kvm /var/lib/one/datastores 4124 20 2 host I've this error:
./collectd-client.rb:122:in <main>': undefined method split' for nil:NilClass (NoMethodError)
ERROR MESSAGE --8<------
Error executing collectd-client.rb
ERROR MESSAGE ------>8--
From https://forum.opennebula.org/t/solved-error-monitoring-host-2-error-executing-probes/738/3
well, enable disable didn't work.
I had to delete /var/tmp/one on affected host and then :
su - oneadmin
onehost sync --force
I also deleted /etc/cron.daily/tmpwatch