You are not logged in.

#1 2009-09-07 13:39:11

mag1strate
Member
Registered: 2009-03-31
Posts: 64

[SOLVED]Can't start xfce4 or Openbox as a user!

Hey guys I just installed arch linux and downloaded and installed both openbox and xfce4. but when ever I type in startxfce4 I get this error message

Unable to create /home/mag1strate/.dbux/session-bux

Xfce4-session: Unable to-access file /home/mag1strate/.ICEauthority: Permission Denied

And when I try and use openbox I get a grey screen with my cursor. I exit out of it using the Ctrl Alt F2 and F1, and it gives me this error:

ERROR: xdg-autostart requires PyXDG to be installed

Openbox-Message: Unable to make directory "home/mag1strate/.local/share/openbox/sessions": permission denied

Thank you guys for your help

Last edited by mag1strate (2009-09-07 20:58:05)

Offline

#2 2009-09-07 13:44:54

.:B:.
Forum Fellow
Registered: 2006-11-26
Posts: 5,819
Website

Re: [SOLVED]Can't start xfce4 or Openbox as a user!

You're sure you have write access to your home directory, or any of its subdirs?


Got Leenucks? :: Arch: Power in simplicity :: Get Counted! Registered Linux User #392717 :: Blog thingy

Offline

#3 2009-09-07 13:55:01

sHyLoCk
Member
From: /dev/null
Registered: 2009-06-19
Posts: 1,197

Re: [SOLVED]Can't start xfce4 or Openbox as a user!

What does it say:

groups mag1strate

~ Regards,
sHy
ArchBang: Yet another Distro for Allan to break.
Blog | GIT | Forum (。◕‿◕。)

Offline

#4 2009-09-07 13:55:18

mag1strate
Member
Registered: 2009-03-31
Posts: 64

Re: [SOLVED]Can't start xfce4 or Openbox as a user!

How do I find out if I do? I usually know how in other graphical distros, but is their a special code to gain access?

Offline

#5 2009-09-07 14:04:30

sHyLoCk
Member
From: /dev/null
Registered: 2009-06-19
Posts: 1,197

Re: [SOLVED]Can't start xfce4 or Openbox as a user!

mag1strate wrote:

How do I find out if I do? I usually know how in other graphical distros, but is their a special code to gain access?

Type that at command prompt.


~ Regards,
sHy
ArchBang: Yet another Distro for Allan to break.
Blog | GIT | Forum (。◕‿◕。)

Offline

#6 2009-09-07 14:12:36

mag1strate
Member
Registered: 2009-03-31
Posts: 64

Re: [SOLVED]Can't start xfce4 or Openbox as a user!

it says:

lp wheel video audio optical storage power users mag1strate

Offline

#7 2009-09-07 14:15:26

.:B:.
Forum Fellow
Registered: 2006-11-26
Posts: 5,819
Website

Re: [SOLVED]Can't start xfce4 or Openbox as a user!

Nice. You have your own group? tongue

And 'graphical' distros... Am I missing something? There is no such thing. You do know the concept behind Arch Linux, don't you? I trust you read the guides before installing Arch?


Got Leenucks? :: Arch: Power in simplicity :: Get Counted! Registered Linux User #392717 :: Blog thingy

Offline

#8 2009-09-07 14:17:26

sHyLoCk
Member
From: /dev/null
Registered: 2009-06-19
Posts: 1,197

Re: [SOLVED]Can't start xfce4 or Openbox as a user!

Ok I have faced a similar problem in the pst, not sure if this is the same case, I had installed openbox and thunar as root and then could not login and when I changed the permission of xinitrc and managed to login as user, I couldn't access Thunar. So I'd suggest install sudo and then install everything as user [using sudo], that way directories and files get owned by user and not root and user has the proper permissions to them. This is just my experience though.


~ Regards,
sHy
ArchBang: Yet another Distro for Allan to break.
Blog | GIT | Forum (。◕‿◕。)

Offline

#9 2009-09-07 14:22:38

mag1strate
Member
Registered: 2009-03-31
Posts: 64

Re: [SOLVED]Can't start xfce4 or Openbox as a user!

ok I will try thanks sHyLoCk

and by graphical distros I meant one with a DE already in it, sorry about my misuse of words smile

Offline

#10 2009-09-07 14:27:04

mag1strate
Member
Registered: 2009-03-31
Posts: 64

Re: [SOLVED]Can't start xfce4 or Openbox as a user!

I tried using sudo to install the openbox, but it I will have to remove it before I do that. How do I remove a DE or a WM? b/c when I use sudo it only updates it no reinstalls it

