You are not logged in.

#1 2006-11-10 13:37:12

scarney
Member
From: Wisconsin, US
Registered: 2006-07-11
Posts: 173

help install/setup xfce4

hey all. i just finished installing arch on an extra hd, so i can play with xfce4, but am not sure of the steps.. i tried several times in the past to get it setup, but the wiki for xfce is rather hard for me to make sense of. i am hoping someone would be willing to walk me through the steps. i want all the goodies it comes with. and i want to be able to boot/login without having to "startxfce4"

Thanks!

Offline

#2 2006-11-10 14:19:40

Kenetixx
Member
From: /unvrs/mlkywy/earth/aust/home
Registered: 2006-09-09
Posts: 258
Website

Re: help install/setup xfce4

How far have you got?
Try: pacman -S xfce4 xfce4-goodies
and maybe gdm or slim to use to login with, dont forget to log out after installing xfce4 aswell.


http://binaryritual.net

There is no spoon.......

Offline

#3 2006-11-10 14:21:28

dolby
Member
From: 1992
Registered: 2006-08-08
Posts: 1,581

Re: help install/setup xfce4

instead of installing xfce4 i suggest uncommenting [unstable] in /etc/pacman.conf and installing xfce4-svn & xfce4-svn-extra. (u can choose the packages u want if u know what theyre used for)


