Hey
I have no idea what subject should be here. I have installed artix base for first time yesterday (yay :D ) runit one with xfce. I have used lxqt .iso for some time and there was very huge convenience that i liked very much which was automount devices in filemanager. Well i have got about 25 windows pc games and part of them require multiple CD's for installation... The problem is that when i use
mkdir /cdrom
mount /dev/cdrom
it only makes sense for 1 cd, but when installer asks me for 2cd then when i try to umount /cdrom it says target is busy. If i eject and insert cd2 it won't recognize the second disk therefore i am stuck (but for some reason i managed to install diablo 2 that has 3 cds i have no idea why, but call of duty 1 no luck).
So i went on #artix yesterday and asked for solution, a nice person suggested to install GVFS and it was ok at first but after reboot the devices appear on thunar list but... it won't even ask me for password. If i open thunar with root permissions the devices don't appear on the list.
Well i think it is supposed to ask me for password first before opening a device, but it doesn't. I read on internet that i should install polkit-gnome well i have got it installed... I am so used to systemd that does things for me automatically and now i am on runit i have no idea how to manage everything!!?? PLS help how can i install games windows way without mounting anything manually????? Thanks
I don't use a login manager (lightdm or so) and start thunar in ~/.xinitrc like so (first line):
dbus-launch thunar --daemon &
# start other programs etc..
exec fvwm
It was the same problem here. "dbus-launch" seemed to be the solution.
Otherwise maybe try installing lightdm.. ..and/or thunar-volman
Hey
Thanks :-)
I have got lightdm installed. The way i boot into system though is that i get prompted to tty, i type root and password then from terminal i type # lightdm and then i get log in box... I haven't ./xinitrc on the system. I have got thunar-volman installed but when i try to run it from terminal i get this error:
thunar-volman: Must specify the sysfs path of new devices with --device-added.
Hi.
If you want to use lightdm as login manager you can "enable" it. Install lightdm-runit (if you use runit) and then:
sudo ln -s /etc/runit/sv/lightdm /run/runit/service
I believe (not sure) when you then boot and lightdm starts, you can choose xfce and login, and lightdm will start thunar in the background. I think I have read something like that.
ln: failed to create symbolic link '/run/runit/service/lightdm': File exists
thanks for your help :-)
sudo sv status /run/runit/service/*
should list your services. when lightdm is running it should come up at boot.. (?)
aah I remember. you have to edit xdm config..
nano /etc/conf.d/xdm <- edit and set DISPLAYMANAGER="lightdm"
(or maybe stop the xdm service, if running. not sure)
it says that /conf.d doesn't exist
fuck i have installed artix base and i am completely idiot in terms of linux so i dont know stuff but i manatged to install artix base runit just fine and xfce... sorry :(
I would look here:
sudo sv status /run/runit/service/*
if lightdm or xdm are running. or maybe another display login manager.
maybe you need to enable xdm ( "sudo ln -s ...." as above) not sure
see here: https://wiki.artixlinux.org/Main/Installation#Display_Login_Manager (but for openrc there)
That's OpenRC-exclusive.
No,
xdm should not be enabled if
lightdm is already enabled. It's two service colliding.
Sorry but i have no clue what display manager has in common with mounting devices, i think i need somehow to manage how to get asked for authentication cuz i have got partitions showed in thunar but when i click well nothing happens
If i type dbus thunar i get this error
Well it's not like it's urge but you know in artix lxqt iso the automount is configured properly though... basically what i mean to achieve is when i insert some cd with game it will show up in thunar and i can click on it and then start installation and then if i get asked to insert 2cd i insert it and thunar detects this as well so i can continue installation :-(
Ok sorry for double post i think there might be problem with user rights... When i log in with root and start xfce i can access stuff like mtp smartphone fine or other partitions... But after base installation i created user f and well it seems like he's got limited permissions :-). Maybe i will find a solution online but if somebody can tell me how to enable right permissions for user i have created it will be appreciated, thanks ;)
Have a look in thunar in "Settings-->advanced" (I only see it in german here) for removable media settings..
It was showing me a hint there, why it wouldn't work.
Have you got sudo pacman -Sy gvfs installed
Yeah
world/gvfs 1.40.2-1 (gnome) [installed]
I tried thunar advanced preferences but no luck. I think it's probably user permissions issue ut i dont know how to solve it :D
What? Why would you want a password authorization to access a CD partition? The purpose of automount is to be able to access partition and removable media WITHOUT a password.
You are correct to install
polkit-gnome because your file manager (thunar) requires a polkit authentication agent. But you need make sure your DE (which is XFCE) autostarted
polkit-gnome on login
Head over your XFCE's settings >
Session and Startup >
Application Autostart > Add a command
/usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1 > re-login, then it should work
Report back if something wrong
See also:
https://wiki.archlinux.org/index.php/File_manager_functionality
https://wiki.archlinux.org/index.php/Polkit
https://wiki.archlinux.org/index.php/Udisks
Well it does the trick though it seems like not completely...
I will try to write short post not long one this time... What i am trying to perform is Call of Duty 1 installation. Even with gvfs i instert CoD1 CD and it's fine i can boot installation and install then thjere is 40% and it asks me for 2CD. When i press unmouint in thunar it says Volume is busy. Same thing was happening with mount /dev/cdrom /*folder* i am not able to unmount cd 1 because the installation is running, but i remember on artix lxqt i was able to install multiple cds just fine when i ejected cdrom and changed the cd it was automatically updating in the file manager well i had to click on CoD2 and then mounted file displayed stuff from cd2 so i was able to perform installation, but i can't now. Same thing happened when i tried to install it on manjaro openbox...
Right now i have ejected cd from the cd rom and there is CoD2 in Devices but when i click on it the directory is still /run/media/f/CoD1/ it should be CoD2... :D.
I know that this isn't related to linux or Artix because it's windows game, i had similar frustrating stuff with configuring nvidia optimus in the past when i had no idea how to setup bumblebee etc. now it's some windows games urgh!!!
You sure? It might include the contents of the 2nd disk in that folder (I assume it's not since you didn't continue the installation)
Right now you have a problem with dealing with these 2-part disks and not automounting devices anymore. Here are many ways to solve this. Choose whichever you prefer, but I can't promise anything.
Hey
Thank you for help. Well i think it's probably something wrong with the call of duty, because for some reason i have installed diablo 2 fine, when i insterted cd 2 and cd 3 it read it okay... Same when i insert sd card to the laptop it reads everything ok too...
So i have no idea what's going on, i did something like copied all stuff from cd 1 and 2 to one folder and installed cod1 but there was some buffer error during start... Then last time i have insterted CD 2 and it read it ok there was installator report couldn't find some file or something...
I have no idea what's the matter, but fuck it... Ill play it maybe different time, i have got lots of games to complete anyways...
However i have configured the automount thing and polkits... Cheers!!
Are you playing with wine or playonlinux or do you have native Linux games ?
Just curious.. .. sounds as if you want to use windows games and I don't understand how that works..
I have had problem with installing Call of Duty 1 on either Manjaro openbox edition and Artix... Well i deleted manjaro cuz i thought maybe installing artix base will resolve this but no luck.
What has been happening is that when installing some games i had to mount the cd-rom with command lines.
So basically
mkdir /cdrom
mount /dev/cdrom /cdrom
So cd1 was fine but then when CoD1 installer asked me for 2nd i couldn't unmount the first cd cuz it stated the device is busy.
Even when i opened the cd-rom and inserted 2nd disc, for the computer the first disk was still mounted and there was nothing on from the CD2, i suppose the wine installer reads just one cd-rom but 2nd cd couldn't be mounted on the same one that cd1 was on...
But it's just happens with call of duty, cuz when i install Diablo 2 that has 3 discs, it was reading all of them automatically, or was even able to unmount the partition then mount the 2nd cd on the same directory /cdrom...
I remember that i managed to install CoD1 on Artix .lxqt iso from 2018 maybe or 2019 but now im using artix runit i have installed from base .iso :D.
Yeah it's wine game, i have tried PlayonLinux but same thing has happened ;P
So i have also tried i copied all stuff from CoD CD1 and CD2 to one folder then run the installation, and i managed to install this game but there was some buffer error so couldn't say if this is just error or something hasn't been copied properly to the installation directory...
It's fine it's just one game, but it's probably something related to windows from this time i suppose...