pavement

Desktop, troubleshooting

From FreeBSDwiki
(Difference between revisions)
Jump to: navigation, search
(Login manager: xsession-errors)
(Obsolete Xorg configuration reference)
Line 18: Line 18:
 
==Xorg==
 
==Xorg==
 
If problems occur with Xorg check {{file|/var/log/xorg.0.log}}. Use the commands {{cmd|less}} or {{cmd|grep}} to help you find potential problems.
 
If problems occur with Xorg check {{file|/var/log/xorg.0.log}}. Use the commands {{cmd|less}} or {{cmd|grep}} to help you find potential problems.
 
===Obsolete Xorg configuration reference===
 
This is for those who are familiar with older versions of FreeBSD.
 
 
Manually setting the option in {{file|xorg.conf}} to the next line enabled the mouse and keyboard:
 
Option "AllowEmptyInput" "False"
 
 
{{file|/etc/rc.conf}}:
 
 
hald_enable="YES"
 
The hald option can be replaced with FreeBSD's native program {{man|devd|8}}, if the options were set in {{port|x11-servers/xorg-server}} before compiling.
 
 
For a custom xorg configuration file:
 
% Xorg -configure
 
After testing this configuration, {{file|xorg.conf.new}} would have been copied to {{file|/etc/X11/xorg.conf}}:
 
% cp /root/xorg.conf.new /etc/X11/xorg.conf
 
  
 
==See also==
 
==See also==

Revision as of 21:39, 9 February 2018

Contents

Rescue configuration

If an error is made, there are convenient options to fix the problem from the console, without requiring the install disc. The availability of some options depend on the situation.

One solution is to reboot into single user mode, then remount the drive using mount -u /. Other partitions required for start-up may have to manually be mounted. To make it easier, you can use the mountpoints in /etc/fstab.

SLiM will let you log in to the console line, by entering "console", depending on it's configuration file, as the login user name and the root password.

<ctrl><alt><f-key> will pull up a virtual console, where you can log in to fix configuration errors. This uses either the sc(4) or vt(4) driver. The sc driver doesn't work with all video cards.

Login manager

If problems occur with logging in through XDM, check /var/log/xdm.log or ~/.xsession-errors

% less /var/log/xdm.log
% less ~/.xsession-errors

Firewall interference

A firewall's settings such as PF's may delay a windowmanager starting up from the login manager, possibly through the Xserver. Test a permissive firewall setting, to see if this is the problem.

Xorg

If problems occur with Xorg check /var/log/xorg.0.log. Use the commands less or grep to help you find potential problems.

See also

Personal tools