[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

RE: [K12OSN] Special logins..........



Hi Russ,


> 
> gdm is the Red Hat preferred X display startup tool, and even 
> if you start a KDE window manager, odds are it is 'gdm' 
> running the show behind the scenes at the central server -- 
> test thus:
> 
>   ps afx | grep gdm
> 
> and it you see a line, it is there...

I get the following

12926 pts/1	S	0:00	\_ grep gdm
  
 
> the 'cat' types the two line script -- I was showing the 
> directory, and the permissions, and the script all on one 
> line, to save typing a couple of <enter>'s   -- false 
> economy <grin> -- scripting is not hard -- an advanced LUG 
> presentation I used as a presentation outline 18 months agos 
> is at: 
>   http://www.colug.net/notes/0012mtg/COLUG-0012.html
>   

Thanks. I was getting crossed eyed. Slowly looking through it again has helped.

> > > [root couch Sessions]# pwd ; \ls -al ; cat Konsole
> 
> -- this is where the script goes
> > > /etc/X11/gdm/Sessions
> 
> - this shows the +x permissions ...
> > > total 8
> > > drwxr-xr-x    2 root     root         1024 Jun  4 01:18 .
> > > drwxr-xr-x    6 root     root         1024 May 10 19:41 ..
> > > lrwxrwxrwx    1 root     root            7 May 10 19:41 default -> Default
> > > -rwxr-xr-x    1 root     root           40 Apr 15 17:40 Default
> > > -rwxr-xr-x    1 root     root           49 Apr 15 17:40 Failsafe
> > > -rwxr-xr-x    1 root     root           46 Apr 15 17:40 Gnome
> > > -rwxr-xr-x    1 root     root           44 Apr 17 18:16 KDE
> > > -rwxr-xr-x    1 root     root           36 Jun  4 01:17 Konsole
> > > -rwxr-xr-x    1 root     root          622 Jun  2 12:30 XFce
> 
> -- script is here
> > > #!/bin/bash
> > > 
> > > exec /usr/bin/konsole
> 
> -- all done
> > > [root couch Sessions]#
> 
> 'taint hard -- start, and you'll find it is easy.
> 
> -- Russ

Cool,

Soon I'll be able to create login scripts for Linux, as well as netware, NT, and DOS stuff.

I take it I can run gdmconfig from KDE and the Win login will work.

Cheers,
Bert





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]