Unix Technical Forum

Chosse session in XDM

This is a discussion on Chosse session in XDM within the Slackware Linux Support forums, part of the Unix Operating Systems category; --> Hi, How do I choose the session with the XDM login manager? I have TWM and XFCE installed. In ...


Go Back   Unix Technical Forum > Unix Operating Systems > Slackware Linux Support

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 02-21-2008, 05:43 AM
Niki Kovacs
 
Posts: n/a
Default Chosse session in XDM

Hi,

How do I choose the session with the XDM login manager? I have TWM and
XFCE installed. In runlevel 3, when I login as a user, I can fire up XFCE
with 'startx', since I defined my window manager beforehand with
'xwmconfig'. But when I switch to runlevel 4 in /etc/inittab, XDM fires
up and wants to start TWM.

Any idea where I can define the X session? I leafed through the files in /
etc/X11/xdm, but to no avail, and unfortunately, the xdm manpage is
written in some remote klingon slang.

cheers,

Niki
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 02-21-2008, 05:43 AM
Henrik Carlqvist
 
Posts: n/a
Default Re: Chosse session in XDM

Niki Kovacs <mickey@mouse.com> wrote:
> How do I choose the session with the XDM login manager?


I don't think it is possible to point and click to choose session with
xdm. With kdm and gdm you can point and click to choose session.

> I have TWM and XFCE installed. In runlevel 3, when I login as a user, I
> can fire up XFCE with 'startx', since I defined my window manager
> beforehand with 'xwmconfig'. But when I switch to runlevel 4 in
> /etc/inittab, XDM fires up and wants to start TWM.


Try to copy your .xinitrc to .xsession

regards Henrik
--
The address in the header is only to prevent spam. My real address is:
hc1(at)poolhem.se Examples of addresses which go to spammers:
root@localhost postmaster@localhost

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 02-21-2008, 05:43 AM
Mark South
 
Posts: n/a
Default Re: Chosse session in XDM

On Mon, 17 Dec 2007 08:36:35 +0100, Henrik Carlqvist wrote:

> Niki Kovacs <mickey@mouse.com> wrote:
>> How do I choose the session with the XDM login manager?

>
> I don't think it is possible to point and click to choose session with
> xdm. With kdm and gdm you can point and click to choose session.


If you don't need remote login through xdm, it's worth looking at slim as
a login manager, which is very lightweight and has a simple session
configuration.

>> I have TWM and XFCE installed. In runlevel 3, when I login as a user, I
>> can fire up XFCE with 'startx', since I defined my window manager
>> beforehand with 'xwmconfig'. But when I switch to runlevel 4 in
>> /etc/inittab, XDM fires up and wants to start TWM.

>
> Try to copy your .xinitrc to .xsession


That should work.

Incidentally, even the kllingon manpages often list useful cross-
references at the end of the page. Even the xdm page :-)
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 02-21-2008, 05:43 AM
Niki Kovacs
 
Posts: n/a
Default Re: Chosse session in XDM

Le Mon, 17 Dec 2007 09:09:58 +0100, Mark South a écritÂ*:

>
> If you don't need remote login through xdm, it's worth looking at slim
> as a login manager, which is very lightweight and has a simple session
> configuration.


Yeah, I know Slim, and I've been using it some time. Except it's supposed
to run in runlevel 3. Never managed to get the thing to work correctly in
runlevel 4. Which is a nuisance, when you have your users staring at a
blinking screen when they log out. Or once in a while, Slim won't even
fire up, and then there's just the console.

But I just spent the best part of a cold grey day trying to get a nice
configuration out of XDM, and heyyy, it's much better now. Even managed a
nice background PNG with qiv. In short, it looks now like a North Korean
edition of Mac OS X D

>
> Incidentally, even the kllingon manpages often list useful cross-
> references at the end of the page. Even the xdm page :-)


As usual, I ended up reading the whole load of it anyway. One thing that
confused me was that the config files in /etc/X11/xdm are hard-linked to /
usr/lib/X11/xdm.

cheers,

Niki

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #5 (permalink)  
Old 02-21-2008, 05:43 AM
Mark South
 
Posts: n/a
Default Re: Chosse session in XDM

Bonjour encore, Niki.

On Mon, 17 Dec 2007 13:34:12 +0000, Niki Kovacs wrote:

> Le Mon, 17 Dec 2007 09:09:58 +0100, Mark South a écritÂ*:
>
>> If you don't need remote login through xdm, it's worth looking at slim
>> as a login manager, which is very lightweight and has a simple session
>> configuration.

>
> Yeah, I know Slim, and I've been using it some time. Except it's
> supposed to run in runlevel 3. Never managed to get the thing to work
> correctly in runlevel 4. Which is a nuisance, when you have your users
> staring at a blinking screen when they log out. Or once in a while, Slim
> won't even fire up, and then there's just the console.


Your description does not gel with my experiences of using slim, but it's
been a while, and my slackbox is now running kdm and KDE everything else
too.

> But I just spent the best part of a cold grey day trying to get a nice
> configuration out of XDM, and heyyy, it's much better now. Even managed
> a nice background PNG with qiv.


You must have a lot of patience. If you had that kind of time and energy
you could simply have themed twm to look like KDE :-)

> In short, it looks now like a North
> Korean edition of Mac OS X D


</modquote>

