[XFCE] Problem with normal users

Hello everyone,
I recently installed FreeBSD 8.2. I installed xorg and configured. My problem is when I do:
Code:
exec startxfec4
I get an error message. But if I am logged in as root, it works fine. What do I have to do to fix it?

Thank you very much!
 
What is the error that you are getting as user?

Are you specifying the whole path?

/usr/local/bin/startxfce4
 
I've done some changes but I still can't acces Xfce. I get this:
Code:
Could not look up internet address for dhcppc1.home.
This will prevent Xfce from operating correctly.
It may be possible to correct the problem by adding
dhcppc1.home to the file /etc/hosts on your system.

And when I press 'Continue Anyway' it logs me out.
 
You should do it like this:
[CMD=]# ee /etc/hosts[/CMD]
And add this line
Code:
192.168.1.1    dhcppc1  dhcppc1.home  # Your FreeBSD system
And I think you need to use a static ip address.

More information here:
When I start Xfce a dialog pops up saying "Could not look up internet address for..."

Xfce simply wants your hostname to be in /etc/hosts. Example input:
Code:
127.0.0.1 localhost
 
Vovas said:
You should do it like this:
[CMD=]# ee /etc/hosts[/CMD]
And add this line
Code:
192.168.1.1    dhcppc1  dhcppc1.home  # Your FreeBSD system
And I think you need to use a static ip address.

It varies depending on how the system is getting an IP address in the first place. If the system has a static address, setting that in /etc/hosts is fine.

If DHCP is used, the DHCP and DNS servers should be set up to so host names resolve into IP addresses, but cheap routers sometimes don't do that (looking at you, D-Link). Putting a static address into /etc/hosts when using DHCP can cause problems. Adding the hostname to the 127.0.0.1 line is an option. With a hostname of "zoot", for example:
Code:
127.0.0.1   localhost zoot zoot.my.domain
 
Back
Top