Upstart, xdmcp, no vts...

Posted on 2010-01-05
Last Modified: 2013-12-21
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 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?
Question by:alpha-lemming
    LVL 61

    Accepted Solution

    You need terminfo stuff on your system for getty

    Author Comment

    Hmm, everything works when I reenable the /etc/init/gdm.conf file. I'll have to take a peek in there, I guess....

    Author Closing Comment

    Wasn't really the problem, but good to know.

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    Why You Should Analyze Threat Actor TTPs

    After years of analyzing threat actor behavior, it’s become clear that at any given time there are specific tactics, techniques, and procedures (TTPs) that are particularly prevalent. By analyzing and understanding these TTPs, you can dramatically enhance your security program.

    SSH (Secure Shell) - Tips and Tricks As you all know SSH(Secure Shell) is a network protocol, which we use to access/transfer files securely between two networked devices. SSH was actually designed as a replacement for insecure protocols that sen…
    You ever wonder how to backup Linux system files just like Windows System Restore?  Well you can use Timeshift in Linux to perform those similar action.  This tutorial will show you how to backup your system files and keep regular intervals. Note…
    Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
    This tutorial goes over how to archive and restore FreeBSD jails that are managed by ezjail.

    759 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    8 Experts available now in Live!

    Get 1:1 Help Now