You are not logged in.

#1 2008-04-06 01:01:29

masteroc
Member
Registered: 2008-04-05
Posts: 14

A Few Questions After Switching Over

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 smile. 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 smile ), 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

#2 2008-04-06 01:08:10

Ramses de Norre
Member
From: Leuven - Belgium
Registered: 2007-03-27
Posts: 1,289

Re: A Few Questions After Switching Over

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

#3 2008-04-06 01:12:22

bender02
Member
From: UK
Registered: 2007-02-04
Posts: 1,328

Re: A Few Questions After Switching Over

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' smile ('man date' for syntax)

Edit: damn, not again! ^^

Last edited by bender02 (2008-04-06 01:12:49)

Offline

#4 2008-04-06 01:45:29

peart
Member
From: Kanuckistan
Registered: 2003-07-28
Posts: 510

Re: A Few Questions After Switching Over

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

#5 2008-04-06 01:53:15

masteroc
Member
Registered: 2008-04-05
Posts: 14

Re: A Few Questions After Switching Over

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

#6 2008-04-06 01:55:24

masteroc
Member
Registered: 2008-04-05
Posts: 14

Re: A Few Questions After Switching Over

hal and dbus are in the daemons part of my rc.conf so they should be running.

Offline

#7 2008-04-06 01:59:04

skottish
Forum Fellow
From: Here
Registered: 2006-06-16
Posts: 7,942

Re: A Few Questions After Switching Over

masteroc wrote:

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

#8 2008-04-06 02:02:49

masteroc
Member
Registered: 2008-04-05
Posts: 14

Re: A Few Questions After Switching Over

kk will do, got my login manager working by using slim and putting it in my daemons line.

Offline

#9 2008-04-06 02:04:00

kezar
Member
Registered: 2007-08-14
Posts: 61

Re: A Few Questions After Switching Over

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

#10 2008-04-06 02:08:39

masteroc
Member
Registered: 2008-04-05
Posts: 14

Re: A Few Questions After Switching Over

kezar wrote:

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

#11 2008-04-06 04:55:37

elliott
Member
Registered: 2006-03-07
Posts: 296

Re: A Few Questions After Switching Over

masteroc wrote:

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

#12 2008-04-06 05:19:36

masteroc
Member
Registered: 2008-04-05
Posts: 14

Re: A Few Questions After Switching Over

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

Board footer

Powered by FluxBB