You are not logged in.
So I was given a new system at work, and I decided to go Arch just like I have at home. However its been forever and a day since I've installed it and I'm just a tad bit rusty with the "initial install tweaks"..
Got a few issues I can't seem to grasp just yet..
1. My mouse is a 5 button mouse (Left Click, Middle Wheel, Right Click, Thumb Button, Pinky Button) however the thumb and pinky buttons copy paste and stuff. They just do random things, how can I make them the traditional forward/back buttons for internet browsing?
2. When I restart X, GDM hangs and I have to hard reboot :\
3. I lost my enviroment settings, for example I can no longer modprobe or adduser, I have to /sbin/modprobe, and /usr/sbin/adduser. Anyway I can restore that back to just modprobe/adduser?
Thanks for your help, and I feel like suck a lamer for coming here to ask such simple things. Like I said I havent had to do a reinstall in ages at home so my reinstall skills are a bit lacking now.
Offline
3. Could you show us some :
# printenv
# cat ~/.bash{rc,_profile}
Offline
bash-3.2# printenv
ORBIT_SOCKETDIR=/tmp/orbit-root
SHELL=/bin/bash
TERM=xterm
WINDOWID=54525994
USER=root
PATH=/usr/ucb:/bin:/usr/bin:/etc
PWD=/root
HOME=/root
SHLVL=3
LOGNAME=root
DISPLAY=:0.0
COLORTERM=gnome-terminal
XAUTHORITY=/tmp/libgksu-ddYGPD/.Xauthority
_=/usr/bin/printenv
OLDPWD=/root
Negative on the .bashrc / .bash_profile, never were created for some odd reason (Isn't that supposed to be there after a fresh reboot, I do not specifically remember having to write them on my home system).
Offline
You can copy the default .bash* files from /etc/skel.
Offline
Odd enough. Still, if you don't have extra-special needs perhaps writing some minimalistic .bashrc/.bash_profile files would be ok? Copy .bash_profile from /etc/skel/.bash_profile or somesuch and in .bashrc have something along the lines of: source /etc/profile
Offline
~/.bash_profile
. $HOME/.bashrc
~/.bashrc
# Check for an interactive session
[ -z "$PS1" ] && return
alias ls='ls --color=auto'
PS1='[\u@\h \W]\$ '
Is the contents of the two files, nothing really helpful.
Offline
Heh, sourceing them didn't work, a simple copy paste did.
Oddly enough, I never noticed those files, I guess I'm more of a casual user then I thought...
Anyway any ideas on 1 and 2? Xorg logs show nothing for the GDM crashes, and I have an ATI card (AGP HD 3600) w/ Catylyst.
Offline
2. How are you starting GDM (to answer this it might be helpful to post /etc/rc.conf and /etc/inittab) and how are you "restarting X"?
3. sourcing /etc/profile from within .bashrc -works-, either you were doing something wrong or forgot to actually source .bashrc (or source .bash_profile) after you've made the modifications. (/etc/profile is on your system so that it can be sourced, as needed, where needed)
Offline
GDM is started as a daemon, Ctrl+Alt+Backspace causes it to lock up, along with logging out. Soon as I have to see the login screen twice in one session at the workstation, it locks up.
[root@crothers ~]# cat /etc/rc.conf
#
# /etc/rc.conf - Main Configuration for Arch Linux
#
# -----------------------------------------------------------------------
# LOCALIZATION
# -----------------------------------------------------------------------
#
# LOCALE: available languages can be listed with the 'locale -a' command
# HARDWARECLOCK: set to "UTC" or "localtime"
# USEDIRECTISA: use direct I/O requests instead of /dev/rtc for hwclock
# TIMEZONE: timezones are found in /usr/share/zoneinfo
# KEYMAP: keymaps are found in /usr/share/kbd/keymaps
# CONSOLEFONT: found in /usr/share/kbd/consolefonts (only needed for non-US)
# CONSOLEMAP: found in /usr/share/kbd/consoletrans
# USECOLOR: use ANSI color sequences in startup messages
#
LOCALE="en_US.utf8"
HARDWARECLOCK="localtime"
USEDIRECTISA="no"
TIMEZONE="America/Los_Angeles"
KEYMAP="us"
CONSOLEFONT=
CONSOLEMAP=
USECOLOR="yes"
# -----------------------------------------------------------------------
# HARDWARE
# -----------------------------------------------------------------------
#
# MOD_AUTOLOAD: Allow autoloading of modules at boot and when needed
# MOD_BLACKLIST: Prevent udev from loading these modules
# MODULES: Modules to load at boot-up. Prefix with a ! to blacklist.
#
# NOTE: Use of 'MOD_BLACKLIST' is deprecated. Please use ! in the MODULES array.
#
MOD_AUTOLOAD="yes"
#MOD_BLACKLIST=() #deprecated
MODULES=(fuse forcedeth slhc ac97_bus vboxdrv snd-mixer-oss snd-pcm-oss snd-page-alloc snd-pcm snd-timer snd snd-ac97-codec snd-intel8x0 soundcore fglrx usblp usbcore)
# Scan for LVM volume groups at startup, required if you use LVM
USELVM="no"
# -----------------------------------------------------------------------
# NETWORKING
# -----------------------------------------------------------------------
#
# HOSTNAME: Hostname of machine. Should also be put in /etc/hosts
#
HOSTNAME="crothers"
# Use 'ifconfig -a' or 'ls /sys/class/net/' to see all available interfaces.
#
# Interfaces to start at boot-up (in this order)
# Declare each interface then list in INTERFACES
# - prefix an entry in INTERFACES with a ! to disable it
# - no hyphens in your interface names - Bash doesn't like it
#
# DHCP: Set your interface to "dhcp" (eth0="dhcp")
# Wireless: See network profiles below
#
eth0="dhcp"
INTERFACES=(eth0)
# Routes to start at boot-up (in this order)
# Declare each route then list in ROUTES
# - prefix an entry in ROUTES with a ! to disable it
#
gateway="default gw 192.168.1.1"
ROUTES=(!gateway)
# Enable these network profiles at boot-up. These are only useful
# if you happen to need multiple network configurations (ie, laptop users)
# - set to 'menu' to present a menu during boot-up (dialog package required)
# - prefix an entry with a ! to disable it
#
# Network profiles are found in /etc/network.d
#
# This now requires the netcfg package
#
#NETWORKS=(main)
# -----------------------------------------------------------------------
# DAEMONS
# -----------------------------------------------------------------------
#
# Daemons to start at boot-up (in this order)
# - prefix a daemon with a ! to disable it
# - prefix a daemon with a @ to start it up in the background
DAEMONS=(syslog-ng network netfs crond hal fam gdm sshd alsa cups samba)
[root@crothers ~]# cat /etc/inittab
#
# /etc/inittab
#
# Runlevels:
# 0 Halt
# 1(S) Single-user
# 2 Not used
# 3 Multi-user
# 4 Not used
# 5 X11
# 6 Reboot
## Only one of the following two lines can be uncommented!
# Boot to console
id:3:initdefault:
# Boot to X11
#id:5:initdefault:
rc::sysinit:/etc/rc.sysinit
rs:S1:wait:/etc/rc.single
rm:2345:wait:/etc/rc.multi
rh:06:wait:/etc/rc.shutdown
su:S:wait:/sbin/sulogin -p
# -8 options fixes umlauts problem on login
c1:2345:respawn:/sbin/agetty -8 38400 vc/1 linux
c2:2345:respawn:/sbin/agetty -8 38400 vc/2 linux
c3:2345:respawn:/sbin/agetty -8 38400 vc/3 linux
c4:2345:respawn:/sbin/agetty -8 38400 vc/4 linux
c5:2345:respawn:/sbin/agetty -8 38400 vc/5 linux
c6:2345:respawn:/sbin/agetty -8 38400 vc/6 linux
ca::ctrlaltdel:/sbin/shutdown -t3 -r now
# Example lines for starting a login manager
x:5:respawn:/usr/bin/xdm -nodaemon
#x:5:respawn:/usr/sbin/gdm -nodaemon
#x:5:respawn:/opt/kde/bin/kdm -nodaemon
#x:5:respawn:/usr/bin/slim >& /dev/null
# End of file
Last edited by BulletxxProof89 (2008-12-29 23:35:46)
Offline
I hate to fix a problem on my own computers without knowing why it exists in the first place.. but in the hope that it will atm save you some trouble, try the following: remove gdm from the DAEMONS array in /etc/rc.conf and modify /etc/inittab as explained here: http://wiki.archlinux.org/index.php/GDM#Inittab_Method
Offline