Offline

#11 2009-09-07 14:28:34

.:B:.
Forum Fellow
Registered: 2006-11-26
Posts: 5,819
Website

Re: [SOLVED]Can't start xfce4 or Openbox as a user!

All sudo does is give you temporary root privileges. Using sudo to install packages instead of doing it through a regular root session (with su (-)) will not make the slightest difference.

Magistrate: run

ls -la ~

to see whether your user does own its own homedir and subdirs. Also, take a Linux 101 course on essential commands, if you want to stick with Arch, you need to catch up. This isn't Ubuntu, nor Windows, there is no GUI for everything. If that's what you want or need, you need to look elsewhere.

Edit: seriously! Read the manual! How do you manage to think you can only install but not remove packages? roll


Got Leenucks? :: Arch: Power in simplicity :: Get Counted! Registered Linux User #392717 :: Blog thingy

Offline

#12 2009-09-07 14:33:08

sHyLoCk
Member
From: /dev/null
Registered: 2009-06-19
Posts: 1,197

Re: [SOLVED]Can't start xfce4 or Openbox as a user!

B wrote:

All sudo does is give you temporary root privileges. Using sudo to install packages instead of doing it through a regular root session (with su (-)) will not make the slightest difference.

This is absolutely true. However what I did was installed as root and not using su, which made all the permission reserved by root. thanks for pointing this out B. smile


~ Regards,
sHy
ArchBang: Yet another Distro for Allan to break.
Blog | GIT | Forum (。◕‿◕。)

Offline

#13 2009-09-07 14:47:52

mag1strate
Member
Registered: 2009-03-31
Posts: 64

Re: [SOLVED]Can't start xfce4 or Openbox as a user!

Sorry to offend you or anything B, but I know about arch and I've read the manual about what arch is all about and that is what drew me to it. But anyways i got this as an output:

drwxr-xr-x 7 root root 4096 2009-09-07 10:29 .
drwxr-xr-x 4 root root 4096 2009-09-07  23:19 ..
-rw-------    1 root root   668 2009-09-07 09:37 .ICEauthority
-rw-------    1 root root       5 2009-09-07 09:21 .bash_history
drwxr-xr-x 2 root root 4096 2009-09-07 00:28  .cache
drwxr-xr-x 4 root root 4096 2009-09-07 08:52.config
drwx------   3 root root 4096 2009-09-07 00:28 .dbus
-rw-------    1 root root     16 2009-09-07 09:17 .esd_auth
drwxr-xr-x 5 root root 4096 2009-09-07 10:29 .fluxbox
drwx------   4 root root 4096 2009-09-07  09:17 .mozilla
-rwxr-xr-x   1root root    284 2009-09-07 10:29 .xinitrc

Offline

#14 2009-09-07 14:52:22

sHyLoCk
Member
From: /dev/null
Registered: 2009-06-19
Posts: 1,197

Re: [SOLVED]Can't start xfce4 or Openbox as a user!

I think you can safely

