thorium icon indicating copy to clipboard operation
thorium copied to clipboard

Why is thorium catting $HOME/.local/share/sddm/xorg-session.log?

Open littleblack111 opened this issue 1 year ago • 8 comments

System Details

  • OS: [e.g. Ubuntu 22.04, Windows 7, 8.1, 10, 11]
  • Thorium Version [e.g.107.0.5347.0] OS:Arch Linux Thorium Version: 124.0.6367.218

Problem A clear and concise description of what the bug is. Why does it need to cat .local/share/sddm/xorg-session.log

Screenshots If applicable, add screenshots to help explain your problem. Screenshot_2024-08-04-10-50-35_3840x2160 Screenshot_2024-08-04-10-50-28_3840x2160

Additional Notes Add any other context about the problem here. I tried using chromium. it doesnt do this

littleblack111 avatar Aug 04 '24 02:08 littleblack111

@littleblack111 I tried recreating this, I could only make it happen on Arch with lightdm and sddm.

GDM, Wayland, and pure X11 (without DE) didn't do this. I really don't know why. I also didn't test on Ubuntu or Debian since I didn't want to go through the hassle of installing and configuring another session manager and/or DE.

Also, when you tested Chromium, was it at the same version as Thorium, and with the same flags enabled/disabled?

When comparing Chromium and Thorium you should always make sure variables that could influence behavior like version, settings, and flags are the same between them.

While the session log doesn't contain any personally identifiable information, it does contain a lot more system info than Chromium is normally afforded, so it shouldn't be catting it unless necessary.

Lastly, can you test with the new M126 version that I just released today >

The only things that I change in Thorium related to xorg are two things: The flag to enable auto-dark mode (which only applies if it is enabled on chrome://flags, and only works properly on systems with GTK3), and then some code to enable tab dragging and dropping between windows when the underlying display stack doesn't support it. (For example, it lets you drag and drop a tab under pure X11 without a WM or DE).

Alex313031 avatar Aug 05 '24 14:08 Alex313031

Ur right. I'll try them again later with the same variables(and the latest versions)

Yes I'm using arch with sddm

littleblack111 avatar Aug 05 '24 15:08 littleblack111

@littleblack111 I was going to post a link to the M126 version, but the release is delayed till tommorow because I screwed up google sync, so we had to rebuild the releases after a fix.

Alex313031 avatar Aug 06 '24 01:08 Alex313031

Alright. Please lmk when u finish. And ya indeed I tried it yesterday and the google sync is broken. I'll try again later(it somehow updated through the aur, although it worked again after I restarted it...)

littleblack111 avatar Aug 06 '24 01:08 littleblack111

@littleblack111 How's it going now. Did you test with M126 Chromium to see if same thing? Also, did you try with latest release.

Alex313031 avatar Sep 01 '24 19:09 Alex313031

yep. tried. now i swapped to hyprland so uhh.. it changed from xorg-session.log -> [1320670] cat /home/system/.local/share/sddm/wayland-session.log lol

littleblack111 avatar Sep 02 '24 08:09 littleblack111

@littleblack111 I am at a loss. Cant find references to those files or even the sddm/gdm directory in the Chromium code search. IDK what else to do lol. I guess you'll have to "trust me bro" (Linus Tech Tips reference lol), that Thorium isn't trying to maliciously get info from system session files.

Also, you might try disabling these flags. They are normally disabled in Chromium but I have enabled them by default for GPU acceleration to work on more hardware configs.

chrome://flags/#vaapi-video-decode-linux-gl chrome://flags/#vaapi-on-nvidia-gpus

Alex313031 avatar Sep 03 '24 07:09 Alex313031

lol. sure i guess. u cant rly obtain malicious infomation from log as well so ye. lets just leave this open and see if in the future, anyone gonna find out

littleblack111 avatar Sep 03 '24 10:09 littleblack111