libera/#devuan/ Tuesday, 2023-10-03

bb|hcbrwp: Oh, I missed that. I am not sure if eudev will reread the rules, unless told so. About the reconnecting device - that is another problem by itself. The bad things with such issues is that there is no way to reproduce and debug what is happening :(00:09
rrqisn't it the same as removing and reinserting a mounted USB disk? basically any USB device that does like that will be re-enumerated as a new device00:13
rwpI have never had good luck with long term mounting of USB disks. They always freak out at some point. And removing a mounted device is not good.00:43
rwpBut conversely USB network adaptors have been awesomely rock solid. So odd they are on opposite ends of the problem.00:43
AlexLikeRockwhere can change the name of my WIFI device ?01:01
AlexLikeRockthey appear like "wlx00e04cb66705"01:01
rwpI have learned to live with those names.  But all of the detail on device naming is here: https://wiki.debian.org/NetworkInterfaceNames01:08
rrqAlexLikeRock: one way might be, if you have a file /lib/udev/rules.d/73-usb-net-by-mac.rules you may create an emptu file /etc/udev/rules.d/73-usb-net-by-mac.rules sos as to disarm that goodness01:09
AlexLikeRockyes  m its the way  ...01:10
AlexLikeRocki found  :  /etc/udev/rules.d  70-persistent-net.rules01:11
rwpI am pretty sure that the USB WiFi adaptors create wlx00e04cb66705 types of names even with net.ifnames=0 set in the kernel command line.01:11
rwpBut the traditional name would have been wlan0 for it.01:12
rrqyes, possibly the kernl module invents that name by itself01:12
AlexLikeRockok, thanks01:12
rwpCheck dmesg and look to see if it is being renamed:  dmesg | grep -e wlan -e eth01:13
rrqgenerally speaking, the kernel module always invents some name, and then udev tries to improve on that; the first naming is decided by the module developer(s) the second but the (e)udev developer(s)01:14
rwpIn any case if needed you would set kernel command line options in /etc/default/grub such as GRUB_CMDLINE_LINUX="net.ifnames=0" and then run "update-grub" afterward to propagate.01:14
rwpExample of one of my hostapd Access Point systems with two USB WiFi adaptors attached: https://paste.debian.net/plain/129384601:18
rwpOne at a time the adapter is enumerated as wlan0 and renamed.  Which frees wlan0 for the next one.  So each in turn starts as wlan0 and then is renamed.01:19
AlexLikeRock  dmesg | grep -e wlan -e eth  ,  they are good new info , thaks dude's !!01:24
bb|hcbrrq: It should be the same for all usb devices. I have a PL2303 serial-to-usb and both the /dev/serial/by-path and /dev/serial/by-id seems to be created in a sane manner. But no matter how many times I did plug/unplug it is constantly /dev/ttyUSB0 (eudev 3.2.12-4+deb11u1)17:38
bb|hcbChanging the main device name most probably means that the old name was not deleted while the problematic device appeared again (before the previous one got deleted). I'd guess there may be way too many reasons like: power problems, bad device, bad driver... Who knows?17:42
scaniatruckerI know for a fact that the Devuan forum administration promotes Nazism, covers Nazis, promotes their activities and possibly covers war criminals. This is done by ralph.ronnquist and some obscure person whose nickname is golinux. Stupid Nazi pigs. There will come a time when you will deeply regret your actions. Nazism will be stopped!17:53
scaniatruckerIf the administration of the Devuan forum cares so much about the Ukrainian refugees (it's very strange what they do at the computer. Instead of writing nonsense, why don't they fight for their country), maybe they could look into why the USA is promoting the war in Ukraine? Or is the entire administration of the so-called Devuan distributor cooperating with US intelligence structures?18:02
scaniatrucker18:02
miojothere's a troll in the room18:02
scaniatruckerno, miojo i am not a troll. I protest against manifestations of Nazism in the devuan forum18:03
joerghow about taking it to that forum then?18:03
[-_-]Hiii18:52
[-_-]guys, anyone tried this : https://slackfa.blogspot.com/2014/02/use-any-tabletsmartphone-as-extended.html18:52
[-_-]can the sorry rebooting, brb18:55
[-_-]is it possible to use xserver-xorg-video-dummy along side of normal drivers?18:57
[-_-]I get a blank screen18:57
[-_-]/etc/X11/xorg.conf.d/00-xorg.conf: http://vpaste.net/OAGlo18:58
[-_-]/etc/X11/xorg.conf.d/01-vnc.conf: https://termbin.com/tpj618:59
[-_-]if I have modesetting disabled usig modprobe, the system freezes in tty19:00
[-_-]I can get out by changing tty, or ctrl+alt+backspace19:00
[-_-]if modesetting is enabled, then I get a blank screen19:00
[-_-]I can't get out with ctrl+alt+backspace or change tty, nothing, straight reboot19:01
[-_-]also any easy way to share mpv video from linux to android?19:06
dokmaTeamViewer refuses to start on my Devuan. Seems like:20:51
dokmaloginctl list-sessions20:52
dokmaNo sessions.20:52
dokmais the culprit.20:52
dokmaAm I getting this correct: PAM is supposed to notify elogind that there was a new login and then elogind is supposed to create the session in response?20:56
dokmarwp: you around?21:05
amesserdid you install libpam-elogind?21:06
dokmadpkg -l | grep libpam-elogin21:07
dokmaii  libpam-elogind:amd64                     246.10-2                               amd64        elogind PAM module21:07
dokmait is also configured in pam:21:07
amesserhmm, then it should work out of the box.21:07
dokmagrep -r elogind21:07
dokmaelogind-user:# This file is part of elogind.21:07
dokmaelogind-user:session optional pam_elogind.so21:07
amesserhow you log into the system?21:08
dokmaFrom a virtual console21:08
dokmaI don't use a login manager21:08
dokmaThen I use exec startx to go into GUI21:08
amesseruhh21:08
dokmaI know that something about that is the problem because TeamViewer works when I use a login manager but when I login from the Virtual Console them TeamViewer doesn't work21:09
amessercould you check if /etc/pam.d/common-session contains elogind ?21:10
dokmait does not21:11
amesserthen run as root "pam-auth-update"21:11
DelTomixstrange - is "teamviewer" a browser app? a binary? - are there perhaps versions with different dependencies?21:11
dokmaSee that grep -r elogind above? It shows the only mention of elogind in /etc/pam.d21:11
dokmaDelTomix: teamviewer is a gui app for remote windows display.21:12
amesser"/etc/pamd.d/elogind-user" is not used by default21:12
dokma??21:12
amesserso please run "pam-auth-update" and check the box for elogind21:12
dokmawhat do you mean?21:12
amesserpam-auth-update should then persist the settings across updates, upgrades etc.21:13
dokmaWhen I run pam-auth-update PAM asks:   1. Unix authentication  2. Create home directory on login  3. elogind Session Management  4. none of the above21:13
amesserwhen i run pam-auth-update, i get a dialog.21:13
amessera can then check the settings21:13
dokmaIt is a terminal dialog21:14
dokmaWhich of these profiles should I enable?21:14
amesserat least 1) and 3)21:14
dokmaDid it. This requires a reboot?21:15
amessercommon-session should now contain a line with elogind21:15
dokmaLet's see21:15
amessershould be sufficent to log out and log in again, could be another terminal.21:15
dokma grep -r elogin *21:15
dokmacommon-session:sessionoptionalpam_elogind.so21:15
dokmaelogind-user:# This file is part of elogind.21:15
dokmaelogind-user:session optional pam_elogind.so21:15
dokmaSo it does.21:16
amesserlooks ok.21:16
dokmaDoes this need a reboot?21:16
amesserafter log out/in " loginctl list-sessions should show something.21:16
amesserno, just log out and log in again.21:16
dokmaThanks. Will be back.21:16
dokmaOk, now I've got:21:20
dokmaloginctl list-sessions21:20
dokmaSESSION  UID USER   SEAT  TTY21:20
dokma   1173 1000 vlatko seat0 tty121:20
dokma21:20
dokma1 sessions listed.21:20
dokma21:20
dokmaSo sessions seem to work properly now.21:20
amesserfine21:20
dokmaTeamViewer however is still not operational21:20
amesserhmm ok. actually the session thing is need for several permission related things. What dies TeamViewer tell now?21:21
dokmaIt says: SysSessionInfoManager: observing sessions from logind is marked as reliable21:21
dokmabut then: SysSessionInfoManager::GetOwnProcessSession: No session found!, Errorcode=1121:21
amesserHmm. I believe there is a difference between running startx from terminal compared to using a display manager21:23
dokmaI think so too21:23
amesseris dbus working?21:23
amesserI have some vars here:21:24
dokmaIt's running and I'm seeing functionality that depends on it. For example erc is displaying popup notifications which, I believe, go via dbus21:24
amesserdeclare -x XDG_SEAT_PATH="/org/freedesktop/DisplayManager/Seat0"21:24
amesserdeclare -x XDG_SESSION_CLASS="user"21:24
amesserdeclare -x XDG_SESSION_DESKTOP="budgie-desktop"21:24
amesserdeclare -x XDG_SESSION_PATH="/org/freedesktop/DisplayManager/Session0"21:24
amesserdeclare -x XDG_SESSION_TYPE="x11"21:25
amessercould you run "export" in a terminal of your x-server?21:25
amesserand compare21:25
dokmaI've declared all the vars you listed. No change...21:26
dokmaWhich paste does this chan favour?21:27
dokmaI'll just pastebin21:27
DelTomixhttps://paste.debian.net/21:27
dokmaThank you for your massive time investment in this21:27
amesserhmm21:28
dokmahttp://paste.debian.net/1293932/21:28
amesserno worries, glad to help21:31
amessercould you run "loginctl show-session $(loginctl | grep $(whoami) | awk '{print $1}')"21:31
amesserand paste.d.n the output?21:31
dokmahttp://paste.debian.net/1293933/21:33
amesserI have "Type=x11" here21:34
dokmaHmmm... interesting21:34
dokmaThis is TeamViewer log: http://paste.debian.net/1293934/21:34
amesserHmm, some people had success with running teamviewer like "XDG_SESSION_TYPE=x11 teamviewer"21:38
dokmaJust ran into that21:38
dokmaLet me try21:38
amesserits probably the way how your window manager is started21:40
amesserdo you use ".xinitrc" or ".xsession" ?21:40
amesserhttps://wiki.gentoo.org/wiki/Elogind#startx_D-Bus_integration21:42
dokmaI use .xinitrc21:42
amessercould you try to modify it as in the gentoo link described.21:43
dokmaStill stuck at Type=tty21:56
dokmaBut I think that we are digging in the right direction21:56
dokmaNew discovery is that this variable gets set to tty as soon as I login on the Virtual Console21:57
dokmaIt obviously needs to be set correctly during startx execution21:57
amesserNot sure. could be that teamviewer wont work with startx. Seems to be a known issue, not fixed since years: https://community.teamviewer.com/English/discussion/comment/32597#Comment_3259722:00
amesserThe point is, from view of session management system, if you login on normal terminal (tty) its a terminal session.22:00
amesserusing startx does not make your terminal session an x11 session since its still run from a terminal.22:01
dokmaHmmm... that unfortunately makes sense to a degree. On the other hand, using startx should logically change the session type.22:04
amesserI think its related to the "owner" of the session. IT does not change by calling startx22:07
amesserhowever, speculation :-)22:07
amesseryou might consider an alternative to teamviewer22:07
amesserI was using it for a long time but had to switch also. Was annoyed by the advertising and periodically changing gui. ( Actually my grandma was annoyed :-)22:09
amessersorry, i have to leave now. hope you get it fixed. good luck!22:14

Generated by irclog2html.py 2.17.0 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!