chown -R username:username /home/username/*

but wait for B to confirm. smile

Last edited by sHyLoCk (2009-09-07 14:54:05)


~ Regards,
sHy
ArchBang: Yet another Distro for Allan to break.
Blog | GIT | Forum (。◕‿◕。)

Offline

#15 2009-09-07 14:55:58

mag1strate
Member
Registered: 2009-03-31
Posts: 64

Re: [SOLVED]Can't start xfce4 or Openbox as a user!

Cool thanks sHyLoCk

Offline

#16 2009-09-07 15:34:44

mag1strate
Member
Registered: 2009-03-31
Posts: 64

Re: [SOLVED]Can't start xfce4 or Openbox as a user!

thanks sHyLoCk that worked really well, but I can't seem to get my settings to save when I log out! Is there a way to do that?

Offline

#17 2009-09-07 15:47:29

thisoldman
Member
From: Pittsburgh
Registered: 2009-04-25
Posts: 1,172

Re: [SOLVED]Can't start xfce4 or Openbox as a user!

Offline

#18 2009-09-07 16:28:30

.:B:.
Forum Fellow
Registered: 2006-11-26
Posts: 5,819
Website

Re: [SOLVED]Can't start xfce4 or Openbox as a user!

ShyLock and thisoldman are correct. Xfce has some option to save your session upon logout.


Got Leenucks? :: Arch: Power in simplicity :: Get Counted! Registered Linux User #392717 :: Blog thingy

Offline

#19 2009-09-07 16:48:02

mag1strate
Member
Registered: 2009-03-31
Posts: 64

Re: [SOLVED]Can't start xfce4 or Openbox as a user!

yeah it does but for some reason the resolution and refresh rate won't stay put but all the themes stay the same!

Offline

#20 2009-09-07 17:18:45

.:B:.
Forum Fellow
Registered: 2006-11-26
Posts: 5,819
Website

Re: [SOLVED]Can't start xfce4 or Openbox as a user!

You don't set your resolution and refresh rate in your DE, those are set in /etc/X11/Xorg.conf. Read the Xorg section in the wiki please.


Got Leenucks? :: Arch: Power in simplicity :: Get Counted! Registered Linux User #392717 :: Blog thingy

Offline

#21 2009-09-07 17:20:57

Acecero
Member
Registered: 2008-06-21
Posts: 1,373

Re: [SOLVED]Can't start xfce4 or Openbox as a user!

Did you check the resolution settings in Xfce when that happens? Can we see your xorg.conf?

Offline

#22 2009-09-07 17:31:17

mag1strate
Member
Registered: 2009-03-31
Posts: 64

Re: [SOLVED]Can't start xfce4 or Openbox as a user!

here is my xorg.conf

Section "ServerLayout"
  Identifier    "Modified_for_xorg-x11_kernel-2.6.6"
  Screen         0 "Screen0" 0 0
  InputDevice   "Mouse0" "CorePointer"
  InputDevice   "Keyboard0" "CoreKeyboard"
EndSection

Section "Files"
  ModulePath    "/usr/lib/modules"
  FontPath      "/usr/share/fonts/misc:unscaled"
  FontPath      "/usr/share/fonts/75dpi:unscaled"
  FontPath      "/usr/share/fonts/100dpi:unscaled"
  FontPath      "/usr/share/fonts/misc"
  FontPath      "/usr/share/fonts/TTF"
  FontPath      "/usr/share/fonts/Type1"
EndSection
    
Section "Module"
  Load  "dbe"
  Load  "dri"
  Load  "dri2"
  Load  "glx"
  Load  "record"
  Load  "extmod"
EndSection

Section "InputDevice"
  Identifier  "Keyboard0"
  Driver      "kbd"
EndSection

Section "InputDevice"
  Identifier  "Mouse0"
  Driver      "mouse"
  Option      "Protocol" "IMPS/2"
  Option      "Device" "/dev/input/mice"
  Option    "ZAxisMapping" "4 5 6 7"
EndSection

Section "Monitor"
  Identifier   "Monitor0"
  VendorName   "Monitor Vendor"
  ModelName     "Monitor Model"
  HorizSync         30.0 - 130.0
  VertRefresh      50.0 - 100.0
EndSection

Section "Device"
  Identifier  "Card0"
  BoardName   "RV770 [Radeon HD 4850]"
  VendorName  "ATI Technologies Inc"    
  BusID            "PCI :1 :0 :0"
EndSection

Section "Screen"
  Identifier   "Screen0"
  Device       "Card0"
  Monitor      "Monitor0"
  DefaultDepth 24
SubSection   "Display"
        Viewport   0 0
        Depth     1
  EndSubSection
SubSection   "Display"
        Viewport   0 0
        Depth     4
  EndSubSection
SubSection   "Display"
        Viewport   0 0
        Depth     8
  EndSubSection
SubSection   "Display"
        Viewport   0 0
        Depth     15
  EndSubSection
SubSection   "Display"
        Viewport   0 0
        Depth     16
  EndSubSection
  SubSection   "Display"
        Viewport   0 0
        Depth     24
        Modes "1024x768" "800x600" "640x480"
  EndSubSection
EndSection

Section "Extensions"
        Option "Composite" "Enable"
EndSection

Offline

#23 2009-09-07 18:01:35

Acecero
Member
Registered: 2008-06-21
Posts: 1,373

Re: [SOLVED]Can't start xfce4 or Openbox as a user!

Try getting rid of the Modes from the Depth 24 Display SubSection and see if that works. It should give you the maximum resolution without any specification. I think that's probably why it switches resolutions randomly.

Offline

#24 2009-09-07 18:02:26

mag1strate
Member
Registered: 2009-03-31
Posts: 64

Re: [SOLVED]Can't start xfce4 or Openbox as a user!

ok cool, I'll try it!

Offline

#25 2009-09-07 18:09:18

mag1strate
Member
Registered: 2009-03-31
Posts: 64

Re: [SOLVED]Can't start xfce4 or Openbox as a user!

Sweet thank you so much Acecero that worked perfectly!!

Offline

Board footer

Powered by FluxBB