it-advisor.ru: Thinstation 5.2 монтирование USB NTFS флешки rw (1/1) | Thinstation по русски
Добро пожаловать, Гость
Логин: Пароль: Запомнить меня
Отключите пожалуйста ADblock, если включен...

ТЕМА: Thinstation 5.2 монтирование USB NTFS флешки rw

Thinstation 5.2 монтирование USB NTFS флешки rw 19 Сен 2014 17:44 #2052

  • ZGG
  • ZGG аватар
Здравствуйте.
Собрал образ для HP t5730 и столкнулся такой проблемой, что флешки NTFS монтируются только Read Only режиме (ro):
/dev/sda1 on /mnt/usbdevice/sda1 type ntfs (ro,relatime,uid=0,gid=0,fmask=0177,dmask=077,nls=default,disable_sparse,errors=continue,mft_zone_multiplier=1)
Флешки FAT - все ок:
/dev/sda1 on /mnt/usbdevice/sda1 type vfat (rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=ascii,shortname=mixed,errors=remount-ro)

Вот конфигурация сборки образов.
################################################
### ---     Thinstation Build Config     --- ###
################################################
#
#
# This is Thinstation s basic setup file. In this file you decide which
# hardware, programs and features to be included in the Thinstation
# boot image generated by running "./build".
#
# You can customize/limit the possibilities in the thinstation.conf
# files later.
#
# Anything after a "#" is a comment. You activate "things" by removing
# the "#" and remove "things" by putting a "#" in front of them.
#
# First we define which modules to include. Modules are hardware
# drivers. NEVER include more than necessary - the more modules, the
# longer boot time.

########################################################
### --- Machine Modules to include in boot image --- ###
########################################################
# A machine profile is a set of modules for a specific set of hardware
# components like a thinclient with adapters. It does not include any
# filesystem modules, those need to be selected individualy. Making a
# a machine profile is a two step process. First you will need to make
# an allmodules build like "./build --allmodules" with the extensions-x
# package included. Once the client machine is booted with that image
# you can open and xterm or telnet in and run "hwlister.sh". hwlister.sh
# will compile some lists and attempt to post them to the pxe server assigned
# to the client. If the pxe server is this workstation and you are hosting
# files directly out of this build env, you can then run
# "./mkmachine SOME-MODEL" and the files will be put into the machine folder
# under that model name. Now all you have to do is add a line to this file
# like "machine SOME-MODEL" and you will no longer have to make
# allmodules builds. If this is not the pxe server, you will have to
# move stuff around on your own, but the most important files are
# modules.list and firmware.list.

################################################
### --- Modules to include in boot image --- ###
################################################
# Any modules may be added as "module" or "module_pkg".
# If defined as a "module", the driver is included in the boot image.
# If defined as a "module_pkg", the driver is added from outside the
# image, such as from a tftp server.  See note below for more details.
#
# Normally you should use "module".  Only use "module_pkg" if you want
# to dynamically load modules.
# Note: If you create a module_pkg network driver, and decide to load it
#       from a tftp server, it won t work.  This is because the image
#       won t have a network driver to get the module_pkg in the first
#       place.

#!Hardware
#!!Machine module list
#machine m704				# Gigabyte m704 Rover PC
#machine WYSE9150se			# WYSE 9150se Thin Client
#machine NT-A3500			# Foxconn AMD E-350 Barebone
#machine NT-535				# Foxconn Intel D525 Barebone
#machine Dell-FX170			# Dell FX170 D525 Atom Machine
#machine VMWare				# A good set of modules for a VmWare Virtual Machine
#machine Virtualbox-4.1			# A good set of modules for a Virtualbox Virtual Machine
#machine VIA-Epia-CLE266		# VIA Epia/Eden based on the the CLE266 chip. Rather common in thin clients a few years old
#machine classic_generic		# Big list of modules that you can choose by unremarking them
#machine IGEL-M300C                     # Igel CX700 Via
machine HP-t5730                       # HP CX700 Via

#!!Wireless Stuff
#package wpa_supplicant
#package wireless
#package wifi-connect
#!!!Misc Modules

#!!Filesystem Support
# Every mounted device needs a filesystem, so choose which ones you need.
module usb-storage
module autofs4          	# Automount and autofs support
package aufs
module fuse
#module isofs            	# ISO9960 file system support for CDRoms
#module udf			# CDRom UDF file system support
module vfat             	# Fat and VFat file system support
module ntfs             	# NTFS file system support
#module ext2             	# Ext2 file system support
#module ext3	            	# Ext3 file system support
#module ext4			# Ext4 file system support
#module nfs             	# NFS file system support
#module cifs			# CIFS support (use either this or smbfs - not both)

#################################################
### --- Packages to include in boot image --- ###
#################################################

# A package is a program or utility.
# Any packages may be added as "package" or "pkg".
# If defined as a "package", the program is included in the boot image.
# If defined as a "pkg", the program is added from outside the image.
# Normally, you should use "package".  Only use "pkg" if you want to
# dynamically load programs.


# --- Packages to include in boot image
# --- Packages below may be "package" or "pkg"
#!!Miscellaneous
package aufs
package ts-classic              # The classic ts logic for network/netfiles/hostname/mounting/telnetd/telnet/playcd
#package automount
package telnetd
package autonet
package netfiles
package ntfs-3g      # need tot write to usb stora
#package acpi
#package networkmanager
#package udisks-glue
#package ntp			# Utility to obtain date & time from network
#package sound-esd		# Enable sound-esd or sound-nasd if you want to be able to control
#package sound-nasd		#  sound on your thin client from another computer or
                        	#  your remote session.
#package alsa
#package gnome-media
#package gnome-network-properties
#package gnome-core
#package volumeicon
#package kismet
#package gst-plugins-base
#package gst-plugins-good
#package crystalhd
#package libva
#package iptables		# IP Tables support
#package cpufreq
#package cpuspeed
#package wine			# Windows Application Execution Platform

#!!X related
# --- XOrg 7.7
#package xorg7-v4l
#package xorg7-vesa		#A fallback driver that works with almost everything. Does allow resolution changes
#package xorg7-vmware
#package xorg7-ati		#ATI video driver for most modern ATI chipsets. Usually requires several firmwares
#package xorg7-nouveau		#New opensource nvidia driver
#package xorg7_nvidia		#Proprietary nvidia driver
#package xorg7_nvidia_64         # Additional 64bit module
#package xorg7-openchrome	#Via Video Chipsets driver
#package xorg7-geode		#Geode Video driver
#package xorg7-intel		#Intel video driver for most modern chipsets except the GMA3500/3600
#package xorg7-sis

#!!Locale or localization files for keyboard and fonts.  (Language/Country)
#package locale-cs_CZ  # Czech
#package locale-da_DK  # Danish
#package locale-de_DE  # German
#package locale-en_GB  # English-Great Britain
package locale-en_US  # English-US
#package locale-es_ES  # Spanish
#package locale-fi_FI  # Finnish
#package locale-fr_BE  # French Belgium
#package locale-fr_CA  # French Canadian
#package locale-fr_CH  # French Switzerland
#package locale-fr_FR  # French
#package locale-hr_HR  # Croation
#package locale-hu_HU  # Hungarian
#package locale-it_IT  # Italian
#package locale-ja_JP  # Japanese
#package locale-nb_NO  # Norwegian (bokmГҐl)
#package locale-pl_PL  # Polish
#package locale-pt_PT  # Portuguese
#package locale-pt_BR  # Portuguese-Brazil
#package locale-ru_RU  # Russian
#package locale-sv_SE  # Swedish
#package locale-tr_TR  # Turkish