There shouldn't be any reason to learn more editor types than emacs or vi -- mg (1)
[You learn that sarcasm does not often work well in international forums.  That is why we avoid it. -- ewaller (arch linux forum moderator)

Offline

#4 2006-11-10 14:25:08

Romashka
Forum Fellow
Registered: 2005-12-07
Posts: 1,054

Re: help install/setup xfce4

pacman -Syu
pacman -S xfce4 xfce4-goodies

then run

startxfce4

as non-root user.

If you want to start Xfce at boot automatically (without xdm or other login manager) use this line

x:5:once:/bin/su PREFERED_USER -l -c "/bin/bash --login -c startxfce4 >/dev/null 2>/dev/null"

in /etc/inittab

Install sudo and add

%users hostname=NOPASSWD:/opt/xfce4/libexec/xfsm-shutdown-helper

to  /etc/sudoers, where hostname is hostname of your machine.

To start Xfce with X (startx or with login manager) add

exec xfce4-session

or

exec startxfce4

to ~/.xinitrc

See http://wiki.archlinux.org/index.php/Xfce4
and http://wiki.archlinux.org/index.php/Start_X_at_boot
for more info.


to live is to die

Offline

#5 2006-11-10 14:53:45

dolby
Member
From: 1992
Registered: 2006-08-08
Posts: 1,581

Re: help install/setup xfce4

Romashka wrote:

Install sudo and add

%users hostname=NOPASSWD:/opt/xfce4/libexec/xfsm-shutdown-helper

to  /etc/sudoers, where hostname is hostname of your machine.

this isnt needed anymore. it can be left out if u add your user(s) to the power group


There shouldn't be any reason to learn more editor types than emacs or vi -- mg (1)
[You learn that sarcasm does not often work well in international forums.  That is why we avoid it. -- ewaller (arch linux forum moderator)

Offline

#6 2006-11-10 15:15:47

Romashka
Forum Fellow
Registered: 2005-12-07
Posts: 1,054

Re: help install/setup xfce4

dolby wrote:
Romashka wrote:

Install sudo and add

%users hostname=NOPASSWD:/opt/xfce4/libexec/xfsm-shutdown-helper

to  /etc/sudoers, where hostname is hostname of your machine.

this isnt needed anymore. it can be left out if u add your user(s) to the power group

anymore = for Xfce4-svn? I've tried this with Xfce4-4.2.3 but no success. :?


to live is to die

Offline

#7 2006-11-10 16:04:20

dolby
Member
From: 1992
Registered: 2006-08-08
Posts: 1,581

Re: help install/setup xfce4

Romashka wrote:
dolby wrote:
Romashka wrote:

Install sudo and add

%users hostname=NOPASSWD:/opt/xfce4/libexec/xfsm-shutdown-helper

to  /etc/sudoers, where hostname is hostname of your machine.

this isnt needed anymore. it can be left out if u add your user(s) to the power group

anymore = for Xfce4-svn? I've tried this with Xfce4-4.2.3 but no success. :?

afaik since when the power group was created in arch. not 100% sure about when anymore is tho. there was a point about a month ago when i found out about it myself. adding users to the power group gives em the ability to shut down etc even without being root. installing the sudo pkg is most likely required by other packages. have no idea if that applies to  Xfce4-4.2.3  since i havent ever installed it


There shouldn't be any reason to learn more editor types than emacs or vi -- mg (1)
[You learn that sarcasm does not often work well in international forums.  That is why we avoid it. -- ewaller (arch linux forum moderator)

Offline

#8 2006-11-10 16:30:38

Romashka
Forum Fellow
Registered: 2005-12-07
Posts: 1,054

Re: help install/setup xfce4

dolby wrote:

afaik since when the power group was created in arch. not 100% sure about when anymore is tho. there was a point about a month ago when i found out about it myself. adding users to the power group gives em the ability to shut down etc even without being root. installing the sudo pkg is most likely required by other packages. have no idea if that applies to  Xfce4-4.2.3  since i havent ever installed it

Are you talking about shutting down from Xfce, or shutting down from Gnome/KDE/*box/E ?
If from Xfce, then do you have dbus installed?


to live is to die

Offline

#9 2006-11-10 19:31:52

scarney
Member
From: Wisconsin, US
Registered: 2006-07-11
Posts: 173

Re: help install/setup xfce4

ok, i see no such thing as a user management area. can someone point it out to me?

Offline

#10 2006-11-10 19:47:54

scarney
Member
From: Wisconsin, US
Registered: 2006-07-11
Posts: 173

Re: help install/setup xfce4

scarney wrote:

ok, i see no such thing as a user management area. can someone point it out to me?

nm, i just remembered the gpasswd -a command.

added my user to power, rebooted to make sure it stuck. did no good as far as allowing me to shutdown the computer.

Offline

#11 2006-11-10 19:58:38

dolby
Member
From: 1992
Registered: 2006-08-08
Posts: 1,581

Re: help install/setup xfce4

Romashka wrote:
dolby wrote:

afaik since when the power group was created in arch. not 100% sure about when anymore is tho. there was a point about a month ago when i found out about it myself. adding users to the power group gives em the ability to shut down etc even without being root. installing the sudo pkg is most likely required by other packages. have no idea if that applies to  Xfce4-4.2.3  since i havent ever installed it

Are you talking about shutting down from Xfce, or shutting down from Gnome/KDE/*box/E ?
If from Xfce, then do you have dbus installed?

yes im talking about shutting down from xfce. i have dbus installed

scarney wrote:
ok, i see no such thing as a user management area. can someone point it out to me?


nm, i just remembered the gpasswd -a command.

added my user to power, rebooted to make sure it stuck. did no good as far as allowing me to shutdown the computer.

u still need sudo to get it working. u just dont have to edit the sudoers file


There shouldn't be any reason to learn more editor types than emacs or vi -- mg (1)
[You learn that sarcasm does not often work well in international forums.  That is why we avoid it. -- ewaller (arch linux forum moderator)

Offline

#12 2006-11-10 20:34:41

Romashka
Forum Fellow
Registered: 2005-12-07
Posts: 1,054

Re: help install/setup xfce4

dolby wrote:
Romashka wrote:

Are you talking about shutting down from Xfce, or shutting down from Gnome/KDE/*box/E ?
If from Xfce, then do you have dbus installed?

yes im talking about shutting down from xfce. i have dbus installed

u still need sudo to get it working. u just dont have to edit the sudoers file

OK, I'll try this later.


to live is to die

Offline

#13 2006-11-10 22:19:26

baze
Member
Registered: 2005-10-30
Posts: 393

Re: help install/setup xfce4

dolby wrote:
Romashka wrote:
dolby wrote:

afaik since when the power group was created in arch. not 100% sure about when anymore is tho. there was a point about a month ago when i found out about it myself. adding users to the power group gives em the ability to shut down etc even without being root. installing the sudo pkg is most likely required by other packages. have no idea if that applies to  Xfce4-4.2.3  since i havent ever installed it

Are you talking about shutting down from Xfce, or shutting down from Gnome/KDE/*box/E ?
If from Xfce, then do you have dbus installed?

yes im talking about shutting down from xfce. i have dbus installed

scarney wrote:
ok, i see no such thing as a user management area. can someone point it out to me?


nm, i just remembered the gpasswd -a command.

added my user to power, rebooted to make sure it stuck. did no good as far as allowing me to shutdown the computer.

u still need sudo to get it working. u just dont have to edit the sudoers file

that's not true, you don't need sudo anymore.
just add the user to the power group and have the hal daemon running, that should be enough. it works fine here and i don't have sudo installed. after all,  adding the user to the group "power" allows the user to use hal-shutdown and hal-restart. the shutdown helpers from xfce have been merged into a single on about 1 or 2 months ago. the new helper tries to use hal first and if you don't have the permissions, it falls back to try sudo.

Offline

#14 2006-11-10 22:23:28

Romashka
Forum Fellow
Registered: 2005-12-07
Posts: 1,054

Re: help install/setup xfce4

baze wrote:

the shutdown helpers from xfce have been merged into a single on about 1 or 2 months ago. the new helper tries to use hal first and if you don't have the permissions, it falls back to try sudo.

I know this, but this is for Xfce 4.4, not 4.2


to live is to die

Offline

#15 2006-11-16 01:57:19

Romashka
Forum Fellow
Registered: 2005-12-07
Posts: 1,054

Re: help install/setup xfce4

dolby wrote:
Romashka wrote:
dolby wrote:

afaik since when the power group was created in arch. not 100% sure about when anymore is tho. there was a point about a month ago when i found out about it myself. adding users to the power group gives em the ability to shut down etc even without being root. installing the sudo pkg is most likely required by other packages. have no idea if that applies to  Xfce4-4.2.3  since i havent ever installed it

Are you talking about shutting down from Xfce, or shutting down from Gnome/KDE/*box/E ?
If from Xfce, then do you have dbus installed?

yes im talking about shutting down from xfce. i have dbus installed

scarney wrote:
ok, i see no such thing as a user management area. can someone point it out to me?


nm, i just remembered the gpasswd -a command.

added my user to power, rebooted to make sure it stuck. did no good as far as allowing me to shutdown the computer.

u still need sudo to get it working. u just dont have to edit the sudoers file

I have sudo installed, dbus running and added user to power group. But I still cannot shutdown PC from Xfce 4.2.3.


to live is to die

Offline

#16 2006-11-18 09:17:59

scarney
Member
From: Wisconsin, US
Registered: 2006-07-11
Posts: 173

Re: help install/setup xfce4

romashka, prob a dumb question, but!.  is hal in your daemons list?. if not, add it. also, i think dbus can be removed form daemons list.

Offline

#17 2006-11-18 09:25:18

scarney
Member
From: Wisconsin, US
Registered: 2006-07-11
Posts: 173

Re: help install/setup xfce4

welp, i still havent figured out how to get xfce4 to start on its own with a login box. should i add gdm or something to the daemons?. also where exactly is "~/.xintrc" ? like the actual path? i believe ~ represents /root? but im not positive. i ask because if i do a nano ~/.xinitrc i get an empty /root/.xinitrc file. is this normal? sorry for the dumb questions, sometime my brain farts, and i forget things n such..im getting old! lol

Offline

#18 2006-11-18 09:31:18

Kenetixx
Member
From: /unvrs/mlkywy/earth/aust/home
Registered: 2006-09-09
Posts: 258
Website

Re: help install/setup xfce4

Yes you need to add gdm to daemons for it to work
the .xinitrc is located in your home folder
/home/yourusername/.xinitrc


http://binaryritual.net

There is no spoon.......

Offline

#19 2006-11-18 10:03:29

scarney
Member
From: Wisconsin, US
Registered: 2006-07-11
Posts: 173

Re: help install/setup xfce4

thank you satanix.

i added gdm to daemons and "exec startxfce4" to .xinitrc. still nothing. i get an error while rebooting that gdm has no such dorectory, or something like that. maybe i need to pacman -S some gnome app/lib or something? i havent installed sudo as of yet, cuz im not sure if its needed. im using xfce4-svn btw.

Offline

#20 2006-11-18 11:07:34

Kenetixx
Member
From: /unvrs/mlkywy/earth/aust/home
Registered: 2006-09-09
Posts: 258
Website

Re: help install/setup xfce4

try

exec xfce4-session

in .xinitrc

just try and pacman -S gdm again it should pick up  dependencies


http://binaryritual.net

There is no spoon.......

Offline

#21 2006-11-18 11:33:16

Romashka
Forum Fellow
Registered: 2005-12-07
Posts: 1,054

Re: help install/setup xfce4

scarney wrote:

welp, i still havent figured out how to get xfce4 to start on its own with a login box. should i add gdm or something to the daemons?.

I use slim and added exec startxfce4 to .xinitrc


to live is to die

Offline

#22 2006-11-18 11:40:37

Romashka
Forum Fellow
Registered: 2005-12-07
Posts: 1,054

Re: help install/setup xfce4

scarney wrote:

romashka, prob a dumb question, but!.  is hal in your daemons list?. if not, add it. also, i think dbus can be removed form daemons list.

Emm... I don't remember.  :oops: I'll check that when I'll back home.


to live is to die

Offline

Board footer

Powered by FluxBB