ThinClients: Difference between revisions
From MDWiki
Jump to navigationJump to search
No edit summary |
|||
(6 intermediate revisions by the same user not shown) | |||
Line 2: | Line 2: | ||
* The user login password is: thinclient | * 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 workstation::port &") | * 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: | * The workstations used are as follows: | ||
** veneon -> | ** veneon -> uqmd11 | ||
** | ** cradle -> uqmd12 | ||
** | ** hermon -> uqmd13 | ||
* The thinclient OS has some configuration settings in /etc/configedit | |||
= Workstations = | = Workstations = | ||
* On the workstations, the vncserver (Xvnc) runs from xinetd on a specific port ( | * On the workstations, the vncserver (Xvnc) runs from xinetd on a specific port (thinclientvnc->5091/tcp); this is configured from /etc/xinetd.d/thinclientvnc: | ||
<code><pre> | <code><pre> | ||
service | service thinclientvnc | ||
{ | { | ||
disable = no | disable = no | ||
Line 19: | Line 20: | ||
user = nobody | user = nobody | ||
server = /usr/bin/Xvnc | server = /usr/bin/Xvnc | ||
server_args = -inetd :1 -query localhost -geometry | server_args = -inetd :1 -query localhost -geometry 1280x1024 -depth 24 -once -fp /usr/share/X11/fonts/misc/ -securitytypes=none | ||
} | } | ||
</pre></code> | </pre></code> | ||
* | * The thinclientvnc port is mapped to 5091/tcp in /etc/services: | ||
<code><pre> | |||
thinclientvnc 5901/tcp | |||
</pre></code> | |||
* GDM is set up as follows: /etc/gdm/custom.conf | |||
<code><pre> | |||
[daemon] | |||
RemoteGreeter=/usr/libexec/gdmgreeter | |||
GtkModulesList= | |||
AddGtkModules=false | |||
[security] | |||
DisallowTCP=false | |||
[xdmcp] | |||
Enable=true | |||
[gui] | |||
[greeter] | |||
[chooser] | |||
[debug] | |||
[servers] | |||
</pre></code> | |||
* To reload these settings after a change both gdm and xinet daemon have to be restarted: | |||
<code><pre> | |||
init 3; sleep 5; init 5; | |||
/etc/init.d/xinetd reload | |||
</pre></code> |
Latest revision as of 09:15, 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 (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