#!Applications
#!!Connection Package types.  Choose *at least* one!
#package freerdp		# X RDP Client - fork of rdesktop
package rdesktop		# X RDP client for Windows Terminal Services (ver 1.7)
#package vncviewer		# VNC client (vncviewer)
#package xorg7vnc		# Remote Control Client Workstation
#package ica			# Citrix ICA client support
#package tarantella		# Tarantella client support
#package xnest			# XDM in a window client
#package urxvt            	# Light Xterm Client (vt102)
#package xterm           	# Xterm Client (vt220)
#package ssh 			# Secure Shell client
#package tn5250          	# 5250 terminal emulator
#package dillo			# Dillo light web browser
#package thinlinc		# Cendio ThinLinc client support
#package nx              	# No Machine NX client
#package 2x			# 2X client
#package java			# Java runtime
#package firefox_lowmem		# Firefox 3 for low resource machines
#package firefox		# Firefox current Web Browser
#package chrome			# Google Chrome Web Browser
#package kiosk			# Rkiosk Plugin for Firefox
#package flash_lowmem		# Flash 9 browser plugin for firefox and low resource machines
#package flash			# Flash Current
#package filezilla		# FileZilla FTP Client for X
#package git			# GIT Version Control System
#package gparted		# Gnome Partition Manager
#package open-vm-tools
#package medit			# Notepad
#package mplayer		# DVD and video player
#package vmview                 # VMware Open-View Client, no PCoIP
#package vmviewpcoip            # VMware Open-View Client, PCOIP
#package xbmc			# XBMC Media Center for X
#package evince			# X PDF Viewer

#!!Window Managers. Choose no more than 1 window manager.
# Not needed if you don t want to manage windows.
#package openbox		# A spartin clean/fast window manager.
#package xdesktop-kiosk		# A locked down desktop kiosk using the openbox wm (See packages/xdesktop-kiosk/build/conf for 
				# more help.
#package icewm			# "ICEWM" window manager.  Makes TS a light workstation.
#package icewm-theme-xp
#package icewm-themes		# Extra IceWM themes
#package icewm-theme-bernstein
#package icewm-theme-bluecrux
#package icewm-theme-liquid

#package xfwm4
#package xfwm4-extra
#package terminal		# Terminal emulator for xfwm4 -- Pulls in xfwm4
#package thunar			# File Manager for xfwm4 -- Pulls in xfwm4

#!!Window Manager Utils
#package idle-shutdown		# Package that lets you specify automatic shutdown settings and logic.
#package wbar         		# Adds icons to desktop
#package idesk

#!!Other services
#package www 			# Web access to client.  From a browser: "http://<IP number>"
                        	#  The standard page is for general user settings, administrative access
                        	#  is on port 6800.
package lp_server		# Remote printing daemon (JetDirect compatible)
#package lpr             	# LPR Print Server, for use with samba-server package
#package lprng           	# LPRng Print Server, supports network based printing
#package cups
#package sshd 			# Dropbear secure shell server
#package tftpd 			# Built in tftpd server. Useful for making a tftpserver
				#  for thinstation on a WAN over a slow link.
#package samba-server		# Samba server FS Support, allows you to share
                        	#  local floppy/cdrom/hd/printer to other Windows
				#  PCs. Needs supermount for removeable media.
#package samba-client		# Samba smbclient, gives a shell like environment to access an samba server
#package hdupdate       	# Package for updating TS images on a hardisk over a network connection
#package scp	            	# Add ability to download files over internet using scp.  This package
                        	#  adds some networking based options for downloading configuration files or
                        	#  in using hdupdate package.
#package openvpn                # OpenVPN Client Support


#!!PCSCD Card Readers
#package gemplus410             # Card reader Gemplus 410 (Serial) and Gemplus 430 (USB)
#package ccidreader             # Generic USB card reader


#!!Miscellaneous
#package gtk-2.0			# Full gtk-2.0 plus clearlooks theme
package icons-cursor		# Anti Aliased Mouse Cursor Theme
#package icons-hicolor           # Hi-Color icons for some applications and themes. Does not really contain any icons.
#package icons-gnome             # gnome Hi-Color icons theme. Needed by most other icon themes.
#package icons-tango             # tango Hi-Color icons theme
#package icons-neu               # neu Hi-Color icons theme
#package fonts-misc
#package fonts-jis-misc		# Japanese Industrial
#package fonts-util
#package fonts-cyrillic
#package fonts-Speedo-Bitstream
package fonts-TTF-BH		# This one works nicely most of the time and is small.
#package fonts-TTF-vera
#package fonts-TTF-liberation
#package fonts-75dpi-Adobe
#package fonts-75dpi-Adobe-Utopia
#package fonts-75dpi-BH
#package fonts-75dpi-BH-Typewriter
#package fonts-75dpi-Bitstream
#package fonts-100dpi-Adobe
#package fonts-100dpi-Adobe-Utopia
#package fonts-100dpi-BH
#package fonts-100dpi-BH-Typewriter
#package fonts-100dpi-Bitstream
#package fonts-Type1-Adobe-Utopia
#package fonts-Type1-BH
#package fonts-Type1-Bitstream
#package fonts-Type1-IBM
#package fonts-Type1-xfree86
#package lshw			# list hardware
#package e3 			# Basic vi like Editor
#package rox			# Basic File Manager
#package debug			# metapackage to include other debugging packages and stop during bootup to check things.
#package extensions		# Adds various shell commands, will increase image size.
#package extensions-x		# Adds various utility s for the X Environment !!!! INCLUDES hwlister.sh !!!!
#package eGalax                 # eGalax TouchKit Drivers/Utility for serial and usb touchscreens by EETI.
#package installer		# Wipes a drive, makes partitions and downloads thinstation from a pxe server
#package devstation		# Starts a tftp server that hosts files from the boot-images/pxe folder
#package hwlister

# Parameters
########################################
### --- Miscellaneous Parameters --- ###
########################################
#!!Basic

#param fastboot       true				# Mangles the filesystem a special way as to improve boot spead and reduce
							# memory utilization. Cool/Dangerous . Harder to dubug other packages. (Finishing Touch)
							# Set to 'true' to enable or 'lotsofmem' for slightly slower booting but no squash lag on app launch.
#param tsuser         tsuser                            # Name of the user that thinstation will run as. Needs userauto package.
#param tsuserpasswd   pleasechangeme			# Do Change! Console/telnet password for non-root

param rootpasswd     pleasechangeme			# Do Change!  Console/telnet password for root
                                        		# If this is enabled, Telnetd will be enabled.
