Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to run backintime via x11 #1720

Open
philm001 opened this issue May 13, 2024 · 6 comments
Open

Unable to run backintime via x11 #1720

philm001 opened this issue May 13, 2024 · 6 comments
Labels
Bug Feedback needs user response, may be closed after timeout without a response Qt Qt bugs, code or features

Comments

@philm001
Copy link

philm001 commented May 13, 2024

Hello everyone, I am unable to run backintime through x-11. This is really unfortunate because it would give us headless users a nice way to work with this program. I am adding the output of the command here. I should note, that I am pretty sure I have the authorization correct for what I am doing

Back In Time
Version: 1.4.1-1

Back In Time comes with ABSOLUTELY NO WARRANTY.
This is free software, and you are welcome to redistribute it
under certain conditions; type `backintime --license' for details.

MoTTY X11 proxy: Unsupported authorisation protocol
qt.qpa.xcb: could not connect to display localhost:10.0
qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "" even though it was found.
This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.

Available platform plugins are: eglfs, linuxfb, minimal, minimalegl, offscreen, vnc, xcb.

Aborted (core dumped)

Here is an output of the diagnostics:

{
    "backintime": {
        "name": "Back In Time",
        "version": "1.4.1-1",
        "latest-config-version": 6,
        "local-config-file": "/root/.config/backintime/config",
        "local-config-file-found": false,
        "global-config-file": "/etc/backintime/config",
        "global-config-file-found": false,
        "started-from": "/usr/share/backintime/common",
        "running-as-root": true,
        "user-callback": "/root/.config/backintime/user-callback",
        "keyring-supported": false
    },
    "host-setup": {
        "platform": "Linux-5.15.0-106-generic-x86_64-with-glibc2.35",
        "system": "Linux #116-Ubuntu SMP Wed Apr 17 09:17:56 UTC 2024",
        "OS": {
            "/etc/os-release": "Ubuntu 22.04.4 LTS",
            "/etc/lsb-release": "DISTRIB_ID=Ubuntu\nDISTRIB_RELEASE=22.04\nDISTRIB_CODENAME=jammy\nDISTRIB_DESCRIPTION=\"Ubuntu 22.04.4 LTS\"\n",
            "/etc/debian_version": "bookworm/sid\n"
        },
        "display-system": "($XDG_SESSION_TYPE not set)",
        "locale": "en_US, UTF-8",
        "PATH": "/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin",
        "RSYNC_OLD_ARGS": "(not set)",
        "RSYNC_PROTECT_ARGS": "(not set)"
    },
    "python-setup": {
        "python": "3.10.12 main Nov 20 2023 15:14:05 CPython GCC 11.4.0",
        "python-executable": "/usr/bin/python3",
        "python-executable-symlink": true,
        "python-executable-resolved": "/usr/bin/python3.10",
        "sys.path": [
            "/usr/share/backintime/qt/plugins",
            "/usr/share/backintime/common/plugins",
            "/usr/share/backintime/plugins",
            "/usr/share/backintime/common",
            "/usr/share/backintime/qt",
            "/usr/lib/python310.zip",
            "/usr/lib/python3.10",
            "/usr/lib/python3.10/lib-dynload",
            "/usr/local/lib/python3.10/dist-packages",
            "/usr/lib/python3/dist-packages"
        ],
        "qt": {
            "Version": "PyQt 5.15.6 / Qt 5.15.3"
        }
    },
    "external-programs": {
        "rsync": {
            "version": "3.2.7",
            "protocol": "31.0",
            "capabilities": {
                "file_bits": 64,
                "inum_bits": 64,
                "timestamp_bits": 64,
                "long_int_bits": 64,
                "socketpairs": true,
                "symlinks": true,
                "symtimes": true,
                "hardlinks": true,
                "hardlink_specials": true,
                "hardlink_symlinks": true,
                "IPv6": true,
                "atimes": true,
                "batchfiles": true,
                "inplace": true,
                "append": true,
                "ACLs": true,
                "xattrs": true,
                "secluded_args": "optional",
                "iconv": true,
                "prealloc": true,
                "stop_at": true,
                "crtimes": false
            },
            "optimizations": {
                "SIMD_roll": true,
                "asm_roll": false,
                "openssl_crypto": true,
                "asm_MD5": false
            },
            "checksum_list": [
                "xxh128",
                "xxh3",
                "xxh64",
                "md5",
                "md4",
                "sha1",
                "none"
            ],
            "compress_list": [
                "zstd",
                "lz4",
                "zlibx",
                "zlib",
                "none"
            ],
            "daemon_auth_list": [
                "sha512",
                "sha256",
                "sha1",
                "md5",
                "md4"
            ]
        },
        "ssh": "OpenSSH_8.9p1 Ubuntu-3ubuntu0.6, OpenSSL 3.0.2 15 Mar 2022",
        "sshfs": "3.7.1",
        "encfs": "1.9.5",
        "shell": "/bin/bash",
        "shell-version": "GNU bash, version 5.1.16(1)-release (x86_64-pc-linux-gnu)"
    }
}



If you need anything else or need me to check anything, please let me know.

This is my xauth values:

localhost/unix:10  MIT-MAGIC-COOKIE-1  27e035688dd89483c6fe48b2470172f5
<Server_Name>:10  MIT-MAGIC-COOKIE-1  27e035688dd89483c6fe48b2470172f5
192.168.68.53/unix:10  MIT-MAGIC-COOKIE-1  27e035688dd89483c6fe48b2470172f5
<Server_Name>/unix:10  MIT-MAGIC-COOKIE-1  e52026058cc1dc0e4c2818ed13f461a8
@buhtz
Copy link
Member

buhtz commented May 13, 2024

Hello Phillip,

Thank you for taking the time to report the bug and providing the
details. I appreciate your feedback.

Can you describe please in more details what "through x-11" means. I see "MoTTY" in your output. Might this be some kind of remote desktop setup like VNC or XRDP?

In this case I would suggest to ask the community of your client first and provide the same details. They might have an idea what could be the cause.

btw: I don't have problems running BIT via XRDP (using "Windows Remote Desktop" as client) on Debian 11 and 12.

Best regards,
Christian

@buhtz buhtz added Qt Qt bugs, code or features Bug Feedback needs user response, may be closed after timeout without a response labels May 13, 2024
@aryoda
Copy link
Contributor

aryoda commented May 13, 2024

@philm001

Are you using MobaXterm for X11-forwarding?

I don't know if X11-forwarding with BiT GUI was ever tested or reported as working.

This is my xauth values:

Is "my" a normal user or root?

@Martii
Copy link

Martii commented May 13, 2024

I don't know if X11-forwarding with BiT GUI was ever tested ...

Not sure if this is what is being looked for but this seems to load and pull up my existing snapshots:

$ ssh -CX machine.localdomain /usr/bin/backintime-qt

That target machine is "headless" when it comes to hardware i.e. no monitor (except when selected with a KVM) but still has the same distro Windows Manager installed. I usually use VNC though as it is "detachable" i.e. continues to run when host system is rebooted or otherwise busy. The BiT GUI (Qt) in general looks a bit different on fonts/button images... might be applying the default KDE theme instead of my distros.

@ptilopteri
Copy link

ptilopteri commented May 13, 2024 via email

@philm001
Copy link
Author

Hello guys thank you for feedback. I was able to get things working on the CLI (I would suggest some more up to date documentation on the CLI part). However, I think that having a good way to use X11 is beneficial.

@aryoda

Yes, I am using that. I can run the X11 apps like the clock and the eyes without issue. I only have a problem with BiT. I haven't tried using vnc or XRDP. I will give those a shot later and see if it might be an issue with Mobaxterm. I am pretty sure those are under a normal user and I actually have both. But will need to double check that

@buhtz
Copy link
Member

buhtz commented May 13, 2024

Thanks for your feedback.

I would suggest some more up to date documentation on the CLI part).

Please be more specific here. Otherwise we are not able to improve it. Which part of the docu you are refer to? The manpage, the user manual, something else? What could be improved or what is hard to understand?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Feedback needs user response, may be closed after timeout without a response Qt Qt bugs, code or features
Projects
None yet
Development

No branches or pull requests

5 participants