Page 1 of 1

Snapshot live Gdbus error

PostPosted: September 30th, 2019, 1:07 pm
by orbspider
Hello, I've been an avid user of refractasnapshot and refractainstaller for years, but my time hasn't been without troubles.

This time I have trouble loading the Live system from USB and also after installing to disk. Running live I can't get to the desktop, there is a Gdbus error. So instead I can just install using the CLI. But then after installing to disk I have another error, as below.

My system that I took snapshot of is Devuan, beowulf, and RS versions are refractasnapshot-10.2.3 (20190422) and refractainstaller 9.5.3 (20190317)


1st error, Live
Code: Select all
GDbus.Error:org.freedesktop.Consolekit.Manager.GeneralError: Unable to lookup session information for process '17068'


The process is likely lxsession? I run Openbox with lxsession, lxpanel, compton, no DM, and not LXDE.


2nd error, installed
Code: Select all
Could not create lock file in /tmp/.tX0-lock

Unable to connect to X server: connection refused


Concerning the 2nd error, I have checked that /tmp does exist, there is no 'leftover' .tX0-lock file and the disk space is not used up.

Any ideas what's going on? If not working I will have to clone my disk.
cheers

Re: Snapshot live Gdbus error

PostPosted: October 1st, 2019, 5:38 am
by fsmithred
Sounds like the following issue from the ascii release notes:
### Starting X from a console (TTY)

In Devuan 2.0 ASCII, the X server no longer requires to be run with
root privileges. As a consequence, there are some additional
requirements to be met when launching X directly from a TTY (i.e.,
through 'xinit' or 'startx'), especially on systems upgraded from
Devuan Jessie.

In Devuan 2.0 ASCII it is sufficient to install 'elogind' and
'libpam-elogind', and then use either 'startx' or 'xinit' as usual
from a regular user account. In this case, the Xorg log file will be
available under '~/.local/share/xorg/'.

The system still needs to support Kernel Mode Setting (KMS).
Therefore, this solution may not work in some virtualization
environments (e.g. virtualbox) or if the kernel has no driver that
supports your graphic card.

Alternatively, it is still possible to run X with setuid root. In this
case, you need to install `xserver-xorg-legacy` and ensure that the
file '/etc/X11/Xwrapper.config' contains the (uncommented) line:

needs_root_rights=yes

Re: Snapshot live Gdbus error

PostPosted: October 1st, 2019, 8:08 am
by orbspider
OK, I hadn't read about that. But with my system that I made the snapshot of I don't have these errors.

So I will try installing those packages and re-copy the system and see how it goes... but it will take me a few weeks as my box is way up in the unconnected bushland..........

Re: Snapshot live Gdbus error

PostPosted: October 2nd, 2019, 3:56 am
by fsmithred
Get the output of this:
Code: Select all
dpkg -l | egrep "consolekit|elogind|policykit|polkit|libpam"