You are not logged in.

#1 2009-08-13 09:06:14

my0pic
Member
From: Melbourne, Australia
Registered: 2008-05-23
Posts: 206

Start user on display :0 & gdm display :1 ?

I'm trying to get a user auto logged in to diplay :0 and gdm to start its logon screen on display :1
I can get my user logged in ok with this line in /etc/inittab

x:5:once:/bin/su bd -l -c "/bin/bash --login -c startx -- :0 >/dev/null 2>&1"

but I can't get gdm to play nice and start on :1. I've tried appending " && respawn:/usr/sbin/gdm -nodaemon" to
the end of the above line in /etc/inittab and also altering the command line in the server setup section of gdmsetup
but that didn't work either.

[server-Standard]
name=Standard server
command=/usr/bin/Xorg :1 -audit 0
chooser=false
handled=true
flexible=true
priority=0

Any clues as to how this can be done?

Offline

#2 2009-08-14 03:46:41

insanemal
Member
From: Brisbane/Australia
Registered: 2009-05-05
Posts: 140

Re: Start user on display :0 & gdm display :1 ?

This is a quote straigh out of another post

I have gdm relatively early in rc.conf and got the same thing, the agettys getting spawned too late.
In /etc/gdm/custom.conf append this line in the [servers] section:


0=Standard vt7

But I would say you want to change it to vt1

Offline

#3 2009-08-14 16:15:04

my0pic
Member
From: Melbourne, Australia
Registered: 2008-05-23
Posts: 206

Re: Start user on display :0 & gdm display :1 ?

I've tried that but gdm will only start on tty7 with just a single server. When I start two servers

0=Standard device=/dev/tty7
1=Standard device=/dev/tty8

and have gdm set for a user to auto login, the user session is started first,continues in the background and then it switches to the second server with the gdm login screen. I then have to switch back to tty7 for the auto logged in user session. That needs to be the other way around so that on startup the users desktop is shown with the gdm login screen on another tty.
So then I tried adding the following to the daemon section of /etc/gdmcustom.conf

FirstVT=8
VTAllocation=true

but that didn't budge gdm from tty7.

Offline

Board footer

Powered by FluxBB