Xfce not autostarting after logging in

Thread Tools Search this Thread
Operating Systems BSD Xfce not autostarting after logging in
# 1  
Old 10-13-2009
Xfce not autostarting after logging in

Xfce used to start up automatically on a FreeBSD 7.1 machine, but as of late this is not happening anymore. This means that the user has to enter "startxfce4" right after entering username and password. The .xsession file has the following contents:
# cat /usr/home/user01/.xsession 
/usr/local/bin/numlockx &

Can someone let me know where to look for the reasons why there is no xfce autostart?
# 2  
Old 10-13-2009
you got no X at boot ?

.xsession will only be read if startx is called from the user. Is it the case ?
# 3  
Old 10-13-2009
Correct. The user enters login name and password and a prompt appears. It used to be the case that Xfce would start automatically instead. Now the user has to know to type in startxfce4 to get to the desktop.
# 4  
Old 10-13-2009
do you have xdm or gdm installed?
# 5  
Old 10-13-2009
Hopefully this will help:
# which xdm
# which gdm
gdm: Command not found.

If you mean by gdm the GD library, then yes, it is mentioned among the sections in phpinfo().
# 6  
Old 10-14-2009
If you want a gui login prompt xdm/gdm/kdm will help you with that. You were probably using xdm.

The file /etc/ttys will help you set up automatic startup of X. Look for a line similar to this:

ttyv8   "/usr/local/bin/xdm -nodaemon"  xterm   off secure

And replace off with on. This will give you a graphical prompt at boot.
# 7  
Old 10-16-2009
Thank you for your answer. When making the suggested change in /etc/ttys, I get the twm windowing system, instead of xfce. If I subsequently return to the "off" setting, the response is "write failed, filesystem is full" even though I am logged in as root. Please advise.

UPDATE: I have managed to salvage the situation and back to the starting situation. I am back now to where after boot the command line appears and after logging in, the command "startxfce4" will start xfce.

Last edited by figaro; 10-16-2009 at 06:03 AM..
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. Debian

LM 17.3 xfce constant lagging

I'm using LM 17.3x LIVE. Have constant and sometimes, severe lagging issues. Problems started when I "upgraded" to 18.3x. I tried 5 other distros all with the same issues. Went back to 17.3 and , alas, the problem followed. Found this: sudo gedit /etc/sysctl. conf vm. swappiness = 15, but all it... (4 Replies)
Discussion started by: 69Rixter
4 Replies

2. Linux

Syslog not logging successful logging while unlocking server's console

When unlocking a Linux server's console there's no event indicating successful logging Is there a way I can fix this ? I have the following in my rsyslog.conf auth.info /var/log/secure authpriv.info /var/log/secure (1 Reply)
Discussion started by: walterthered
1 Replies

3. Shell Programming and Scripting

Xfce installer script

Xfce desktop installer script on Ubuntu for home, office or server computers. This script installs Xfce desktop and a set of programs according to user needs starting from an Ubuntu Server base system. It's valid for netbooks, notebooks, desktop computers and servers. For more information... (1 Reply)
Discussion started by: cesar-rgon
1 Replies

4. Red Hat

Where's the XFCE folder?

If a few of you look on FedoraForums, you'll find that a little while ago, I went on a desktop installing spree. I just have a small question about XFCE desktop. In my user directory, I see .kde, .mate, and .trinity. (all three are directories), but I have XFCE 4.8 installed along with the others.... (0 Replies)
Discussion started by: Ihatewindows
0 Replies

5. UNIX and Linux Applications

Xfce terminal: colors

I have Xfce terminal emulator installed on most machines. The Xubuntu version has color coding that distinguishes directories (purple) from files (white or green) for instance. The terminals on non-Linux machines do not have this color coding. Where can this color option be set? Is there a... (6 Replies)
Discussion started by: figaro
6 Replies

6. UNIX Desktop Questions & Answers

Xfce not displaying with correct resolution

I have frequently installed xfce on both linux and freebsd machines, but something thathappens frequently is that the resolution of the display is not detected correctly. For instance on a 22 inch screen, the display is still 800x600 pixels. Similar things happen for 20 inch displays. The... (0 Replies)
Discussion started by: figaro
0 Replies

7. Ubuntu

Webcam on xfce?

Hey guys. I'm about as new to Linux as you can get, so bear with me please. I installed Xubuntu on my old laptop to tinker with.. figured it would be a good use of an old machine. One thing I'd like to set up is some security with a webcam. Logitech QuickCam Pro 4000 to be exact. I went about... (22 Replies)
Discussion started by: Chesh
22 Replies

8. UNIX Desktop Questions & Answers

xfce like cde

At the moment I am using Ubuntu hardy on my desktop. I am going to be adding other Linux's and maybe FreeBSD. I use gnome for special effects, eye candy, and plain old show off stuff. But I want to have a simple DE in my computer installed. I like the way CDE looks and the reviews about its... (7 Replies)
Discussion started by: Texasone
7 Replies

9. UNIX for Dummies Questions & Answers

Installing Xfce?

I'm running Debian and doesn't really like gnome nor KDE and read about this XFce that ought to be a more simple X which is exactly what I'm looking for. So I re-installed the bare minimums of Debian and here I am, with nothing but Links/Lynx vim and apt-get (lovely isn't it?) trying to configure... (1 Reply)
Discussion started by: riwa
1 Replies
Login or Register to Ask a Question