param xorgvncpasswd  pleasechangeme			# VNC Access Password
param storagepasswd  pleasechangeme			# Password for storage server
param dialuppasswd   pleasechangeme			# Password for dialin account
param sambapasswd    pleasechangeme  			# Password for samba shares when using user mode security
#param kernelcmdline "radeon.modeset=0"                 # Add additional kernel command lines. e.g. disable radeon framebuffer
#param stripelf       yes				# Strip extraneous information from elf binaries (Maybe not Safe)
#param acpisupport    disable				# Tells the kernel not to load acpi modules. (Breaks some Intel Chipsets if disabled)
#param uvesafb        disable				# Disable uvesafb (legacy option like modesetfb)
#param extra_vid      LVDS-1:d				# Add an extra video= parameter to kernel cmd line (good for disabling outputs on video cards)
param bootlogo       true				# Enable or Disable the use of the Boot splash.
param boottheme	     default           			# Backgound picture during boot
#param splash	     verbose				# kernel splash setting (0=off, silent or verbose (default=silent)
param splash	     silent
param fbmtrr         0                                  # MTRR value for uvesafb (default = 0, 4 is the best) grep your log to make sure you have not set it to high
#param fbnocrtc      true                               # This is usually a good thing.
param fbsm           ywrap                              # Window scrolling method (redraw, ypan, ywrap) ywrap is best, but may not work correctly for all people
#param fbvtotal       16                                # Override Video Bios Reported Memory in MB
#param fbmaxhf        67                                # Override Video Negotiated Max Horizontal Frequency
#param fbmaxvf        61                                # Override Video Negotiated Max Vertical Frequency
#param fbmaxclk       155                               # Override Video Negotiated Max Clock Frequency
#param fbnoedid       true                              # Don t do video edid
#param bootresolution 1024x600-32                       # Resolution used during Thinstation boot.
#param bootresolution 1024x768-32                        # You can wright your own resolution mode here, if you know it.
#param bootresolution 1152x864-32
#param bootresolution 1280x768-32
#param bootresolution 1366x768-32                       # Otherwise, you may want to refer to the vbe_modes.list you created with hwlister.sh
param bootresolution 1280x1024-32                      # for modes that your card supports.
#param bootresolution 1400x900-32                       # It is also used by xrandr if no xrandr options are specified.
#param bootresolution 1680x1050-32
#param bootresolution 1920x1080-32
#param bootresolution 1400x1050-32

#param desktop file:./backgrounds/Hive_Lite.jpg		# Custom image to load as desktop background
param defaultconfig  thinstation.conf.buildtime  	# The file with default setup.  No other config file is found
                                                 	#  during boot.
param basename       thinstation     			# Used for all config/tftp/scp file names
param basepath                      		# Used to determine path to tftp/scp files
param baseurl        http://www.doncuppjr.net		# Used to determine url to wget files
#param keyfile        ./id_rsa       			# Path for private key file used for ssh/scp
#param knownhosts     ./known_hosts  			# Path for ssh known_hosts file for ssh/scp
#param localpkgs      true				# to determine is PKG files are to be loaded locally
#param fulllocales    true	      			# Use full locale support for packages
#param icaencryption  false      			# Use ica encryption support, add 290k to image
param haltonerror    false				# Will halt on error, default is true
param hardlinkfs     true
param sametimestmp   true                               # When enabled, the timestamps for all files and folders will be set to 00:00 of todays date in your timezone
param initrdcmd	     "squashfs"				# Compression mode and level of initrd file. none, gzip -9, lzma -9 ,bzip2 -9
#param squashopt      "-comp xz"
param bootverbosity   3          			# Increased vebosity when booting TS
                                			#   0 no verbose messages
                                			#   1 boot
                                			#   2 network
                                			#   4 init
                                			#   8 kernel
                                			#  16 modules
                                			#  32 packages
                                			#  64 email bootlog file to SMTP server & user set in
                                			#     thinstation.conf file.  This will only work
                                			#     if networking is working.
                                			#
                                			#  Combinations can be used (e.g. 24 does Kernel and Module Messages)

#!!Advanced
# Leave this alone unless you can t download (wget required on your Linux box):
param downloads         /downloads
param bootimages        "iso syslinux pxe"
param syslinuxtheme     "default"
#param httpproxy	http://192.168.1.2:8080

#param bootfssize     50%                               # Modify the size of the tmpfs filesystem

package alltimezone
param allres		false		# Includes a lot of resolution splash images for live-cd s
param allfirmware	true		# Includes a lot of firmwares for live-cd s
param mesa_3d disable
param blacklist         "tusbd.ko"
param blacklist_grp     "gpu bluetooth ata hwmon md sound wireless cdrom fs acpi mac80211 mac802154 media staging power cpufreq firewire firmware i2c leds memstick \
			mfd message misc mmc mtd parport pcmcia platform pps ptp ssb target thermal tty w1 uio vfio ieee802154 ppp slip crypto char bcma base dca dma  \
			video hv arch lib security scsi tablet touchscreen serio 802 9p batman-adv ceph dns_resolver ipv4 key llc netlink packet sched sunrpc unix xfrm \
			8021q atm bridge dccp dsa ipv6 l2tp netfilter openvswitch rds sctp tipc vmw_vsock pci block hid image serial class storage virtio"
module uvesafb
AUDIO_LEVEL=90
MIC_LEVEL=0
SESSION_0_TYPE=rdesktop
SESSION_0_AUTOSTART=on
GTK_THEME=Clearlooks
NET_USE=BOTH
NET_USE_DHCP=on
NET_HOSTNAME=ts_*
NET_FILE_ENABLED=true
NET_TELNETD_ENABLED=ON
TIME_ZONE=America/Los_Angeles
NET_TIME_SERVER=us.pool.ntp.org
NET_REMOTE_ACCESS_FROM="0.0.0.0"
TFTP_BLOCKSIZE=1024
LOCALE=en_US
SCREEN_BLANK_TIME=10
SCREEN_STANDBY_TIME=20
SCREEN_SUSPEND_TIME=30
SCREEN_OFF_TIME=60
VESAMODE=false
RECONNECT_PROMPT=On
###############################################
# -- Thinstation sample configuration file -- #
###############################################
#
# This file must be named "thinstation.conf<xxx>" where <xxx> can be:
# .buildtime   Defines the defaults build into the image (note the leading .)
# .network     Default global config file loaded from the TFTP server.
# .user        Config file on local storage.
# -<name>      Specific config file on the TFTP server for the terminal
#              "name" (e.g. thinstation.conf-paul). Requires thinstation.hosts. 
# .group-<id>  Config file for a group of terminals (e.g. with printer setup
#              for those terminal with local printers. Requires thinstation.hosts.
# -<IP>        Specific config file on the TFTP server for the terminal with
#              the IP number <IP> specified (e.g. thinstation.conf-10.0.0.9).
# -<MAC>       Specific config file on the TFTP server for the terminal with 
#              the MAC address specified (e.g thinstation.conf-112233445566).

##
# --- General Options
#
# AUDIO_LEVEL        Audio Level for sound, 0-100
# MIC_LEVEL          Recording level for input devices, 0-100
# LOCALE             If multiple locales are included in the image, you can use this to
#                     select one during boot with a .conf file.	
# TIME_ZONE          Used to set time zone on a TS client with a zone info file. If multiple
#                      zone-info files are included, this selection can be refined with additional
#                      .conf files.
# SYSLOG_SERVER      Log server ip address or hostname.
#                    If the work "local" is used, then syslog starts logging locally
#                    If not specified syslogd is not loaded.
# USB_STORAGE_SYNC   ON    Safer writing
#                    OFF   Faster writes to USB storage devices
#                    WARNING: This may lead to data corruption when the device is unplugged
#                             before buffers have been flushed
# USB_MOUNT_DIR      Directory to use for mounting usbdisks (default: /mnt/usbdevice/)
# USB_MOUNT_USELABEL Label to use for individual usb disks
#                    default is to use the device name (eg. sda1 - /mnt/usbdevice/sda1)
#                    NO       use default ONLY
#                    YES      will use label on usb volume if exists or fallback to default
#                    <label>  will use label on usb volume if exists or <label> otherwise
#                    adds suffix of n (1,2,3,etc.) if duplicate labels found
# USB_MOUNT_OPTIONS  additional mount options for usb devices (eg. utf8,shortname=win95)
# 		     see mount documentation for details (man mount)
# DISK_STORAGE_SYNC  ON    Safer writing
#                    OFF   Faster writes to USB storage devices
#                    WARNING: This may lead to data corruption when the device is unplugged
#                             before buffers have been flushed
# DISK_MOUNT_OPTIONS  additional mount options for disk devices (eg. utf8,shortname=win95)
# 		     see mount documentation for details (man mount)
# CDROM_MOUNT_OPTIONS  additional mount options for cdrom devices (eg. utf8,shortname=win95)
# 		     see mount documentation for details (man mount)
# BIND_MOUNT#        A disk label to bind mount point mapping (eg. boot:/boot or home:/root)
# DAILY_REBOOT       Will reboot server if up over a day and one of the session
#                    types is closed
# AUTOPLAYCD         If enabled this will autoplay music cds when inserted.
# CUSTOM_CONFIG      Allows choosing custom boot config, On/Off 
# RECONNECT_PROMPT   This displays the reconnection/shutdown options for when a session is ended
#
#                    OFF    No reconnect prompt
#                    ON     Reconnect prompt will be displayed
#		     FORCE  Just reconnect
#                    AUTO   Automatic reconnect
#                    AUTOXX Automatic reconnect attempt after XX seconds - msg is displayed
#                    MENU   Shows a menu with a shutdown and reconnection option
#                    MENUXX As MENU option, but the XX is a time period in minutes.
#                           After XX minutes shutdown will occur unless the reconnect option
#                           is choosen
# NO_SESSION	     What to do in the event that all sessions have exited and not reconnected.
#		     POWEROFF  Shutdown the terminal.(default)
#		     REBOOT    Reboot the terminal.
# DEBUGPAUSE	     Will pause at prompt after load of all modules and packages but before starting
#		     Only works if debug package included
#		     true	pause at prompt to allow debug
#		     false	don't pause (default)
# CRON_JOBx	     Will add this crontab entry (1 - 9)
# FASTBOOT_URL       Normally fastboot will try to load lib.squash in the same way that vmlinuz and initrd
#		     were loaded. This will force fastboot to download lib.squash using a specific protocol
#		     and location

AUDIO_LEVEL=67
TIME_ZONE="America/Los_Angeles"
SYSLOG_SERVER=local
#USB_STORAGE_SYNC=On
#USB_MOUNT_DIR="/mnt/usbdevice"
#USB_MOUNT_USELABEL="Yes"
#USB_MOUNT_OPTIONS="utf8,shortname=win95"
BIND_MOUNT0="home:/root"
BIND_MOUNT1="boot:/boot"
BIND_MOUNT2="tsdev:/thinstation"
FASTBOOT_URL="http://www.thinstation.org"
DAILY_REBOOT=On
#AUTOPLAYCD=On
CUSTOM_CONFIG=Off
RECONNECT_PROMPT=On
#DEBUGPAUSE=true

##
# --- Session Defaults
# -- Default Settings for all sessions
#
# AUTOSTART		ON   Application will be executed immediately at startup
#			OFF  Application will appear in a menu to be started manually
# WORKSPACE		Workspace in the window manager to run the application in
# ICONMODE		MANUAL  Default sessions are not created in window manager/idesk or wbar
#			AUTO    Default sessions types are created in window manager/idesk or wbar
# ALWAYS_ENTER_SERVER	Whether or not the server entry dialog box is always displayed
# 			By default, autostarted sessions have this off and menu sessions have this on
#			OFF will disable the prompt for everything.
#			ON will enable the prompt for everything.
# ALLOW_EXIT		Whether or not a user will be allowed to cancel the server address entry.
# 			By default, autostarted sessions will not be allowed to exit and menu sessions will.
#			OFF will force entry for everything.
#			ON will allow exit from everything.

WORKSPACE=1
AUTOSTART=On
ICONMODE=AUTO
ALWAYS_ENTER_SERVER=Off
ALLOW_EXIT=Off

##
# --- Session Details
#
# Note:                     # is a number equal to or greater than 0
#
# SESSION_#_TITLE           Title description for SESSION. Needed for replimenu.
# SESSION_#_TYPE            Package type, choose beetwen:
#                           - vncviewer        Start vncviewer in X
#                           - rdesktop         Start rdesktop in X
#                           - x                Start x-terminal session (xdm)
#                           - xnest            Start x-terminal session (xdm) from within blackbox
#                           - ssh              Start ssh client in linux console
#                           - telnet           Start telnet client in linux console
#                           - ica              Start Citrix ICA client in X
#                           - ica_wfc          Start ICA Manager
#                           - openbox          Start openbox window manager session
#                           - icewm            Start icewm window manager session
#                           - dillo            Start Web Browser in X
#                           - tftpd            Start tftp daemon
#                           - tarantella       Start tarantella client
#                           - rxvt             Start light xterm client
#                           - xterm            Start xterm client
#                           - tn5250           Start AS400 client in linux console
#                           - nx               Start NX Client Session
# SESSION_#_AUTOSTART       ON      Application will be executed immediately at startup
#                           OFF     Application will appear in a menu to be started manually
# SESSION_#_CUSTOM_CONFIG   ON      Allows choosing custom config for when session starts
#                           OFF     Session boots normally
# SESSION_#_ICON            ON      Places Icon on Desktop if package xtdesk is selected and
#                                   in Window Manager Main Menu
#                           SUBMENU Places Icon on Desktop if package xtdesk is selected and
#                                   in a Submenu within the window manager
# SESSION_#_WORKSPACE       Workspace to run program on in a window manager
# SESSION_#_type_SERVER     IP address/hostname of the server
# SESSION_#_type_OPTIONS    Command line options for the session type
#
# SESSION_#_type_specific   This allows you to specify specific config file details for certain session
#                           types.  Currently support is NX and ICA.  Any configuration file setting
#                           can be changed with this setting.  An example of this is
#                           SESSION_0_NX_GENERAL_DESKTOP="Gnome"
#                           SESSION_0_ICA_APPSRV_USEFULLSCREEN="Yes"
#                           See your application manual for documentation on the settings which
#                           can be used.

# Individual Session Settings, override defaults (Likely Depricated)
#
# IMPORTANT:  Make sure you minimum have a SESSION_0. Otherwise you will get an error 
# on boot. You may have additional sessions: SESSION_1, SESSION_2 ...
# SESSION_0 is on ctrl-alt-F3
# SESSION_1 is on ctrl-alt-F4
# ... etc.

