简体   繁体   English

startx是否需要安装xterm

[英]Does startx need xterm installed

Im linking to a remote linux machine. 我正在链接到远程Linux机器。 I want to be able to view the files/ directories on this machine using a GUI. 我希望能够使用GUI查看本机上的文件/目录。 I run xming and ssh and putty.I then stried to start the windows manager. 我运行xming,ssh和putty,然后尝试启动Windows管理器。 THe output is below. 输出如下。

What is happening here, it seems xterm is not available. 这里发生了什么,看来xterm不可用。 But I can run emacs so there must be some windows manager present. 但是我可以运行emacs,因此必须有一些Windows管理器。 Can I use that instead? 我可以改用吗?

Running startx --help 运行startx --help

[root@foo ~]# startx --help
xauth:  creating new authority file /root/.serverauth.6094


X Window System Version 7.1.1
Release Date: 12 May 2006
X Protocol Version 11, Revision 0, Release 7.1.1
Build Operating System: Linux 2.6.18-194.11.1.el5 x86_64 Red Hat, Inc.
Current Operating System: Linux ten2 2.6.18-238.1.1.el5 #1 SMP Tue Jan 4 13:32:19 EST 2011 x86_64
Build Date: 01 September 2010
Build ID: xorg-x11-server 1.1.1-48.76.el5_5.2
        Before reporting problems, check http://wiki.x.org
        to make sure that you have the latest version.
Module Loader present
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: Wed Apr 20 18:57:05 2011
(==) Using config file: "/etc/X11/xorg.conf"
The XKEYBOARD keymap compiler (xkbcomp) reports:
> Warning:          Multiple symbols for level 1/group 1 on key <I5F>
>                   Using XF86Sleep, ignoring XF86Standby
> Warning:          Symbol map for key <I5F> redefined
>                   Using last definition for conflicting fields
Errors from xkbcomp are not fatal to the X server
xinit:  No such file or directory (errno 2):  no program named "xterm" in PATH

Specify a program on the command line or make sure that /usr/bin
is in your path.


waiting for X server to shut down FreeFontPath: FPE "unix/:7100" refcount is 2, should be 1; fixing.

Running startx without the help flag results in a different error message. 在没有帮助标志的情况下运行startx会导致出现不同的错误消息。 Why is this? 为什么是这样?

Running startx 运行startx

[root@foo ~]# startx
xauth:  creating new authority file /root/.serverauth.5375


X Window System Version 7.1.1
Release Date: 12 May 2006
X Protocol Version 11, Revision 0, Release 7.1.1
Build Operating System: Linux 2.6.18-194.11.1.el5 x86_64 Red Hat, Inc.
Current Operating System: Linux foo 2.6.18-238.1.1.el5 #1 SMP Tue Jan 4 13:32:19 EST 2011 x86_64
Build Date: 01 September 2010
Build ID: xorg-x11-server 1.1.1-48.76.el5_5.2
        Before reporting problems, check http://wiki.x.org
        to make sure that you have the latest version.
Module Loader present
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: Wed Apr 20 18:39:23 2011
(==) Using config file: "/etc/X11/xorg.conf"
The XKEYBOARD keymap compiler (xkbcomp) reports:
> Warning:          Multiple symbols for level 1/group 1 on key <I5F>
>                   Using XF86Sleep, ignoring XF86Standby
> Warning:          Symbol map for key <I5F> redefined
>                   Using last definition for conflicting fields
Errors from xkbcomp are not fatal to the X server
localuser:root being added to access control list
No profile for user 'root' found

waiting for X server to shut down FreeFontPath: FPE "unix/:7100" refcount is 2, should    be 1; fixing.

That's probably because of xterm command in .xinitrc - this file contains application which should be started with X server, typically there are commands there to start window manager or desktop environment like KDE or Gnome. 这可能是因为.xinitrc中的xterm命令-该文件包含应使用X服务器启动的应用程序,通常那里有启动窗口管理器或桌面环境(如KDE或Gnome)的命令。 But often it defaults to twm + xterm. 但通常默认为twm + xterm。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM