LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   Is there a console / text based XDM / GDM? (https://www.linuxquestions.org/questions/linux-general-1/is-there-a-console-text-based-xdm-gdm-809421/)

frenchn00b 05-22-2010 01:59 AM

Is there a console / text based XDM / GDM?
 
Hello,

I would like that users can log to X but this with a text based xdm

+ how to active it as last in inittab since it is text

what contains my inittab
Code:

1:2345:respawn:/sbin/getty 38400 tty1
2:23:respawn:/sbin/getty 38400 tty2
3:23:respawn:/sbin/getty 38400 tty3
4:23:respawn:/sbin/getty 38400 tty4
5:23:respawn:/sbin/getty 38400 tty5
6:23:respawn:/sbin/getty 38400 tty6
7:23:respawn:/sbin/getty 38400 tty7
8:23:respawn:/sbin/getty 38400 tty8


Mr-Bisquit 05-22-2010 03:34 AM

The dm is usually ran as a daemon.
Not sure how to do it on Linux. On a BSD machine, I can just add the dm to rc.conf or not.
Yeah, just find the daemon and disable it.

catkin 05-22-2010 04:24 AM

Or use startx &

frenchn00b 05-22-2010 04:32 AM

Quote:

Originally Posted by catkin (Post 3977390)
Or use startx &

I would like to avoid users to start startx
with a console based login manager (text)

frenchn00b 05-22-2010 04:33 AM

Quote:

Originally Posted by Mr-Bisquit (Post 3977356)
The dm is usually ran as a daemon.
Not sure how to do it on Linux. On a BSD machine, I can just add the dm to rc.conf or not.
Yeah, just find the daemon and disable it.

thanks. I seek it's tar.gz ...
http://www.google.com/search?q=dm+lo...nt=iceweasel-a

catkin 05-22-2010 09:12 AM

Quote:

Originally Posted by frenchn00b (Post 3977396)
I would like to avoid users to start startx
with a console based login manager (text)

That could be done by modifying /etc/profile to run startx & -- but not for root!

Bratmon 05-22-2010 09:13 AM

I've heard of this:
http://cdm.ghost1227.com/

catkin 05-22-2010 10:12 AM

Quote:

Originally Posted by Bratmon (Post 3977585)
I've heard of this:
http://cdm.ghost1227.com/

Very interesting. Thanks for the info :)

frenchn00b 05-23-2010 02:22 AM

Quote:

Originally Posted by catkin (Post 3977638)
Very interesting. Thanks for the info :)


Nice
Code:

guest@console-display-manager:/[30]$ hello

Hello to you too.

guest@console-display-manager:/[30]$ hello world

My name isn't world!

it sounds great this tool, even it replys the human language basics.

Is there some others like cdm, althouhg it looks what we need
i chekc whether it uses .dmrc


Massive CDM Update!

2010-01-04 14:49:07 by Ghost1227 in Updates (2 comments) permalink

Quote:

CDM 0.4 was finally released yesterday, and believe me it was worth the wait! We’ve incorporated a whole bunch of new features, notably the ability to use custom .xinitrc files and pass custom options to the X server. Read the CHANGELOG for full details.

Here a snapshot :
http://img99.imageshack.us/img99/1926/cdmsnapshot1.png

but login and password arent missing and it requires some more manager ... to edit config.

frenchn00b 05-23-2010 02:39 AM

screenshot

In the code, it does not seem that it prompts :
LOGIN
PASSWORD

If yes, how to add it to /etc/inittab, in particularly there below?
Code:

1:2345:respawn:/sbin/getty 38400 tty1
2:23:respawn:/sbin/getty 38400 tty2
3:23:respawn:/sbin/getty 38400 tty3
4:23:respawn:/sbin/getty 38400 tty4
5:23:respawn:/sbin/getty 38400 tty5
6:23:respawn:/sbin/getty 38400 tty6
7:23:respawn:/sbin/getty 38400 tty7
8:23:respawn:/sbin/getty 38400 tty8



Code:

  GNU General Public License for more details.                                                                                                                                                     
#                                                                                                                                                                                                         
#      You should have received a copy of the GNU General Public License                                                                                                                                 
#      along with this program; if not, write to the Free Software                                                                                                                                       
#      Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,                                                                                                                                       
#      MA 02110-1301, USA.                                                                                                                                                                               
                                                                                                                                                                                                         
name="Console Display Manager"                                                                                                                                                                           
ver="0.5.2"                                                                                                                                                                                               
info="\e[1;34m==>\e[1;37m"                                                                                                                                                                               
error="\e[1;31m==>\e[1;37m"                                                                                                                                                                               
success="\e[1;32m==>\e[1;37m"                                                                                                                                                                             
reset="\e[0m"                                                                                                                                                                                             
# Ignore SIGINT (^C) and SIGTSTP (^Z)                                                                                                                                                                     
trap "" 2 20                                                                                                                                                                                             
userclientrc=$HOME/.xinitrc                                                                                                                                                                               
sysclientrc=/etc/X11/xinit/xinitrc                                                                                                                                                                       
# userserverrc=$HOME/.xserverrc                                                                                                                                                                           
# sysserverrc=/etc/X11/xinit/xserverrc                                                                                                                                                                   
                                                                                                                                                                                                         
# Source cdm configuration                                                                                                                                                                               
if [[ -f /etc/cdmrc ]]; then


frenchn00b 05-23-2010 03:22 AM

I would actually need two text-mode logins manager (starting X automatically (so no need of typing startx)) for the tty9 and tty10. Any ideas?


All times are GMT -5. The time now is 02:51 PM.