# The -a option here specifies the color depth
# Note certain servers support certain color depths, wrong settings with this
# May cause your connection to fail.
#SESSION_#_TITLE="Big Bad Server Donald"
#SESSION_#_TYPE=rdesktop
#SESSION_#_RDESKTOP_SERVER=192.168.1.1
#SESSION_#_RDESKTOP_OPTIONS="-u user -p password -a 16"
#SESSION_#_AUTOSTART=Off

#SESSION_#_TITLE="Big Bad Server Road Runner"
#SESSION_#_TYPE=rdesktop
#SESSION_#_RDESKTOP_SERVER=192.168.1.1
#SESSION_#_RDESKTOP_OPTIONS="-u 'fred' -a 8"
#SESSION_#_AUTOSTART=Off

#Example on USB Printer Redirection for Rdesktop
#SESSION_#_TITLE="Remote Desktop 24-bit (usb printer)"
#SESSION_#_TYPE=rdesktop
#SESSION_#_RDESKTOP_SERVER=192.168.1.1
#SESSION_#_RDESKTOP_OPTIONS="-a 24 -x b -r printer:usb='DYMO LabelWriter 400 Turbo'"
#SESSION_#_AUTOSTART=Off

##
# --- X Server Options
#
# SCREEN_RESOLUTION       Screen resolutions available in the workstations
# SCREEN_COLOR_DEPTH      Number of bits per pixel (8,16,24), just use ONE value
# SCREEN_HORIZSYNC        Monitor horizontal sync frequency in Khz.
#                         If left blank Xorg will try to detect with DDC
# SCREEN_VERTREFRESH      Monitor vertical refresh frecuency in Hz.
#                         If left blank Xorg will try to detect with DDC
# SCREEN_X_FONT_SERVER    IP address or hostname of the font server for X
#                       
#                         Screen Saver Settings
# SCREEN_BLANK_TIME       Minutes to X session goes blank
# SCREEN_STANDBY_TIME     Minutes to X session goes into standby mode
# SCREEN_SUSPEND_TIME     Minutes to X session goes into suspend mode
# SCREEN_OFF_TIME         Minutes to X session turn off
# DONT_VT_SWITCH_STATE    If true, don't allow vt switching in X
# DONT_ZAP_STATE	  If true, don't allow hot key exit from X 
#
# MOUSE_PROTOCOL          Mouse protocol type (Microsoft, PS/2, etc.)
#                         (mouse is autodetected, use this only if it fails)
# MOUSE_DEVICE            Mouse device:  /dev/ttyS0 -> COM1
#                                   /dev/ttyS1 -> COM2
#                                   /dev/ttyS2 -> COM3
#                                   /dev/ttyS3 -> COM4
#                                   /dev/psaux -> PS/2 mouse port
#                                   /dev/input/mice -> USB mouse (needs USB package)
# MOUSE_RESOLUTION        Mouse resolution
# MOUSE_ACCELERATION      Mouse acceleration
# X_NUMLOCK		  Set numlock state on boot
# X_COOKIE                Will set X Cookie if specified

SCREEN_RESOLUTION="800x600 | 1024x768 | 640x480 | *"
SCREEN_COLOR_DEPTH="24"
#SCREEN_HORIZSYNC="30-64 | *"
#SCREEN_VERTREFRESH="56-87 | 60 | 56 | 70 | 72 | 75"
#SCREEN_X_FONT_SERVER=192.168.1.2:7100
SCREEN_BLANK_TIME=10
SCREEN_STANDBY_TIME=20
SCREEN_SUSPEND_TIME=30
SCREEN_OFF_TIME=60
#MOUSE_PROTOCOL=PS/2
#MOUSE_DEVICE=/dev/psaux
MOUSE_RESOLUTION=100
#MOUSE_ACCELERATION=1/2
X_COOKIE=36d71ab65c10ef065702c111a3d31593
#X_NUMLOCK=Off


##
# -- Advanced XServer Options - Experts Only
# X_DRIVER_NAME           Driver for X, this will override the autodetection scripts
# X_DRIVER_BUSID          Screen Card BusID
# X_<SECTION>_OPTIONn	Where <SECTION>=SERVERFLAGS,SERVERLAYOUT,MODULES,FILES,DRI,DEVICE,MONITOR,SCREEN,MODES
# X_DEVICE_OPTION1-9	Addditional options for driver
# X_MONITOR_OPTION1-9	Addditional options for monitor
# X_MONITOR_MODELINE	Add user defined ModeLine
# X_MONITOR_MODELINE1-9	Add more user defined ModeLines
# X_KEYBOARD_OPTION1-9	Add keyboard options
# X_MOUSE_OPTION1-9	Add mouse options
# USE_XRANDR		Use xrandr to set diplay size and orientation
# XRANDR_OPTIONS	Specific options to pass to xrandr instead of just the bootresolution
# -- Advanced Options - Experts Only
#X_DRIVER_NAME="mga"
#X_DRIVER_BUSID="PCI:1:0:0"

X_DEVICE_OPTION1="swcursor On"
USE_XRANDR=TRUE
#XRANDR_OPTIONS="-s 1680x1050"
#X_DEVICE_OPTION2="ActiveDevice CRT"
#X_DEVICE_OPTION3="noDDC Off"
#X_DEVICE_OPTION4="UseBios Off"
#X_KEYBOARD_OPTION1="XkbModel pc98"
#X_KEYBOARD_OPTION2="XkbLayout nec/jp,us"
#X_KEYBOARD_OPTION3="XkbOptions grp:alt_shift_toggle"
#X_MONITOR_OPTION1="DPMS On"
#X_MONITOR_OPTION2="TargetRefresh 60"
#X_MONITOR_MODELINE='"1680x1050" 146.2 1680 1784 1960 2240 1050 1053 1059 1089 -HSync -VSync'


##
# --- LP Server Printing Options
#
# PRINTER_0_NAME     Workstation Printer Name, Can be Any Valid Name
#                    If you have turned ICA_PRINTER=ON then this is the 
#                    name of the printer driver
# PRINTER_0_DEVICE   Workstation printer device (if not specified devices
#                    are not loaded).
#                       /dev/printers/[0-2]   for parallel ports
#                       /dev/ttyS[0-3] for serial ports
#                       /dev/usb/lp[0-2] for USB printers
#
# PRINTER_0_TYPE     P for parallel, S for serial, U for USB printer
# PRINTER_0_OPTIONS  Serial port options.
# PRINTER_1_*        See PRINTER_0_*
# PRINTER_2_*        See PRINTER_0_*
# PRINTER_3_*        See PRINTER_0_*

#PRINTER_0_NAME="parallel"
#PRINTER_0_DEVICE=/dev/printers/0
#PRINTER_0_TYPE=P

#PRINTER_1_NAME="serial"
#PRINTER_1_DEVICE=/dev/ttyS1
#PRINTER_1_TYPE=S
#PRINTER_1_OPTIONS="speed 38400 -imaxbel"

#PRINTER_#_NAME="usb"
#PRINTER_#_DEVICE=/dev/usb/lp0
#PRINTER_#_TYPE=U

