ThinClients

From MDWiki
Jump to navigationJump to search

Thin Client

  • The user login password is: thinclient
  • The thinclient OS is hacked to open a terminal as root when user logs in (xterm command placed in /etc/init.d/detect_ftp.sh), from which a vnc connection to a workstation can be opened (run /home/user/start-linux.sh, which just contains "vncviewer -geometry 1280x1024 -fullscreen workstation::port &")
  • The workstations used are as follows:
    • veneon -> uqmd11
    • cradle -> uqmd12
    • hermon -> uqmd13
  • The thinclient OS has some configuration settings in /etc/configedit

Workstations

  • On the workstations, the vncserver (Xvnc) runs from xinetd on a specific port (thinclientvnc->5091/tcp); this is configured from /etc/xinetd.d/thinclientvnc:
service thinclientvnc
{
disable = no
socket-type = stream
protocol = tcp
wait = no
user = nobody
server = /usr/bin/Xvnc
server_args = -inetd :1 -query localhost -geometry 1280x1024 -depth 24 -once -fp /usr/share/X11/fonts/misc/ -securitytypes=none
}
  • The thinclientvnc port is mapped to 5091/tcp in /etc/services:
thinclientvnc 5901/tcp
  • GDM is set up as follows: /etc/gdm/custom.conf
[daemon]
RemoteGreeter=/usr/libexec/gdmgreeter
GtkModulesList=
AddGtkModules=false

[security]
DisallowTCP=false

[xdmcp]
Enable=true

[gui]

[greeter]

[chooser]

[debug]

[servers]
  • To reload these settings after a change both gdm and xinet daemon have to be restarted:
init 3; sleep 5; init 5;
/etc/init.d/xinetd reload