You are not logged in.

#1 2010-03-07 08:46:39

Zivs
Member
From: Riga/Dallas
Registered: 2009-11-01
Posts: 14

SOLVED Problems with "default display"

I have Arch 64 with XLDE on my C2D laptop. Everything works fine, but when I start up or shut down system - in lines before start or halt are many messages something like:
Can not open default display " default display"
Is it any idea what does it mean? Which log file record startup and shut down errors?
Thanks!

Last edited by Zivs (2010-03-07 20:08:23)

Offline

#2 2010-03-07 08:54:12

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,424
Website

Re: SOLVED Problems with "default display"

You can retain startup messages like so: http://wiki.archlinux.org/index.php/Gen … t_messages


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#3 2010-03-07 09:01:15

Zivs
Member
From: Riga/Dallas
Registered: 2009-11-01
Posts: 14

Re: SOLVED Problems with "default display"

OK, I stopped boot and made photos (sorry - very bad quality)
Boot http://www.bildez.lv/bildes/rix/bildez/ … 953160.jpg
Shut down   http://www.bildez.lv/bildes/rix/bildez/ … 953158.jpg

Last edited by Zivs (2010-03-07 09:20:34)

Offline

#4 2010-03-07 17:36:36

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,424
Website

Re: SOLVED Problems with "default display"

Can you post your rc.conf? Also your /etc/inittab?


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#5 2010-03-07 18:30:38

Zivs
Member
From: Riga/Dallas
Registered: 2009-11-01
Posts: 14

Re: SOLVED Problems with "default display"

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", any other value will result
#   in the hardware clock being left untouched (useful for virtualization)
# 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.UTF-8"
HARDWARECLOCK=""
TIMEZONE=""
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=()

# 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="runcis"

# 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
#

#Static IP example
#eth0="eth0 192.168.1.2 netmask 255.255.255.0 broadcast 192.168.1.255"
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=(hal syslog-ng !network netfs crond cups !gdm slim alsa  wicd wicd-client
)
setxkbmap lv -variant apostrophe

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 tty1 linux
c2:2345:respawn:/sbin/agetty -8 38400 tty2 linux
c3:2345:respawn:/sbin/agetty -8 38400 tty3 linux
c4:2345:respawn:/sbin/agetty -8 38400 tty4 linux
c5:2345:respawn:/sbin/agetty -8 38400 tty5 linux
c6:2345:respawn:/sbin/agetty -8 38400 tty6 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:/usr/bin/kdm -nodaemon
x:5:respawn:/usr/bin/slim >& /dev/null

# End of file

Offline

#6 2010-03-07 18:40:56

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,424
Website

Re: SOLVED Problems with "default display"

Try removing

setxkbmap lv -variant apostrophe

from your rc.conf


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#7 2010-03-07 18:44:20

Zivs
Member
From: Riga/Dallas
Registered: 2009-11-01
Posts: 14

Re: SOLVED Problems with "default display"

I can`t - it put latvian keyboard support for my system - somehow Slim or LXDE overwrite my xorg.conf latvian keyboard support, so I put it rc.conf - and seems its works.

Last edited by Zivs (2010-03-07 18:47:46)

Offline

#8 2010-03-07 18:47:08

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,424
Website

Re: SOLVED Problems with "default display"

Then you might try setting it in keymap, currently you have:

KEYMAP="us"

#edit Actually, that won't help. Put it in your .xinitrc...

Last edited by jasonwryan (2010-03-07 18:48:59)


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#9 2010-03-07 18:49:43

Zivs
Member
From: Riga/Dallas
Registered: 2009-11-01
Posts: 14

Re: SOLVED Problems with "default display"

OK, but how to add
KEYMAP="LV"   
                    "  - variant apostrophe ? "

 it in your .xinitrc..

I tried - it does not work too. Seems problem is in Slim, I used Gnome login manager - everything was OK.

Last edited by Zivs (2010-03-07 18:52:54)

Offline

#10 2010-03-07 20:08:00

Zivs
Member
From: Riga/Dallas
Registered: 2009-11-01
Posts: 14

Re: SOLVED Problems with "default display"

OK. You have been right. It is "setxkbmap lv -variant apostrophe" in rc.conf   smile Commented out it - and messages disappeared.
So I add :setxkbmap lv -variant apostrophe" in .xinitrc - like last command - and now keyboard  works again.
Lession: do not put anything unnecessary in rc.conf

Thank you!

Last edited by Zivs (2010-03-07 20:10:35)

Offline

#11 2010-03-07 20:24:51

esters
Member
Registered: 2006-11-04
Posts: 173

Re: SOLVED Problems with "default display"

You can add that in xorg.conf too

Under the keyboard section

Option "XkbLayout" "lv"
Option "XkbVariant" "apostrophe"

Last edited by esters (2010-03-07 20:25:16)

Offline

#12 2010-03-07 20:56:03

Zivs
Member
From: Riga/Dallas
Registered: 2009-11-01
Posts: 14

Re: SOLVED Problems with "default display"

As I said - it does work smile And do not ask me why smile

And specially for Esters smile : Paldies vecais! Keksi man visu atrisināja smile tiksimies eoz vai bootā (ru/rix)

Last edited by Zivs (2010-03-07 21:02:51)

Offline

Board footer

Powered by FluxBB