#PRINTER_#_NAME="usb"
#PRINTER_#_DEVICE=/dev/usb/lp0
#PRINTER_#_TYPE=U

#ICA Autocreate Printer Example

#PRINTER_0_NAME="HP LaserJet Series II"
#PRINTER_0_DEVICE=/dev/printers/0
#PRINTER_0_TYPE=P


##
# --- PKG Options
#
# PKG_PACKAGES       Choice of packages to download for PKG
#                    You can also use PKG_PACKAGES1-8 for additional package selections
#                    This is useful for using multiple network group files
# PKG_PREFIX         Download PKGs from a subdir of /tftpboot or PKG Path if PKG_PATH
#                    is set in thinstation.conf
# PKG_PATH           Path to PKG files if not using tftpboot
#                    Floppy: /mnt/floppy
#                    CD-ROM: /mnt/cdrom
#                    HD:     /mnt/disc/hdX/part1   (first disc, first partition)
#                    NFS:    /mnt/nfs
#                    Samba:  /mnt/smb
# MOD_PACKAGES       Choice of modules to download for MPKG
#                    You can also use MOD_PACKAGES1-8 for additional package selections
#                    This is useful for using multiple network group files
# MOD_PREFIX         Downloads and insmod's a module from a subdir of /tftpboot
#                    if MOD_PREFIX is set in thinstation.conf

#PKG_PACKAGES="blackbox rxvt"
#PKG_PREFIX=pkg
#PKG_PATH=/mnt/cdrom
#MOD_PACKAGES="usb-hid usb-storage"
#MOD_PREFIX=modules


##
# --- Networking Options
#
# NET_HOSTNAME           Hostname to use if not using a thinstation.hosts file, note
#                        that the machine MAC address will replace any * if used.
# NET_SMTP_SERVER        Email server address for error logs
# NET_SMTP_EMAIL         Email address of administrator
# NET_TIME_SERVER        Time server on network with which to sync. NTP Time Server. Recommend <country code>.pool.ntp.org
# NET_TELNETD            Enables built-in telnetd server package
# NET_REMOTE_ACCESS_FROM List of hostnames/ip address accepted by the server
#                        for remote control, used by telnetd and www packages
# NET_USE		 Sets which interfaces to try and enable at boot time
#			 LAN  Only try and initialize wired interfaces
#			 WLAN Only try and initialize wireless interfaces (You still need to set other parameters)
#			 BOTH Try and enable all interfaces
# 
# -- Mounting networked filesystems --
#
# NET_NFS_SERVER         This is the path to the NFS server, ie
#                        server:/path/to/share.
# NET_SMB_SERVER         This is the path to the SMB server, ie
#                        server:/path/to/share. 
# NET_SMB_WORKGROUP      Workgroup of samba server
# NET_SMB_USER           This is the username for SMB mounts, password is
#                        defined at build time in build.conf
# NET_LINKWAIT		 Amount of time to wait for a link.

NET_LINKWAIT=6
NET_USE=BOTH
#NET_HOSTNAME=donald
NET_HOSTNAME=ts_*
NET_TIME_SERVER=pool.ntp.org
NET_DHCP_TIMEOUT=30
#NET_SMTP_SERVER=donald
#NET_SMTP_EMAIL=Этот адрес электронной почты защищен от спам-ботов. У вас должен быть включен JavaScript для просмотра.
#NET_TIME_SERVER=mickey
NET_TELNETD_ENABLED=On
NET_REMOTE_ACCESS_FROM="duck.quak.org.au 192.168.0.0 .disney.us"
#NET_NFS_SERVER=bigserver:/opt/thinstation
#NET_SMB_USER=duck


# -- For use in thinstation.conf.buildtime only:
#
# NET_USE_DHCP           Enable DHCP Resolution
#                        ON     Use DHCP, fail if it doesn't get a lease
#                        OFF    Don't use DHCP, manual configuration required
#                        BOTH   Use DHCP in first instance, failing to get a lease, try manual config
# NET_IP_ADDRESS         IP Address of client
# NET_MASK               Network mask of client
# NET_GATEWAY            IP Address of gateway
# NET_DHCP_DELAY	 Delay before continuing script after bringing up interface, only needed if
#                        using spanning tree "port discovery" in a switched environment.  Default is 0 seconds.
# NET_FILE_METHOD        Method to download files, ie scp or tftp, scp is only available if package ssh
#                        is selected in build as a "package".
# NET_FILE_ENABLED       Use server for config file, On/Off
# NET_FILE_USER          User to connect to SCP server as
# NET_FILE_ALTERNATE     Alternate server for vmware or non-standard dhcp servers
# NET_DNS1               DNS Server 1
# NET_DNS2               DNS Server 2
# NET_DNS_SEARCH         Default DNS domain to search

#NET_USE_DHCP=Off
#NET_IP_ADDRESS=192.168.0.1
#NET_MASK=255.255.255.0
#NET_GATEWAY=192.168.0.254
#NET_DHCP_DELAY=30
#NET_FILE_ENABLED=Off
#NET_FILE_METHOD=tftp
#NET_FILE_USER=not_needed_for_tftp
#NET_FILE_ALTERNATE=192.168.0.4
#NET_DNS1=192.168.0.2
#NET_DNS2=192.168.0.3
#NET_DNS_SEARCH=cartoons.org.nz



##
# --- Permanent Storage Options
#
# STORAGE_PATH           Path to where storage device is mounted to save
#                        profile settings.  This should be one of
#                        /mnt/usbdevice/sdX/partX or disc
#                        /mnt/floppy
#                        /mnt/disc/hdX/partX
#                        /mnt/nfs
#                        /mnt/smb
#
#                        Note that the profile settings are stored under
#                        a subfolder for this path.  So the path to the
#                        stored settings would be something like
#                        /mnt/floppy/thinstation.profile
#                        See the FAQ on the website for more details on this
#
#                        Also checkout README.IMPORTANT for the valid
#                        config files which you can place here
#                        a typical file to store config file settings is
#                        /mnt/floppy/thinstation.profile/thinstation.conf.user
#
#                        Also note that the .profile can be changed by using
#                        the below STORAGE_PREFIX
# STORAGE_PREFIX         This is prefex for the folder name to store settings
#                        in on the storage device.   You can also use one of the
#                        special characters below.
#
#                        M = Mac Address
#                        H = Hostname
#                        I = Ip Address
#
#                        Note default prefix for storing the profile is
#                        .profile
# STORAGE_CONFIG1-8      This is the path for any user defined settings
#                        which will always override the profile path above
#                        The files are tried on order on each device specified


#STORAGE_PATH=/mnt/nfs
#STORAGE_PREFIX=H
#STORAGE_CONFIG1=/mnt/floppy
#STORAGE_CONFIG2=/mnt/cdrom
#STORAGE_CONFIG3=/mnt/disc/hda/part1
#STORAGE_CONFIG4=/mnt/usbdevice/sda/part1


##
#**** EXPERIMENTAL ****
# Dual Head Support
#
# This allows two seperate X sessions to be started with seperate input devices.  This allows
# effectively two seperate machines within the same PC.  You will need seperate screen cards
# to enable this.  It is best to use with 1 AGP card and 1 PCI card.

# Check out http://www.ltn.lv/~aivils/eng-video.html for a list of known compatable screen cards

