You are not logged in.

#1 2024-09-04 17:09:55

barney
Member
Registered: 2020-12-14
Posts: 130

[SOLVED]Problems with xcdroast

I have installed xcdroast package from AUR, but I cannot setup the xcdroast.
I have read that the first start should be as a root. In terminal emulator I have typed su, and after that xcdroast. I get this message:

XDG_RUNTIME_DIR (/run/user/1000) is not owned by us (uid 0), but by uid 1000! (This could e.g. happen if you try to connect to a non-root PulseAudio as a root user, over the native protocol. Don't do that.)

After that nothing happens, I have to press ^C to exit the application.
If I start the xcdroast as ordinary user nothing happens, I have to press ^C to exit the application.
I don't know how to diagnose the problem. If I need to post log files please tell me which file should I post.

Last edited by barney (2024-09-16 23:39:20)

Offline

#2 2024-09-04 20:49:12

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 75,821

Re: [SOLVED]Problems with xcdroast

The error is from pulseaudio or pipewire-pulse, your rootshell still has the environment of the regular user around.

I have read that the first start should be as a root.

http://www.xcdroast.org/manual/first.html
ewww… try "sudo xcdroast" instead, it'll at least drop the environment

Offline

#3 2024-09-05 00:09:12

barney
Member
Registered: 2020-12-14
Posts: 130

Re: [SOLVED]Problems with xcdroast

seth wrote:

The error is from pulseaudio or pipewire-pulse, your rootshell still has the environment of the regular user around.

I have read that the first start should be as a root.

http://www.xcdroast.org/manual/first.html

I have read the first start from the manual. From there I know that the first start should be as a root.

ewww… try "sudo xcdroast" instead, it'll at least drop the environment

I have tried "sudo xcdroast". Nothing happens, I have to press ^C in order to terminate the application.

Offline

#4 2024-09-05 05:55:45

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 75,821

Re: [SOLVED]Problems with xcdroast

So status quo ante minus the PA error.
First of all, just try to run "xcdroast" as regular user to confirm the first-run problem actually exists w/ the aur package.

Then

sudo -i
export DISPLAY=:0
strace -f -tt -o /tmp/xcdroast.strace xcdroast # in doubt ctrl+c that
chmod ugo+rw /tmp/xcdroast.strace
exit
cat /tmp/xcdroast.strace | curl -F 'file=@-' 0x0.st

Something's gonna happen, just nothing involving the display of a window.

Offline

#5 2024-09-15 16:39:32

barney
Member
Registered: 2020-12-14
Posts: 130

Re: [SOLVED]Problems with xcdroast

Sorry for late response, I haven't been around my computer for a week.
here is the output of the strace command:
https://0x0.st/X3i-.txt

Offline

#6 2024-09-15 22:40:28

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 75,821

Re: [SOLVED]Problems with xcdroast

seth wrote:

First of all, just try to run "xcdroast" as regular user to confirm the first-run problem actually exists w/ the aur package.

Does it?

There isn't much going on during the stall - some just noise talking to the X11 server, but no errors/failure.

Offline

#7 2024-09-16 17:51:30

barney
Member
Registered: 2020-12-14
Posts: 130

Re: [SOLVED]Problems with xcdroast

seth wrote:
seth wrote:

First of all, just try to run "xcdroast" as regular user to confirm the first-run problem actually exists w/ the aur package.

Does it?

There isn't much going on during the stall - some just noise talking to the X11 server, but no errors/failure.

No, it doesn't.

Offline

#8 2024-09-16 19:30:10

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 25,208

Re: [SOLVED]Problems with xcdroast

While I hate to be that guy, what's the draw to this tool? Minimal deps? xfce4-burn, brasero, k3b, cdrtools directly on the cmdline all exist and are actively maintained in comparison to a 6 year old tool.

Offline

#9 2024-09-16 20:59:32

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 75,821

Re: [SOLVED]Problems with xcdroast

Builds, runs (as regular user, but I'm still in the "optical" group), opens a dialog, searches for devices, ok, opens main window.
Same for "sudo xcdroast"

What exactly happens when you run it as regular user?
What kind of session do you run?
Which window manager?

Offline

#10 2024-09-16 22:13:00

barney
Member
Registered: 2020-12-14
Posts: 130

Re: [SOLVED]Problems with xcdroast

seth wrote:

Builds, runs (as regular user, but I'm still in the "optical" group), opens a dialog, searches for devices, ok, opens main window.
Same for "sudo xcdroast"

You are lucky. I haven't been in the optical group, but I have added myself. Same problems.


What exactly happens when you run it as regular user?

It tries to detect the optical drive, I know because it spins the drive, but no message on the terminal. After that nothing, I have to press ^C to terminate the application.

What kind of session do you run?

X session. I don't have a display manager, I have xinit file.

Which window manager?

OpenBox.

Offline

#11 2024-09-16 22:41:42

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 75,821

Re: [SOLVED]Problems with xcdroast

Please post your xinitrc and try w/o a WM (use "exec xterm" as your session command and start xcdroast from the xterm)
The client supports the silly WM_TAKE_FOCUS protocol…

Offline

#12 2024-09-16 23:38:54

barney
Member
Registered: 2020-12-14
Posts: 130

Re: [SOLVED]Problems with xcdroast

seth wrote:

Please post your xinitrc

#!/bin/sh

userresources=$HOME/.Xresources
usermodmap=$HOME/.Xmodmap
sysresources=/etc/X11/xinit/.Xresources
sysmodmap=/etc/X11/xinit/.Xmodmap

# merge in defaults and keymaps

if [ -f $sysresources ]; then







    xrdb -merge $sysresources

fi

if [ -f $sysmodmap ]; then
    xmodmap $sysmodmap
fi

if [ -f "$userresources" ]; then







    xrdb -merge "$userresources"

fi

if [ -f "$usermodmap" ]; then
    xmodmap "$usermodmap"
fi

# start some nice programs

if [ -d /etc/X11/xinit/xinitrc.d ] ; then
 for f in /etc/X11/xinit/xinitrc.d/?*.sh ; do
  [ -x "$f" ] && . "$f"
 done
 unset f
fi

#twm &
#xclock -geometry 50x50-1+1 &
#xterm -geometry 80x50+494+51 &
#xterm -geometry 80x20+494-0 &
#exec xterm -geometry 80x66+0+0 -name login
#xss-lock -l -- i3lock --nofork -c 0303aa &
exec openbox-session
#exec xterm

... and try w/o a WM (use "exec xterm" as your session command and start xcdroast from the xterm)

I have tried, and the program successfully started. I have created configuration, saved and edited the xinitrc to start the OpenBox. Now xcdroast works normally under the OpenBox.
 

The client supports the silly WM_TAKE_FOCUS protocol…

Probably this is the problem, I am not an expert.
Thanks.

Offline

#13 2024-09-16 23:54:03

barney
Member
Registered: 2020-12-14
Posts: 130

Re: [SOLVED]Problems with xcdroast

V1del wrote:

While I hate to be that guy, what's the draw to this tool? Minimal deps? xfce4-burn, brasero, k3b, cdrtools directly on the cmdline all exist and are actively maintained in comparison to a 6 year old tool.

The main reason is minimal deps. Now I have found bashburn and I think it is enough for most of the needs that I have. I didn't know about bashburn before.

Offline

Board footer

Powered by FluxBB