• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 437
  • Last Modified:

Upstart, xdmcp, no vts...

Hello Experts,

I've set up an Ubuntu 9.10 pc as a dedicated terminal client by adding the following file to /etc/init:

### /etc/init/xdmcp_session.conf ###

start on (filesystem
        and started hal
        and tty-device-added KERNEL=tty10
        and (graphics-device-added or stopped udevtrigger))

stop on runlevel [!2]

respawn
respawn limit 10 120
exec /usr/bin/X :2 vt10 -query myterminal-server
#########

Additionally, I've disabled the /etc/init/gdm.conf file so that the client starts up with just a greeter screen from the serve on vt10. This all works fine, but the other vt's are all blank. Switching to say, vt1 with ctrl-alt-F1 just results in a black screen. There are tty's running, though:
mrhanky@closet44:~$ ps auwwx | grep tty
root      1106  0.0  0.0   5988   604 tty4     Ss+  Jan04   0:00 /sbin/getty -8 38400 tty4
root      1110  0.0  0.0   5988   604 tty5     Ss+  Jan04   0:00 /sbin/getty -8 38400 tty5
root      1128  0.0  0.0   5988   608 tty2     Ss+  Jan04   0:00 /sbin/getty -8 38400 tty2
root      1129  0.0  0.0   5988   604 tty3     Ss+  Jan04   0:00 /sbin/getty -8 38400 tty3
root      1131  0.0  0.0   5988   608 tty6     Ss+  Jan04   0:00 /sbin/getty -8 38400 tty6
root      1499  0.2  3.9 194172 81896 tty10    Ss+  Jan04   2:36 /usr/bin/X :2 vt10 -query myterminalserver
root      1528  0.0  0.0   5988   604 tty1     Ss+  Jan04   0:00 /sbin/getty -8 38400 tty1

Any ideas?
0
alpha-lemming
Asked:
alpha-lemming
  • 2
1 Solution
 
gheistCommented:
You need terminfo stuff on your system for getty
0
 
alpha-lemmingAuthor Commented:
Hmm, everything works when I reenable the /etc/init/gdm.conf file. I'll have to take a peek in there, I guess....
0
 
alpha-lemmingAuthor Commented:
Wasn't really the problem, but good to know.
0

Featured Post

[Webinar] Cloud and Mobile-First Strategy

Maybe you’ve fully adopted the cloud since the beginning. Or maybe you started with on-prem resources but are pursuing a “cloud and mobile first” strategy. Getting to that end state has its challenges. Discover how to build out a 100% cloud and mobile IT strategy in this webinar.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now