# Input Device support should be:
#
# Primary mouse and keyboard PS/2
# Secondary mouse and keyboard USB
#
# There is some basic detection scripts for this, but these will need to be improved in TS 3.0.
# If thinstation doesn't detect both a USB keyboard and mouse it will default back to dual
# screen support, not dual head.
#
# This is not considered stable.  If you exit the session, or try to change to a console screen
# with Alt-F1 etc... it will probably crash the machine.  If it doesn't work with your hardware
# there is nothing that can be done about it.

# The kernel Advanced Power Management module is disabled when using dual screen as it causes the
# second screen to crash.

# Note the below option only supports 1-2, anything more than two won't work.  This is provided
# for future development, to create a machine with more than two seperate sessions.

# SESSION_#_SCREEN_POSITION 1-X When using dual screen support you can specify the position
#                               of each session.  This allows to seperate sessions to be on
#                               seperate screens.  If only 1 session is in use, this option will
#                               make no differnece.  You can specify between 1+ positions

thinstation.conf-001e0b79cf90
# --- Session Options
#
# Note:                     # is a number equal to or greater than 0
#
# SESSION_#_TITLE           Title description for SESSION. Needed for replimenu.
# SESSION_#_TYPE            Package type, choose beetwen:
#                           - vncviewer        Start vncviewer in X
#                           - rdesktop         Start rdesktop in X
#                           - x                Start x-terminal session (xdm)
#                           - ssh              Start ssh client in linux console
#                           - telnet           Start telnet client in linux console
#                           - ica              Start Citrix ICA client in X
#                           - tn5250           Start AS400 client in linux console
# SESSION_#_SCREEN          Display number to run the X server on
# SESSION_#_AUTOSTART       ON      Application will be executed immediately at startup
#                           OFF     Application will appear in a menu to be started manually
# SESSION_#_WORKSPACE       Workspace to run program on in a window manager
# SESSION_#_type_SERVER     IP address/hostname of the server
# SESSION_#_type_OPTIONS    Command line options for the session type


# Individual Session Settings, override defaults
#
# IMPORTANT:  Make sure you minimum have a SESSION_0. Otherwise you will get an error 
# on boot. You may have additional sessions: SESSION_1, SESSION_2 ...
# SESSION_0 is on ctrl-alt-F3
# SESSION_1 is on ctrl-alt-F4
# ... etc.


# If you only have one session, it is a good idea to uncomment this line:
ICONMODE=AUTO
AUTOSTART=On

PKG_PREFIX=pkg
PKG_PACKAGES="debug sshd sane sane-smfp mc"

CUSTOM_CONFIG=Off
RDESKTOP_SOUND=On
RDESKTOP_FDD=Off
RDESKTOP_CDROM=Off
RDESKTOP_USB=On
RDESKTOP_COLOR_DEPTH="24"
USB_MOUNT_OPTIONS="rw"

#SANE_ENABLED=On
#SANE_SCANNER="genesys"
#SANE_REMOTE_ACCESS_FROM="192.168.112.0/24"

SCREEN_BLANK_TIME=10
SCREEN_STANDBY_TIME=20
SCREEN_SUSPEND_TIME=30
SCREEN_OFF_TIME=60

TIME_ZONE="Europe/Kiev" #http://wiki.openwrt.org/OpenWrtDocs/WhiteRussian/Configuration#head-037616e62986b57c5fc312bc143b16d6f0687d6b

# Typical Windows 2003 Server session, with True-color and sound redirection
# Note: use '-a 16' and '-a 24' to get true-color with Windows 2003+
# Older servers don't support these color depths, wrong settings may cause connection to fail.
SESSION_0_TITLE="Windows 2003 terminal server (16 bit color depth)"

SESSION_0_TYPE=rdesktop
SESSION_0_RDESKTOP_SERVER=192.168.111.20
SESSION_0_RDESKTOP_OPTIONS="-u '' -d LIGA2 -a 16 -r disk:USB=/mnt/usbdevice"

#SESSION_0_RDESKTOP_OPTIONS="-r disk:floppy=/mnt/floppy,CD=/mnt/cdrom,USB=/mnt/usbdevice"
#SESSION_0_RDESKTOP_OPTIONS="-r disk:CD=/mnt/cdrom"
#SESSION_0_RDESKTOP_OPTIONS="-r disk:CD=/mnt/cdrom,USB=/mnt/usbdevice"
#Example on USB Printer Redirection for Rdesktop
#SESSION_#_RDESKTOP_OPTIONS="-r printer:usb='DYMO LabelWriter 400 Turbo'"

# Important: don't insert spaces in the session title
#SESSION_2_TITLE="CitrixServer"
#SESSION_2_TYPE=ica
#SESSION_2_ICA_APPLICATION_SET="Microsoft Word"
#SESSION_2_ICA_OPTIONS="-username donald -password qwak"

# ICA: Instead of connecting to an "application set",
# you can directly connect to a specific server desktop
# Important: don't insert spaces in the session title
#SESSION_3_TITLE="CitrixServer"
#SESSION_3_TYPE=ica
#SESSION_3_ICA_SERVER=ICA

#SESSION_#_TITLE="Unix server"
#SESSION_#_TYPE=x
#SESSION_#_X_SERVER=192.168.1.2
# Default is '-query'
##SESSION_#_X_OPTIONS="-indirect"
# You should set also "SCREEN_X_FONT_SERVER", below

#SESSION_#_TITLE="VNC server"
#SESSION_#_TYPE=vncviewer
#SESSION_#_VNCVIEWER_SERVER=192.168.1.2

#SESSION_#_TITLE="Telnet server"
#SESSION_#_TYPE=telnet
#SESSION_#_TELNET_SERVER=192.168.1.2

#SESSION_#_TITLE="SSH server"
#SESSION_#_TYPE=ssh
#SESSION_#_SSH_SERVER=192.168.1.2

#SESSION_#_TITLE="AS400 server"
#SESSION_#_TYPE=tn5250
#SESSION_#_TN5250_SERVER=192.168.1.2
# Use this option to specify keyboard map
#SESSION_#_TN5250_OPTIONS="map=280"
# Other options
#SESSION_#_TN5250_OPTIONS="env.DEVNAME=JDevBox1 +underscores env.TERM=IBM-3477-FC"


# --- General Options
#
# AUDIO_LEVEL        Audio Level for sound, 0-100
# KEYBOARD_MAP       Keyboard layout
# TIME_ZONE          Used to set time zone on TS client by entering the UTC offset.
#                    This can be set automatically if the appropriate dhcpc option is selected
#                    (Option 2, time offset in seconds)
# RECONNECT_PROMPT   This displays the reconnection/shutdown options for when a session is ended
#
#                    OFF    No reconnect prompt
#                    ON     Reconnect prompt will be displayed
#                    MENU   Shows a menu with a shutdown and reconnection option
#                    MENUXX As MENU option, but the XX is a time period in minutes.
#                           After XX minutes shutdown will occur unless the reconnect option
#                           is choosen

AUDIO_LEVEL=67

# Look inside BuildFiles\build.conf* file for a list of the supported KB layouts
KEYBOARD_MAP=en_us
#TIME_ZONE="UTC-12:30"
RECONNECT_PROMPT=On


