ThinClients: Difference between revisions
From MDWiki
Jump to navigationJump to search
Line 48: | Line 48: | ||
[servers] | [servers] | ||
</pre></code> | |||
* Then both gdm and xinet daemon have to be restarted: | |||
<code><pre> | |||
init 3; sleep 5; init 5; | |||
/etc/init.d/xinetd reload | |||
</pre></code> | </pre></code> |
Revision as of 07:55, 8 April 2009
Thin Client
- The user login password is: thinclient
- The thinclient OS is hacked to open a terminal as root when user logs in, 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 -> uqmd03
- hermon -> uqmd05
- taj -> uqmd13
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]
- Then both gdm and xinet daemon have to be restarted:
init 3; sleep 5; init 5;
/etc/init.d/xinetd reload