You are not logged in.
Pages: 1
Hi all,
I'm a long time gentoo user, but yesterday I got over an old laptop and decided to run arch on it. I'm really surprised that this distro isn't more popular than it is. So far, it seems exactly as what I'm looking for. As a matter of fact, a few weeks ago I was thinking how I would like the perfect distro to be, and so far arch seems to be a copy of those thoughts :shock: !
However, I have an initial (and very annoying) problem. Under X, I cannot open a terminal as a user. I've tried both xterm and aterm. I'm sure it's a permission problem but I don't even know where the relevant things are logged, so I can't check it out. Has anyone had a similar experience? (I'm on udev, for the record).
Thanks.
Offline
OK; I managed to find out that it's a pty-problem, but I thought udev took care of that itself, without the need of an entry in fstab. Do I need an entry in fstab (if yes, how should it look like?)?
Offline
The fstab should be correct from the installation. So if you haven't changed it, the first line should be:
# <file system> <dir> <type> <options> <dump> <pass>
none /dev/pts devpts defaults 0 0
Offline
yep, that seemed to have been it. I must have removed that line during install, thinking that it was only necessary for devfs. Thanks a lot
Offline
I have another X related problem now (perhaps I shouldn't post these things under newbie corner :?); this is the output of glxinfo | grep render
libGL error: open DRM failed (Operation not permitted)
libGL error: reverting to (slow) indirect rendering
direct rendering: No
OpenGL renderer string: Mesa GLX Indirect
If I log in as root first, and then as normal user I will not have this problem... any ideas?
Edit: OK; this just got even stranger. I noticed that what fixes it is not logging in as root and than as user. It simply suffices to log out and then in again. So first time I log in, I get those errors; second time I log in, everything seems alright...
Offline
I have another X related problem now (perhaps I shouldn't post these things under newbie corner :?); this is the output of glxinfo | grep render
libGL error: open DRM failed (Operation not permitted) libGL error: reverting to (slow) indirect rendering direct rendering: No OpenGL renderer string: Mesa GLX Indirect
If I log in as root first, and then as normal user I will not have this problem... any ideas?
Edit: OK; this just got even stranger. I noticed that what fixes it is not logging in as root and than as user. It simply suffices to log out and then in again. So first time I log in, I get those errors; second time I log in, everything seems alright...
What video card do you have? Try uncommenting the last few lines of xorg.conf concerning DRI.
:?
Offline
Thanks for the reply.
It's a r128-card, which has IMHO pretty bad support under linux. However, I'd like to have dri working (and indeed it does if I log out and then back in), and the xorg.conf file is one that I used under gentoo before. I can't help thinking it's a permission thing...
Offline
I also use the r128 driver and xorg works for me. Do you have the following in your xorg config:
Section "DRI"
Mode 0666
EndSection
I guess you have.
What about loading the r128 driver in rc.conf?
Offline
DRI-section is OK, and module is loaded.
It's rather strange really. What could possibly change after log out and log in again?
Offline
It could buy extra time. Other than that, not sure...
How do you start X? Just with 'startx'?
Offline
through GDM...
Offline
Do you start GDM before or after you start hotplug?
Offline
Hmm.. I think I start it right after hotplug and I run it in background mode in order to have the login screen pop up while the last services are being initialized... but I'll take a look at the settings and will post back if I've set gdm to run before hotplug..
Offline
Nah, gdm definitely runs after hotplug and by the time the GDM screen is up and running, everything has been initialized... so that's no it. Thanks anyway.
Offline
I'm out of suggestions. I'd try to locate the problem by trying out startx instead of gdm, and see if it makes any difference, gives useful feedback, or whatever.
Do you start gdm from /etc/inittab or as a daemon in rc.conf, or both?
Offline
I'll try to start it X with startx. GDM starts as a service (declared in rc.conf).
Thanks alot for your suggestions so far. It's not a too big a deal though if I have to log out and then in again - that old laptop of mine seems to be allergic to all Operating Systems anyway (there's always some kinda small problem like this one, no matter the OS).
I just have to say once again that arch *really* is nice. I'd prophesize it will seriously grow over the next few years.
Offline
Pages: 1