You are not logged in.

#1 2005-07-14 06:52:51

subatomic
Member
From: Berlin
Registered: 2005-06-26
Posts: 180

still not booting into x

startx works ok but when I change my inittab to runlevel 5 I get an old 8-bit login screen. my etc/inittab reads

x:5:respawn:/usr/X11R6/bin/X -nodaemon -nolisten tcp -br

and my x11/xinit/xinitrc file reads

exec startkde

but somewhere I read that xdm reads an xsession file.
what do I need to edit?

Offline

#2 2005-07-14 09:35:48

iphitus
Forum Fellow
From: Melbourne, Australia
Registered: 2004-10-09
Posts: 4,927

Re: still not booting into x

that's starting X directly, you need to start kdm or xdm.

x:5:respawn:/usr/X11R6/bin/xdm -nodaemon

is the line i use for xdm.

Offline

#3 2005-07-14 13:46:46

subatomic
Member
From: Berlin
Registered: 2005-06-26
Posts: 180

Re: still not booting into x

sorry!
I meant /usr/X11R6/bin/xdm

Offline

#4 2005-07-14 17:11:40

phrakture
Arch Overlord
From: behind you
Registered: 2003-10-29
Posts: 7,879
Website

Re: still not booting into x

ln -s .xinitrc .xsession

should work fine (that's what I do)

Offline

#5 2005-07-18 19:25:55

subatomic
Member
From: Berlin
Registered: 2005-06-26
Posts: 180

Re: still not booting into x

i was really hoping it would :0(

it seems to me that i need to define the system-wide xinitrc script which would call xdm before i login.

what should i do with /etc/X11/xdm/Xsession  ?
link it to /etc/X11/xinit/xinitrc ?

Offline

#6 2005-07-18 19:38:59

phrakture
Arch Overlord
From: behind you
Registered: 2003-10-29
Posts: 7,879
Website

Re: still not booting into x

subatomic wrote:

i was really hoping it would :0(

it seems to me that i need to define the system-wide xinitrc script which would call xdm before i login.

what should i do with /etc/X11/xdm/Xsession  ?
link it to /etc/X11/xinit/xinitrc ?

What? wait... ok, you're missing something.

in your inittab, you see the line

x:5:respawn:/usr/X11R6/bin/xdm -nodaemon

that is the line which executes xdm on startup.  the number after the first colon is the runlevel in which xdm is called (run level 5), so in order to do this you need to switch the "initdefault" from 3 to 5.

That will start xdm properly, assuming that your xorg.conf works fine.

Now, when you log into xdm, it runs your ~/.xsession file in the same way startx runs your ~/.xinitrc file (which is why I symlink them)

The most basic .xsession looks like this:

exec fluxbox

you need nothing else besides the window manager in the most basic form.

if you have all this and it's still not working, it's most likely your xorg.conf, so you'll have to start looking for errors in /var/log/X.0.log

Offline

#7 2005-07-18 21:41:43

subatomic
Member
From: Berlin
Registered: 2005-06-26
Posts: 180

Re: still not booting into x

i guess i meant to boot into kde with xdm but somehow bypass the lame xdm login screen. kdm crashes to often.

Offline

#8 2005-07-18 22:00:27

Dusty
Schwag Merchant
From: Medicine Hat, Alberta, Canada
Registered: 2004-01-18
Posts: 5,986
Website

Re: still not booting into x

subatomic wrote:

i guess i meant to boot into kde with xdm but somehow bypass the lame xdm login screen. kdm crashes to often.

You can search the forums for xdm themes that aren't so lame. I don't know if you can bypass login altogether or not.

Dusty

Offline

#9 2005-07-18 22:04:26

Snowman
Developer/Forum Fellow
From: Montreal, Canada
Registered: 2004-08-20
Posts: 5,212

Re: still not booting into x

I've made myself a custom xdm theme. I could make a pkg if you're interested. screenshot here: http://bbs.archlinux.org/viewtopic.php?t=5592&start=25

Offline

#10 2005-07-18 22:27:06

phrakture
Arch Overlord
From: behind you
Registered: 2003-10-29
Posts: 7,879
Website

Re: still not booting into x

Dusty wrote:
subatomic wrote:

i guess i meant to boot into kde with xdm but somehow bypass the lame xdm login screen. kdm crashes to often.

You can search the forums for xdm themes that aren't so lame. I don't know if you can bypass login altogether or not.

Dusty

gdm can do autologin... but I wouldn't know how - i would assume a quick google for "gdm auto login" would help.

Offline

#11 2005-07-19 01:56:06

Shofs
Member
From: Central Illinois
Registered: 2004-12-15
Posts: 184

Re: still not booting into x

I read this thread and decided to look into how I have been doing things. I came across the .xsession-errors file. Mine is 52 MB! and 99.9% of it is this:

*** attempt to put segment in horiz list twice

What does that mean?

Offline

#12 2005-07-19 03:28:15

Snowman
Developer/Forum Fellow
From: Montreal, Canada
Registered: 2004-08-20
Posts: 5,212

Re: still not booting into x

rmbalfa wrote:

I read this thread and decided to look into how I have been doing things. I came across the .xsession-errors file. Mine is 52 MB! and 99.9% of it is this:

*** attempt to put segment in horiz list twice

What does that mean?

http://www.wlug.org.nz/CommonErrors :

* attempt to put segment in horiz list twice

You might see this error message if you use GNOME - it appears quite regularly in my $HOME/.xsession-errors file.

It is 'mostly harmless', and seems to occur most frequently when activating menus. Apparently, it is caused by libsvg/libarts, and implies a minor problem with one of the SVG icons.

Offline

#13 2005-07-19 10:40:10

sudman1
Member
From: Huntingdon, UK
Registered: 2005-02-18
Posts: 143

Re: still not booting into x

subatomic wrote:

i guess i meant to boot into kde with xdm but somehow bypass the lame xdm login screen. kdm crashes to often.

You might try adding the folloing line to rc.local:

exec startkde

v/r
Suds

Offline

#14 2005-07-19 10:48:26

T-Dawg
Forum Fellow
From: Charlotte, NC
Registered: 2005-01-29
Posts: 2,736

Re: still not booting into x

sudman1 wrote:
subatomic wrote:

i guess i meant to boot into kde with xdm but somehow bypass the lame xdm login screen. kdm crashes to often.

You might try adding the folloing line to rc.local:

exec startkde

that would log you in as root then, no?

Offline

#15 2005-07-19 10:59:02

iphitus
Forum Fellow
From: Melbourne, Australia
Registered: 2004-10-09
Posts: 4,927

Re: still not booting into x

I know how to do autologin without xdm or kdm or gdm, but i cant get it right now, as i dont have linux installed.

ill post it on friday

Offline

#16 2005-07-19 12:44:38

sudman1
Member
From: Huntingdon, UK
Registered: 2005-02-18
Posts: 143

Re: still not booting into x

sudman1 wrote:
subatomic wrote:

i guess i meant to boot into kde with xdm but somehow bypass the lame xdm login screen. kdm crashes to often.

You might try adding the folloing line to rc.local:

exec startkde

Sorry, that should read

su username -c "exec startkde"

v/r
Suds

Offline

Board footer

Powered by FluxBB