You are not logged in.
Hello,
I installed arch using the wiki, but afterwards (for xorg etc) I partially followed a guide that had some outdated information.
It told me to add a user and assign it to a bunch of groups, including audio, video, storage, which I did.
My arch is working, except for one major issue: I can't just select my external hdd in the file browser. Not authorized.
So I googled how to authorize my normal user account to mount devices. I noticed that my "storage" group was set, but it still didn't work. I then found out that arch now uses logind, and that I shouldn't add my user to any groups. I then removed these using gpasswd, and rebooted.
This didn't change anything, except for one thing: My cinnamon would run in software mode, as it would warn me. I then re-enabled the video group.
So as it seems, I'm still depending on those groups, since my logind session doesn't work. To quote the wiki:
> First, make sure you have a valid local session within X:
> $ loginctl show-session $XDG_SESSION_ID
> This should contain Remote=no and Active=yes in the output. If it does not, make sure that X runs on the same tty where the login occurred.
( https://wiki.archlinux.org/index.php/Ge … ermissions )
My output, however, is
NAutoVTs=6
KillExcludeUsers=root
KillUserProcesses=no
IdleHint=yes
IdleSinceHint=0
IdleSinceHintMonotonic=0
DelayInhibited=sleep
InhibitDelayMaxUSec=5s
HandlePowerKey=poweroff
HandleSuspendKey=suspend
HandleHibernateKey=hibernate
HandleLidSwitch=suspend
IdleAction=ignore
IdleActionUSec=30min
PreparingForShutdown=no
PreparingForSleep=no
i.e. not valid. As the wiki says, I should make sure that X runs on the login tty for logind to work. And this is basically my problem; I don't know how to make sure of that. I think this is related to another problem I had yesterday, where X would fail to launch because of this very same problem. Configuring Xwrapper.config fixed that (I just had a typo in the filename...). Apparently, that's not what I want after all...?
I don't have a DM installed and run X via startx. I didn't find anything that I can pass to xinit or startx so that it would run on the same tty. In fact, according to some people on the Internet, it is perfectly normal that X would run on the next best free tty. I also read about complaints that X runs on the login TTY, making it impossible to force-quit it via ctrl+C. This is all very confusing to me and I don't know what to make of it.
A similar if not identical problem to mine can be found here https://bbs.archlinux.org/viewtopic.php?id=168290 but the solution doesn't seem to apply here, since I don't use fprint.
Thanks for your help!
Last edited by looki (2014-08-24 19:20:17)
Offline
I can understand your confusion and share it to some extent. Regarding groups, regardless of systemd they are still a valid, fundamental *nix concept and I still use them. I didn't experience problems because of this, OTOH I don't use a DE... Even systemd did introduce a bunch own groups recently, so...
I think this is related to another problem I had yesterday, where X would fail to launch because of this very same problem. Configuring Xwrapper.config fixed that (I just had a typo in the filename...). Apparently, that's not what I want after all...?
It seems you needed it for gdm-git. If you don't use this anymore and stick with startx you could remove the Xwrapper.config. Or am I missing something ? So, you decide what you want.
I don't have a DM installed and run X via startx. I didn't find anything that I can pass to xinit or startx so that it would run on the same tty.
Running 'startx' without arguments should launch X on the same VT.
In fact, according to some people on the Internet, it is perfectly normal that X would run on the next best free tty. I also read about complaints that X runs on the login TTY, making it impossible t[ ... ]
That doesn't mean it applies here. It may be true for other distributions / systems not using systemd or distributions not as up to date as Arch.
As for your mount problem. I'd try to figure out what is actually mounting the external harddisk. You probably have some filemanager, but there's likely a program "behind" that does the actual work. Knowing which program this is you could then try to investigate further.
What is the ext. hd's filesystem ? If it's ntfs this could be the problem as well.
Last edited by rebootl (2014-08-24 03:47:47)
Personal website: reboot.li
GitHub: github.com/rebootl
Offline
Thanks for your response! I'm not using cdm-git anymore, yes. However, manually typing startx actually requires Xwrapper.config - that was the solution to the problem in my other thread. I still don't exactly know why this is the case, it was not so when I first installed Arch. Now that I think about it, the problem probably stems from there. As you said, startx should launch on the same terminal. It just doesn't for me.
Regarding the mounting, yes, it's NTFS, but I think it's simply a permission problem related to the logind issues; automounting works fine in my root account (I should have mentioned that, sorry).
Last edited by looki (2014-08-24 11:49:11)
Offline
I think it may be a common ntfs issue.
Have you seen/followed this: https://wiki.archlinux.org/index.php/NTFS-3G
Can you get it to work "manually" as described there?
E.g. I use:
UUID=4E7CCE66083EAA8C /home/cem/MOUNT_EXTHD ntfs-3g noauto,user,uid=1000,gid=100 0 0in my /etc/fstab, see the fstab wiki for an explanation of the options.
As for gdm-git, I cannot tell what it did install but it may be worth checking. You could use the directory where you run 'makepkg' and check the pkg directory in there to see what it actually installed, especially I'd look for config files there.
Personal website: reboot.li
GitHub: github.com/rebootl
Offline
To be honest, I'm trying to get logind to work first. I don't really need the USB automounting to work right now. I will give it a shot later, right now I'm trying my best to get logind to work since it seems like a crucial part of the system (and it might actually fix USB mounts automatically).
Looking for what cdm-git installs is a great idea! However I can't find anything suspicious there:
./cdm-git
./cdm-git/etc
./cdm-git/etc/cdmrc
./cdm-git/etc/profile.d
./cdm-git/etc/profile.d/zzz-cdm.sh
./cdm-git/usr
./cdm-git/usr/share
./cdm-git/usr/share/doc
./cdm-git/usr/share/doc/cdm
./cdm-git/usr/share/doc/cdm/README
./cdm-git/usr/share/cdm
./cdm-git/usr/share/cdm/themes
./cdm-git/usr/share/cdm/themes/cdm
./cdm-git/usr/share/cdm/themes/default
./cdm-git/usr/share/cdm/themes/ed
./cdm-git/usr/share/cdm/themes/haze
./cdm-git/usr/share/cdm/themes/blackandwhite
./cdm-git/usr/share/cdm/themes/elinks
./cdm-git/usr/share/cdm/themes/lime
./cdm-git/usr/bin
./cdm-git/usr/bin/cdm
./cdm-git/usr/bin/cdm-xlaunch
./cdm-git/.MTREE
./cdm-git/.PKGINFO
They all have been properly uninstalled, too, I think.
Just to be clear, my biggest question right now is why rootless login doesn't work and why I had to create the XWrapper config in the first place. The worst thing is that I'm not 100% sure it was cdm-git's fault; it could be a timely coincidence.
BTW, even though this makes the matter more confusing, maybe it helps somehow:
After adding myself to the tty group and removing the Xwrapper.config, I can actually launch X on the same terminal using "xinit -- vt1". However, "startx" did NOT work anymore, since it would try to start on a different terminal, and didn't have the permission... for some reason, using the xinit method I didn't have any keyboard and mouse support, so I couldn't actually use my desktop. I've reverted all these changes because I doubt I should have to add myself to that group in the first place.
Last edited by looki (2014-08-24 13:07:10)
Offline
What is your graphical setup ? 'lspci |grep VGA'
What Xorg drivers do you use ?
The worst thing is that I'm not 100% sure it was cdm-git's fault; it could be a timely coincidence.
Ok, but then you must have changed something else at that time, since it was working before ?
Last edited by rebootl (2014-08-24 13:18:50)
Personal website: reboot.li
GitHub: github.com/rebootl
Offline
Intel on-board GPU:
00:02.0 VGA compatible controller: Intel Corporation Core Processor Integrated Graphics Controller (rev 02)
The drivers are
xf86-video-intel 2.99.914-4
And extensions
xf86dgaproto 2.1-3
xf86vidmodeproto 2.3.1-3
The worst thing is that I'm not 100% sure it was cdm-git's fault; it could be a timely coincidence.
Ok, but then you must have changed something else at that time, since it was working before ?
Yep! But I wasn't paying attention at that time, it was 2 or 3 days ago. I simply wanted to try cdm and restarted. Basically, I can't think of anything that I could have done, but since CDM doesn't seem to configure anything so that the system might break, I guess I have done something somehow.
Last edited by looki (2014-08-24 13:21:04)
Offline
The only, somewhat unlikely, ideas I currently have are:
- KMS is disabled by some kernel parameter like nomodeset, vga etc.
- Try to reinstall xorg-server and xorg-xinit.
- Make sure you don't have a .xserverrc in your home directory.
Edit: Remove/rename the Xwrapper.config for testing and btw. please use [ code ] tags for your outputs.
Last edited by rebootl (2014-08-24 14:06:00)
Personal website: reboot.li
GitHub: github.com/rebootl
Offline
rebootl, thanks for your effort until now. I have followed all your directions and unfortunately none of them could change anything. I have now decided to reinstall arch completely, with greater care and my newly gained linux knowledge. After a mere hour I'm running Cinnamon with fully working systemd and automounting, no configuration required
I want to apologize for stealing your time, but I think this was the best decision. I'm really happy with the system and we'll probably never know what exactly I did wrong with my first install, but I hope that I'll never repeat that mistake.
By the way, from now on, I'll use code tags if I have any questions!
Last edited by looki (2014-08-24 19:18:59)
Offline
No need to apologize, good you got it working.
Regards
Personal website: reboot.li
GitHub: github.com/rebootl
Offline
No need to apologize, good you got it working.
Regards
How? It is a faux pau to not share what you have learned
Edit Damn. See below
Last edited by ewaller (2014-08-24 20:02:42)
Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
The shortest way to ruin a country is to give power to demagogues.— Dionysius of Halicarnassus
---
How to Ask Questions the Smart Way
Offline
He said:
I have now decided to reinstall arch completely, with greater care and my newly gained linux knowledge. After a mere hour I'm running Cinnamon with fully working systemd and automounting, no configuration required smile
Am I missing something ?
Edit: Unfortunately we were not able to figure out what broke in the first place...
Edit: @below, sorry accepted ![]()
Last edited by rebootl (2014-08-24 20:18:43)
Personal website: reboot.li
GitHub: github.com/rebootl
Offline
He said:
I have now decided to reinstall arch completely, with greater care and my newly gained linux knowledge. After a mere hour I'm running Cinnamon with fully working systemd and automounting, no configuration required smile
Am I missing something ?
Edit: Unfortunately we were not able to figure out what broke in the first place...
*Headdesk* No, it is me. I thought you were they. Sorry.
Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
The shortest way to ruin a country is to give power to demagogues.— Dionysius of Halicarnassus
---
How to Ask Questions the Smart Way
Offline