Subject: Re: [vserver] ubuntu as vserver guest
From: Ekkard Gerlach <ekkardgerlach@aiai.de>
Date: Mon, 20 Dec 2010 17:26:04 +0100

Hi, 
gdm not starting. 


In small steps: 

* Jeff Jansen wrote:

> http://linux-vserver.org/Upstart_issues
> 
> http://wiki.raceme.org/dokuwiki/tof:computer:vserver:upstart_ubuntu_lucid

thx. I did 
    echo plain > /etc/vservers/<vservername>/apps/init/style
and ubuntu starts. I moved some other scripts in /etc/init.d/ and /etc/init/, 
did some other stuff like mentioned in 
 http://wiki.raceme.org/dokuwiki/tof:computer:vserver:upstart_ubuntu_lucid
and I can enter ubuntu.

rex5:~# vserver xubu1004 enter
root@xubuntu104:/#

Now I want to start gdm to log in: 

root@xubuntu104:/etc# service gdm start
gdm start/running, process 10097

root@xubuntu104:/etc# ps ax | grep gdm
10211 ?        Ss     0:00 /bin/bash /etc/gdm/failsafeXServer
10226 ?        S      0:00 xinit /etc/gdm/failsafeXinit /etc/X11/xorg.conf.failsafe
-- /usr/bin/X -br -once -config 
/etc/X11/xorg.conf.failsafe -logfile /var/log/Xorg.failsafe.log
10232 pts/3    S+     0:00 grep --color=auto gdm

is gdm running? 
After about 20 seconds the gdm disappears automatically from process list:

root@xubuntu104:/etc# ps ax | grep gdm
10236 pts/3    S+     0:00 grep --color=auto gdm

root@xubuntu104:/# cat /etc/X11/xorg.conf.failsafe
Section "Device"
        Identifier      "Configured Video Device"
        Driver          "vesa"
EndSection
Section "Monitor"
        Identifier      "Configured Monitor"
EndSection
Section "Screen"
        Identifier      "Default Screen"
        Monitor         "Configured Monitor"
        Device          "Configured Video Device"
EndSection


/etc/gdm/custom.conf:
=====================
[daemon]
DefaultSession=xubuntu

[xdmcp]
Enable=true
DisplaysPerHost=5
Port=177

[security]
DisallowTCP=false
[debug]
Enable=true

[greeter]
IncludeAll=true


Why is X starting? Can I tell gdm somewhere not to start X? xinit seems to do that.

On SuSE systems there a option that kdm should not start X. Where is the option here?

Or some complication with vserver?

thx 
Eckard