>> Incidentally, even the kllingon manpages often list useful cross-
>> references at the end of the page. Even the xdm page :-)

>
> As usual, I ended up reading the whole load of it anyway. One thing that
> confused me was that the config files in /etc/X11/xdm are hard-linked to
> / usr/lib/X11/xdm.


Oh don't, you're making me all nostalgic for the 20th century, when men
were men, X was spelt with a capital letter, and configuration files were
REAL configuration files.

Mark
--
Signature warning: HIGHLY INEFFABLE!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #6 (permalink)  
Old 02-21-2008, 05:43 AM
Robby Workman
 
Posts: n/a
Default Re: Chosse session in XDM

On 2007-12-17, Niki Kovacs <mickey@mouse.com> wrote:
> Hi,
>
> How do I choose the session with the XDM login manager? I have TWM and
> XFCE installed. In runlevel 3, when I login as a user, I can fire up XFCE
> with 'startx', since I defined my window manager beforehand with
> 'xwmconfig'. But when I switch to runlevel 4 in /etc/inittab, XDM fires
> up and wants to start TWM.
>
> Any idea where I can define the X session? I leafed through the files in /
> etc/X11/xdm, but to no avail, and unfortunately, the xdm manpage is
> written in some remote klingon slang.



Have a look at the actual content of /etc/X11/xdm/Xsession.
Once you look at the options of using $1 versus $HOME/.xsession
(see lines 104-110), then you can decide which is best for you.

-RW
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #7 (permalink)  
Old 02-21-2008, 05:43 AM
Niki Kovacs
 
Posts: n/a
Default Re: Chosse session in XDM

Le Mon, 17 Dec 2007 14:48:36 +0100, Mark South a écritÂ*:
>
> You must have a lot of patience. If you had that kind of time and
> energy you could simply have themed twm to look like KDE :-)
>


Look ahead for some new distros I'm working on:

- TWbuntu
- FVWbuntu
- Ratpobuntu

The crowd will love it.

Niki
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #8 (permalink)  
Old 02-21-2008, 05:43 AM
+Alan Hicks+
 
Posts: n/a
Default Re: Chosse session in XDM

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 2007-12-17, Mark South <mark.south@null.invalid> wrote:
> Oh don't, you're making me all nostalgic for the 20th century, when men
> were men, X was spelt with a capital letter, and configuration files were
> REAL configuration files.

</modquote>

*sniff* Takin' me back to the days of XFree86-3.something. Please
don't mention configuring X on VESA local bus. I'll cry.

- --
It is better to hear the rebuke of the wise,
Than for a man to hear the song of fools.
Ecclesiastes 7:5
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (GNU/Linux)

iD8DBQFHZt+XrZS6hX/gvjoRAl80AJ98/11hK3Uusc8VJ/B7dFoKadC0nwCfVCY7
O7lKY+mMydVEQXW65kFZ8yE=
=oB0a
-----END PGP SIGNATURE-----
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #9 (permalink)  
Old 02-21-2008, 05:43 AM
Richard James
 
Posts: n/a
Default Re: Chosse session in XDM

Mark South wrote:

>> As usual, I ended up reading the whole load of it anyway. One thing that
>> confused me was that the config files in /etc/X11/xdm are hard-linked to
>> / usr/lib/X11/xdm.

>
> Oh don't, you're making me all nostalgic for the 20th century, when men
> were men, X was spelt with a capital letter, and configuration files were
> REAL configuration files.


My old X programming books call it "X Window System". But I notice that
everyone nowdays calls it the X Windows System, which actually makes more
sense. Sometimes new things are not all that bad after all. Take
directories vs folders for instance[1]. I would call them directories
anyday but the folder analogy makes far more sense that the directory
analogy.

old) You store your files in this directory so that when you run your
program it can load them from the directory.

new) You store your files in this folder so that when you run your program
it can load them from the folder.

Most people associate directories as storage for information about people,
places or businesses. Whereas most people associate folders with cardboard
things you store your paper work in. It is easier to get a person trained
in the business world to relate to the folder analogy. For instance your
accounts are stored in this folder and your accounting program loads the
accounting files out of that folder.

Richard James
[1] Probably started some stupid thread about naming conventions.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #10 (permalink)  
Old 02-21-2008, 05:43 AM
Mark South
 
Posts: n/a
Default Re: Chosse session in XDM

On Wed, 19 Dec 2007 03:14:07 +1000, Richard James wrote:

> Mark South wrote:
>
>>> As usual, I ended up reading the whole load of it anyway. One thing
>>> that confused me was that the config files in /etc/X11/xdm are
>>> hard-linked to / usr/lib/X11/xdm.

>>
>> Oh don't, you're making me all nostalgic for the 20th century, when men
>> were men, X was spelt with a capital letter, and configuration files
>> were REAL configuration files.

>
> My old X programming books call it "X Window System". But I notice that
> everyone nowdays calls it the X Windows System, which actually makes
> more sense.


Well, if you can draw one window you can draw more. We don't talk about
the "brakes system" or the "suspensions system" on your car. So the
first is better.

> Sometimes new things are not all that bad after all. Take
> directories vs folders for instance[1]. I would call them directories
> anyday but the folder analogy makes far more sense that the directory
> analogy.


I still think of them as directories, but when I'm speaking out loud I
always say "folder". Years of working with Mac and Windows people will
do that to one :-)
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 05:05 PM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
www.UnixAdminTalk.com