You are not logged in.
Hi All,
I have two accounts, root and a personal account. I use xfce4 with Arch.
In root account everything works fine - shutdown,reboot,suspend, all xfce4-power-manager options
but in the personal account none of the above works and everything is grayed out, I did some search and found a few solutions like
adding user to the power group using the command gpasswd -a <accountname> power, then to add dbus to /etc/rc.conf
I tried all, but none worked for me. Can some one help me out with this please ?
Thanks,
Nachi
Last edited by nachiappan (2012-03-14 16:53:48)
Offline
Are you using ConsoleKit to launch your xfce session?
Burninate!
Offline
@Gcool
No i am not using ConsoleKit, I manually launch xfce4 after login everytime
Offline
Try using the command below when launching your Xfce session and see if that solves the issue (add it to your .xinitrc if it does).
exec ck-launch-session startxfce4
Burninate!
Offline
@Gcool
I tried installing Consolkit and launched XFCE session using the command
exec ck-launch-session startxfce4, this didnt make any difference.
Offline
A quick search/look through the forums gave me the following result. Perhaps this can help in your situation as well.
Burninate!
Offline
@Gcool,
I created two files as pointed out in the link, org.freedesktop.upower.pkla and org.freedesktop.consolekit.pkla
This doesnt seem to make any difference.
do i need consolekit installed and do i have to add ck-launch and dbus-launch in my xinirc ?
Last edited by nachiappan (2012-02-06 19:31:34)
Offline
I even tried adding ck-launch-session dbus-launch in my xinitrc.. this also didnt solve my problem
any other suggestions ?
Offline
any other suggestions ?
You're just jealous because the voices only talk to me.
Offline
My /etc/rc.conf has the entry DAEMONS=(syslog-ng dbus networkmanager crond alsa gdm)
I have added my user to power group by the following command gpasswd -a <accountname> power
My /etc/skel/.xinitrc has the entry exec ck-launch-session startxfce4 -- Do I have to create one .xinitrc in my home also folder also ?
In my home directory I have .bashrc which has below to start xfce4 automatically
if [ "$(tty)" = "/dev/tty1" ] ; then
startxfce4
fi
I guess, I have tried everything mentioned in the website.. Please let me know if any of my entries are wrong.
Thanks,
Nachi
Offline
My /etc/skel/.xinitrc has the entry exec ck-launch-session startxfce4 -- Do I have to create one .xinitrc in my home also folder also ?
Yes, the files in /etc/skel are just template files that are intended to be copied into your home directory
https://wiki.archlinux.org/index.php/Xi … ng_started
Offline
I tried making a copy of the .xinitrc in my home directory.. still doesnt make any difference..
will installing SLiM help ? or any other suggestions ?
Thanks,
Nachi
Offline
In my home directory I have .bashrc which has below to start xfce4 automatically
if [ "$(tty)" = "/dev/tty1" ] ; then
startxfce4
fi
Did you try changing your .bashrc to
if [ "$(tty)" = "/dev/tty1" ] ; then
startx
fihttps://wiki.archlinux.org/index.php/Start_X_at_Boot
Last edited by skunktrader (2012-02-08 08:38:27)
Offline
Great Thanks.. now things look fine, shutdown, reboot options are active and working.. Thanks Again..
What is the difference between startx and startxfce4 ? Just wanted to know the difference for the purpose of understanding.
Also what is the purpose of bashrc file and xinitrc file ?
Last edited by nachiappan (2012-02-08 18:38:35)
Offline