You are not logged in.
Pages: 1
So i recently made the switch from Ubuntu to Arch mainly for the speed difference and also because i wanted a bit more of a challenge from my OS . Anyway, i was able to install and configure most of it so far, except for the following problems that i have been searching around trying to answer. The first problem that i am having is getting a login manager to come up when i boot up. I have followed the advice in the Arch Wiki and have changed my /etc/inittab to "id:5:initdefault:" and i have also uncommented "x:5:respawn:/usr/bin/xdm -nodaemon" Even though i have done this and rebooted, it just brings me to a command line. Secondly, getting the reboot and shutdown buttons in Xfce4 working. I have edited my sudoers file and added "masteroc masteroc=/usr/local/lib/xfsm-shutdown-helper" to it, but i still can't get the buttons working. Lastly (At least for now ), the time in the xfce4 panel is off. I have set my timezone in my rc.conf but it is still a few hours off, is there a way to manualy set the time?
Thanks for your time!
Offline
1) Are you sure you've got xdm installed? Try to run the command you've put in inittab manually, maybe it gives some error.
2) No idea.
3) See ' man date ', I've set my timezone and I've got HARDWARECLOCK="localtime" in rc.conf and it's working fine, daylight savings and such are working perfectly.
Offline
1. make sure xdm is installed (package xorg-xdm); but it looks ugly - you might want to try slim
2. no idea, but it might be that you need to use some display manager to make it work
3. the command to change time is 'date' ('man date' for syntax)
Edit: damn, not again! ^^
Last edited by bender02 (2008-04-06 01:12:49)
Offline
For #2)
Make sure you are in the power group, and that hal and dbus are set up and running. That should do it. You can then remove xfsm-shutdown-helper from your sudoers file.
If you prefer the sudo method, then you must first run a command with sudo for the buttons to become usable. Just run any old command like "sudo ls -la". If it asks for your password and works, then you should be able to reboot/shutdown.
The dbus/hal way is better, IMHO.
Offline
Well, i searched the wiki even more and found an entry about shuting down using Xfce4, it said to add my normal user to the power group which i did with. gpasswd -a masteroc power. And it said that it was adding the user to the power group. But i still cannot shutdown. Also i used the date command to set the date, but now it is in 24hrs instead of 12hrs, is there an easy way to change this? Still can't figure how to get the login manager working.
Offline
hal and dbus are in the daemons part of my rc.conf so they should be running.
Offline
hal and dbus are in the daemons part of my rc.conf so they should be running.
You should drop dbus out of that line. Hal starts it automatically.
Offline
kk will do, got my login manager working by using slim and putting it in my daemons line.
Offline
You might want a gdm to start you X session. Install it and add it to the daemons section in the rc.conf, it will start X and gdm automatically at startup.
Offline
You might want a gdm to start you X session. Install it and add it to the daemons section in the rc.conf, it will start X and gdm automatically at startup.
got it working by doing exactly that! Thanks
Still need to find out how to shutdown and reboot through xfce4
Last edited by masteroc (2008-04-06 02:09:10)
Offline
Still need to find out how to shutdown and reboot through xfce4
Are you sure you have the Hal daemon running? That is how Xfce4 handles shutdown and reboot without being root. If you have Hal running and are in the power group, there is no reason it shouldn't work.
Last edited by elliott (2008-04-06 05:08:13)
Offline
Well, so far it seems to be working. I had to add a different line to my sudoers: "%users hostname=NOPASSWD:/usr/lib/xfce4/xfsm-shutdown-helper" made it work for me (at least so far...knock on wood).
Offline
Pages: 1