VMware Player 12.5.9 的安装运行顺利,但是当我尝试运行它时
用户@路径:~$ vmplayer
它没有抱怨,这意味着终端窗口中没有消息,也没有对话框,但它没有启动。
ps斧头| grep vmplayer 的输出中只有 grep。
安装和运行 VMware Player 15.5 没有问题(使用 mkubecek 的补丁也可以使用 14.1),但我需要运行 12.5.9 来评估智能卡兼容性问题。
在 LTSP 环境中的特定瘦客户端上启动/重新启动后执行脚本的最佳方法是什么?
我想在启动后运行一个脚本来执行ltsp-localapps foo
,但只在一个客户端上。通常我会使用/etc/rc.local
- 但在 LTSP 中,这会影响所有使用此图像的客户端。
到目前为止,我最好的想法是使用 lts.conf 参数:
CRONTAB_01..CRONTAB_10
string, default unset
A crontab line to add for a thin client.
在启动时
@reboot
运行一次。
但作为man 5 crontab
国家
Please note that startup, as far as @reboot is concerned, is the time
when the cron(8) daemon startup. In particular, it may be before some
system daemons, or other facilities, were startup.
我运行成功:
ltsp-localapps motion
我可以将输出写入 ltsp-sever 的磁盘,但我无法将输出文件写入自动挂载到/media/(user-name)
.
我在使用 Acer R11 笔记本电脑(客户端)时遇到问题。它通过 LAN 引导,从 14.04 LTSP 服务器获取其磁盘映像。在最初的 Acer Splash-DHCP-TFTP 序列之后,很快就可以看到控制台,然后是 Acer Splash(可能仍在视频内存中),然后屏幕变黑并打开背光。
LTSP 14.04 安装经过测试,可与 Asus Eee T101MT(包括触摸屏)配合使用。了解相同的 Acer R11 很重要:Live USB 14.04 工作正常(带触摸屏),LTSP 12.04 作为客户端也可以工作(但没有触摸屏)。
我拼命想解决这个问题。我尝试了内核参数(nomodeset,noapic ...)
我可以通过 ssh 联系到客户。
less /var/log/Xorg.7.log | grep EE
[ 289.888] (EE) open /dev/dri/card0: No such file or directory
[ 289.889] (EE) open /dev/dri/card0: No such file or directory
[ 289.889] (EE) open /dev/fb0: No such file or directory
[ 289.890] (EE) open /dev/fb0: No such file or directory
[ 289.890] (EE) Screen 0 deleted because of no matching config section.
[ 289.890] (EE) Screen 0 deleted because of no matching config section.
[ 289.996] (EE) AIGLX: reverting to software rendering
我什至可以通过 ssh 启动 x,然后在服务器上启动一个 xterm。
当我尝试让 xorg.conf 正常工作时Xorg -configure
,我得到的错误是Number of created screens does not match number of detected devices.
root@AspireR11-01:~# Xorg -configure
X.Org X Server 1.15.1
Release Date: 2014-04-13
X Protocol Version 11, Revision 0
Build Operating System: Linux 3.2.0-76-generic x86_64 Ubuntu
Current Operating System: Linux AspireR11-01 3.13.0-74-generic #118-Ubuntu SMP Thu Dec 17 22:52:10 UTC 2015 x86_64
Kernel command line: ro initrd=initrd.img-3.13.0-74-generic init=/sbin/init-ltsp quiet splash root=/dev/nbd0 BOOT_IMAGE=vmlinuz-3.13.0-74-generic BOOTIF=01-30-65-ec-85-03-3b
Build Date: 12 February 2015 02:49:29PM
xorg-server 2:1.15.1-0ubuntu2.7 (For technical support please see http://www.ubuntu.com/support)
Current version of pixman: 0.30.2
Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/var/log/Xorg.0.log", Time: Fri Feb 19 17:03:29 2016
List of video drivers:
ati
cirrus
vmware
intel
mach64
mga
modesetting
neomagic
nouveau
openchrome
qxl
r128
radeon
s3
savage
siliconmotion
sis
sisusb
spiceqxl
tdfx
trident
vesa
fbdev
(++) Using config file: "/root/xorg.conf.new"
(==) Using system config directory "/usr/share/X11/xorg.conf.d"
Number of created screens does not match number of detected devices.
Configuration failed.
(EE) Server terminated with error (2). Closing log file.
这个创建的是 xorg.conf.new
Section "ServerLayout"
Identifier "X.org Configured"
Screen 0 "Screen0" 0 0
InputDevice "Mouse0" "CorePointer"
InputDevice "Keyboard0" "CoreKeyboard"
EndSection
Section "Files"
ModulePath "/usr/lib/xorg/modules"
FontPath "/usr/share/fonts/X11/misc"
FontPath "/usr/share/fonts/X11/cyrillic"
FontPath "/usr/share/fonts/X11/100dpi/:unscaled"
FontPath "/usr/share/fonts/X11/75dpi/:unscaled"
FontPath "/usr/share/fonts/X11/Type1"
FontPath "/usr/share/fonts/X11/100dpi"
FontPath "/usr/share/fonts/X11/75dpi"
FontPath "built-ins"
EndSection
Section "Module"
Load "glx"
EndSection
Section "InputDevice"
Identifier "Keyboard0"
Driver "kbd"
EndSection
Section "InputDevice"
Identifier "Mouse0"
Driver "mouse"
Option "Protocol" "auto"
Option "Device" "/dev/input/mice"
Option "ZAxisMapping" "4 5 6 7"
EndSection
Section "Monitor"
Identifier "Monitor0"
VendorName "Monitor Vendor"
ModelName "Monitor Model"
EndSection
Section "Device"
### Available Driver options are:-
### Values: <i>: integer, <f>: float, <bool>: "True"/"False",
### <string>: "String", <freq>: "<f> Hz/kHz/MHz",
### <percent>: "<f>%"
### [arg]: arg optional
#Option "NoAccel" # [<bool>]
#Option "AccelMethod" # <str>
#Option "Backlight" # <str>
#Option "DRI" # <str>
#Option "ColorKey" # <i>
#Option "VideoKey" # <i>
#Option "Tiling" # [<bool>]
#Option "LinearFramebuffer" # [<bool>]
#Option "VSync" # [<bool>]
#Option "PageFlip" # [<bool>]
#Option "SwapbuffersWait" # [<bool>]
#Option "TripleBuffer" # [<bool>]
#Option "XvPreferOverlay" # [<bool>]
#Option "HotPlug" # [<bool>]
#Option "ReprobeOutputs" # [<bool>]
#Option "XvMC" # [<bool>]
#Option "ZaphodHeads" # <str>
#Option "VirtualHeads" # <i>
#Option "TearFree" # [<bool>]
#Option "PerCrtcPixmaps" # [<bool>]
#Option "FallbackDebug" # [<bool>]
#Option "DebugFlushBatches" # [<bool>]
#Option "DebugFlushCaches" # [<bool>]
#Option "DebugWait" # [<bool>]
#Option "BufferCache" # [<bool>]
Identifier "Card0"
Driver "intel"
BusID "PCI:0:2:0"
EndSection
Section "Screen"
Identifier "Screen0"
Device "Card0"
Monitor "Monitor0"
SubSection "Display"
Viewport 0 0
Depth 1
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 4
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 8
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 15
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 16
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 24
EndSubSection
EndSection