# --- X Server Options
#
# SCREEN_RESOLUTION       Screen resolutions available in the workstations
# SCREEN_COLOR_DEPTH      Number of bits per pixel (8,16,24)
# SCREEN_HORIZSYNC        Monitor horizontal sync frequency in Khz.
#                         If left blank Xorg will try to detect with DDC
# SCREEN_VERTREFRESH      Monitor vertical refresh frecuency in Hz.
#                         If left blank Xorg will try to detect with DDC
# SCREEN_X_FONT_SERVER    IP address or hostname of the font server for X
#                       
#                         Screen Saver Settings
# SCREEN_BLANK_TIME       Minutes to X session goes blank
# SCREEN_STANDBY_TIME     Minutes to X session goes into standby mode
# SCREEN_SUSPEND_TIME     Minutes to X session goes into suspend mode
# SCREEN_OFF_TIME         Minutes to X session turn off
#
# MOUSE_PROTOCOL          Mouse protocol type (Microsoft, PS/2, etc.)
#                         (mouse is autodetected, use this only if it fails)
# MOUSE_DEVICE            Mouse device:  /dev/ttyS0 -> COM1
#                                   /dev/ttyS1 -> COM2
#                                   /dev/ttyS2 -> COM3
#                                   /dev/ttyS3 -> COM4
#                                   /dev/psaux -> PS/2 mouse port
#                                   /dev/input/mice -> USB mouse (needs USB package)
# MOUSE_RESOLUTION        Mouse resolution
# MOUSE_ACCELERATION      Mouse acceleration
# X_NUMLOCK               Set numlock state on boot
# X_COOKIE                Will set X Cookie if specified

#SCREEN_RESOLUTION="800x600"
#SCREEN_RESOLUTION="1024x768"
#SCREEN_RESOLUTION="1440x900"
#SCREEN_RESOLUTION="1920x1080"

SCREEN_COLOR_DEPTH="24"
#SCREEN_COLOR_DEPTH="16"


SCREEN_HORIZSYNC="30-64"
#SCREEN_VERTREFRESH="56-87"
SCREEN_VERTREFRESH="56-60"

#SCREEN_X_FONT_SERVER=192.168.1.2:7100

SCREEN_BLANK_TIME=10
SCREEN_STANDBY_TIME=20
SCREEN_SUSPEND_TIME=30
SCREEN_OFF_TIME=60

#MOUSE_PROTOCOL=PS/2
#MOUSE_DEVICE=/dev/psaux
MOUSE_RESOLUTION=100
X_NUMLOCK=On
#X_DRIVER_NAME="vesa"
#X_DRIVER_NAME="via"
#X_DRIVER_NAME="NVIDIA"
#MOUSE_ACCELERATION=1/2
#X_COOKIE=36d71ab65c10ef065702c111a3d31593
#WIDE_SCREEN=Off


# --- Citrix ICA Specific Options
#
#                       GLOBAL Settings
#ICA_USE_SERVER_KEYBOARD    Use default server keyboard, otherwise use KEYBOARD_MAP
#                           variable
#ICA_BROWSER_PROTOCOL       Broswer protocol, can be HTTPonTCP or UDP
#
#                           APPLICATION SET settings
#ICA_ENCRYPTION             Encryption level for ICA
#                           Valid Settings Below
#                           "Basic"
#                           "RC5 (128 bit - Login Only)"
#                           "RC5 (40 bit)"
#                           "RC5 (128 bit)"
#                           "RC5 (56 bit)"
#ICA_COMPRESS               Compression, On/Off
#ICA_AUDIO                  Audio, On/Off
#ICA_AUDIO_QUALITY          Audio Quality, Low, Medium, High
#ICA_PRINTER                This will turn on ICA autocreate printers, see printer section
#                           for details, On/Off
#
#                           NOTE: You must have the lpr package included for this option
#                           to work.
#
#ICA_APPLICATION_SET        Published Application (Not needed if using
#                           ICA_SERVER)
#ICA_SERVER                 Server to Connect to (Not needed if using
#                           ICA_APPLICATION_SET, but needed if the ICA-Masterbrowser
#                           is not on the local network.)
#ICA_WFCLIENT_type_specific This allows you to specify specific config file details for global ica
#                           parameters any parameter can be changed with this setting. An example of this is
#                           ICA_WFCLIENT_CLIENTDRIVE="On"
#                           See your application manual for documentation on the settings which
#                           can be used.

#ICA_USE_SERVER_KEYBOARD=Off
#ICA_BROWSER_PROTOCOL=HTTPonTCP
#ICA_SERVER=
#ICA_ENCRYPTION=Basic
#ICA_COMPRESS=On
#ICA_AUDIO=On
#ICA_AUDIO_QUALITY=Low
#ICA_PRINTER=Off
#ICA_SEAMLESS_WINDOW=Off


# --- LP Server Printing Options
#
# PRINTER_0_NAME     Workstation Printer Name, Can be Any Valid Name
#                    If you have turned ICA_PRINTER=ON then this is the 
#                    name of the printer driver
# PRINTER_0_DEVICE   Workstation printer device (if not specified devices
#                    are not loaded).
#                       /dev/printers/[0-2]   for parallel ports
#                       /dev/ttyS[0-3] for serial ports
#                       /dev/usb/lp[0-2] for USB printers
#
# PRINTER_0_TYPE     P for parallel, S for serial, U for USB printer
# PRINTER_0_OPTIONS  Serial port options.
# PRINTER_1_*        See PRINTER_0_*
# PRINTER_2_*        See PRINTER_0_*
# PRINTER_3_*        See PRINTER_0_*

#PRINTER_0_NAME="parallel"
#PRINTER_0_DEVICE=/dev/printers/0
#PRINTER_0_TYPE=P

#PRINTER_1_NAME="serial"
#PRINTER_1_DEVICE=/dev/ttyS1
#PRINTER_1_TYPE=S
#PRINTER_1_OPTIONS="speed 38400 -imaxbel"

PRINTER_0_NAME="usb"
PRINTER_0_DEVICE=/dev/usb/lp0
PRINTER_0_TYPE=U


#ICA Autocreate Printer Example

#PRINTER_0_NAME="HP LaserJet Series II"
#PRINTER_0_DEVICE=/dev/printers/0
#PRINTER_0_TYPE=P

#NET_HOSTNAME=ts_001e0b79cf90.liga2.auto

Вычитал в интернете что нужно включить в сброку модули
module fuse
package ntfs-3g

Но к сожалению не помогло.


Может кто сталкивался с такой проблемой? Как решили?
Спасибо.
Администратор запретил публиковать записи гостям.

Thinstation 5.2 монтирование USB NTFS флешки rw 25 Июль 2015 18:15 #2638

  • irv2009
  • irv2009 аватар
/dev/sda1 on /mnt/usbdevice/sda1 type ntfs (ro,relatime,uid=0,gid=0,fmask=0177,dmask=077,nls=default,disable_sparse,errors=continue,mft_zone_multiplier=1)

/dev/sda1 on /mnt/usbdevice/sda1 type vfat (rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=ascii,shortname=mixed,errors=remount-ro)

RO- readonly только чтение, заменить на RW(read write- чтение запись)
Администратор запретил публиковать записи гостям.