You are not logged in.
Pages: 1
All,
recently I made the plunge to start X11 on boot...
I had my inittab start with init 3. I changed to init5.
the x:5 line reads "x:5:respawn:/usr/X11R6/bin/xdm -nodaemon"
When i login into the box the screen flashes and halts.
My .xinitrc is sym'd to .xsession for Icewm here's the contents
########
#
# .xinitrc
#
#
#. $HOME/.bash_profile
exec icewm-session
#########
What I expect to happen is...
-- boot the box..
-- Login to gui
-- Icewm is started with my settings..
What is happening now
-- boot the box
-- login to cli.
-- execute "startx"
-- icewm starts.
Also I seen a great post on Topic Number 5592 on customized login
screens.. If a howto is available could someone direct me...
Thanks,
Joe
Offline
.xinitrc is only use by startx. xdm uses ~/.xsession. Put
########
#
# .xsession
#
#
#. $HOME/.bash_profile
exec icewm-session
#########
in your ~/.xsession file. You'll probably need to create it.
EDIT: I just saw that you symlink .xsession to .xinitrc. I'll try it on my system.
Offline
A symlink should work fine. But be sure to name it .Xsession rather than .xsession (note the case).
Offline
I use a .xsession file (no uppercase x) and using:
exec icewm-session
or
exec icewm
works fine. I don't know the difference between the two. Have you checked the wiki: http://wiki.archlinux.org/index.php/Add … on_startup
Maybe the problem is with your inittab.
Offline
Thanks for the suggestions,
When i reboot I get the "Welcome to <hostname>" with a login and password..
Once I login the screen refreshes and I get the Login Prompt again...
When I kill X11 "<crtl>+<alt>+<bksp>" The x11 dies then
jumps right back into the login prompt..
I have not found a way around this...
My .xinitrc
#######
#!/bin/sh
#
# .xinitrc
#
#
# v1.0.0 -> 2005-11-07
# Production Release
# This was added for loading env's
[ -f /etc/profile ] && . /etc/profile
if [ -f $HOME/.bash_profile ]; then
. $HOME/.bash_profile
elif [ -f $HOME/.bash_login ]; then
. $HOME/.bash_login
elif [ -f $HOME/.profile ]; then
. $HOME/.profile
fi
# Load bg for ice
/usr/bin/icewmbg &
# Give me Icewm
exec /usr/bin/icewm
############
Any Ideas ?
Offline
Try to replace the .xsession symlink with a real file. The symlink should work but who knows...
xdm loads so your inittab should be correct. You could post it here to be sure.
Try commenting the icewmbg line.
It's a strange error. When xdm behaves this way, it's usually because xorg isn't configured correctly or that the WM crashes. Here it isn't the case because it works with startx. :?
Offline
Sounds really weird. Have you checked your .xsession-errors?
Here's how it works with gdm for me: .Xsession is a symlink to .xinitrc which contains
#!/bin/bash
exec /usr/bin/fvwm
I'm not sure wether the shebang is required for the .Xsession file though.
Offline
All,
After a few reboots the problem is solved..
I don't know which fix worked however I'm going to do a reinstall,
and find out..
NOTE: This is a devel machine running Arch on VMWare 4.5.1
I've had the same problems on a toshiba laptop with
X11...
Here's a dump of my files for clarification
####### HOME DIR
[testu@script ~]$ ls -la
total 72
drwx------ 5 testu users 4096 2005-11-09 08:15 .
drwxr-xr-x 4 root root 4096 2005-11-01 04:47 ..
-rw------- 1 testu users 202 2005-11-09 08:11 .Xauthority
-rwx------ 1 testu users 1060 2005-11-09 08:19 .bash_history
-rwx------ 1 testu users 16 2005-11-01 03:40 .bash_profile
-rwx------ 1 testu users 120 2005-11-08 08:37 .bashrc
drwxr-xr-x 2 testu users 4096 2005-11-08 08:53 .ethereal
-rw-r--r-- 1 testu users 15517 2005-11-08 08:36 .fonts.cache-1
drwxr-xr-x 5 testu users 4096 2005-11-08 08:43 .gkrellm2
-rwx------ 1 testu users 4794 2005-11-08 08:37 .viminfo
-rwx------ 1 testu users 394 2005-11-08 08:11 .xinitrc
lrwxrwxrwx 1 testu users 8 2005-11-08 08:10 .xsession -> .xinitrc
-rw------- 1 testu users 128 2005-11-09 08:11 .xsession-errors
-rwx------ 1 testu users 71 2005-11-01 13:00 change_owner.sh
drwx------ 5 testu users 4096 2005-11-02 08:52 linux
####### EO HOME DIR
####### .xinitrc
#!/bin/sh
#
# .xinitrc
#
#
# v1.0.0 -> 2005-11-07
# Production Release
# This was added for loading env's
[ -f /etc/profile ] && . /etc/profile
if [ -f $HOME/.bash_profile ]; then
. $HOME/.bash_profile
elif [ -f $HOME/.bash_login ]; then
. $HOME/.bash_login
elif [ -f $HOME/.profile ]; then
. $HOME/.profile
fi
# Load bg for ice
/usr/bin/icewmbg &
# Give me Icewm
exec /usr/bin/icewm
####### EO .xinitrc
####### /etc/inittab
#
# /etc/inittab
#
# Runlevels:
# 0 Halt
# 1(S) Single-user
# 2 Not used
# 3 Multi-user
# 4 Not used
# 5 X11
# 6 Reboot
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
c1:2345:respawn:/sbin/agetty 38400 vc/1 linux
c2:2345:respawn:/sbin/agetty 38400 vc/2 linux
c3:2345:respawn:/sbin/agetty 38400 vc/3 linux
c4:2345:respawn:/sbin/agetty 38400 vc/4 linux
c5:2345:respawn:/sbin/agetty 38400 vc/5 linux
c6:2345:respawn:/sbin/agetty 38400 vc/6 linux
#ca::ctrlaltdel:/sbin/shutdown -t3 -r now
x:5:respawn:/usr/X11R6/bin/xdm -nodaemon
# End of file
####### EO /etc/inittab
####### /etc/rc.conf
[root@script testu]# cat /etc/rc.conf
#
# /etc/rc.conf - Main Configuration for Arch Linux
#
#
# Localization
#
# HARDWARECLOCK: set to "UTC" or "localtime"
# TIMEZONE: timezones are found in /usr/share/zoneinfo
# KEYMAP: keymaps are found in /usr/share/kbd/keymaps
# CONSOLEFONT: fount in /usr/share/kbd/consolefonts (only needed for non-us)
# USECOLOR: use ANSI color sequences in startup messages
#
HARDWARECLOCK="localtime"
TIMEZONE=US/Eastern
KEYMAP=us
CONSOLEFONT=
USECOLOR="yes"
# Scan for LVM volume groups at startup, required if you use LVM
USELVM="no"
#
# Networking
#
HOSTNAME="script"
#
# Module to load at boot-up (in this order)
# (prefix a module with a ! to disable it)
#
MODULES=(!usbserial !ide-scsi)
#
# Interfaces to start at boot-up (in this order)
# Declare each interface then list in INTERFACES
# (prefix an interface in INTERFACES with a ! to disable it)
#
# Note: to use DHCP, set your interface to be "dhcp" (eth0="dhcp")
#
lo="lo 127.0.0.1"
eth0="eth0 10.1.1.23 netmask 255.255.255.0 broadcast 10.1.1.255"
INTERFACES=(lo eth0)
#
# Routes to start at boot-up (in this order)
# Declare each route then list in ROUTES
# (prefix a route in ROUTES with a ! to disable it)
#
gateway="default gw 10.1.1.1"
ROUTES=(gateway)
#
# Daemons to start at boot-up (in this order)
# (prefix a daemon with a ! to disable it)
#
DAEMONS=(syslog-ng network crond sshd)
# End of file
####### EO /etc/rc.conf
###### .xsession-errors
IceWM: using /home/testu/.icewm for private configuration files
icewmbg: using /home/tesu/.icewm for private configuration files
###### .xsession-errors
I'll repost when I get my procedures for install of IceWM on Arch
Thanks for all your help,
Joe
Offline
I had exactly the same problem when I tried XDM; I'd login, and then the login prompt would appear once again (the plain white default login). It must just be a lack of configuration as far as XDM goes though; installing the arch XDM package available in AUR gave me a nice-looking login prompt that worked
.oO Komodo Dave Oo.
Offline
Pages: 1