`
zingers
  • 浏览: 19688 次
社区版块
存档分类
最新评论
  • soci: 不错 找到战友了 我也是做外汇的,有机会切磋下:)
    20070202体验
  • zingers: 重视趋势,而不是线 如果信号和趋势一起出现,是个好机会 趋势未 ...
    20070202体验

X11 config in Centos

阅读更多
c# 代码
 
  1. # Xorg configuration created by system-config-display  
  2.   
  3. Section "ServerLayout"  
  4.     Identifier     "Default Layout"  
  5.     Screen      0  "Screen0" 0 0  
  6.     InputDevice    "Mouse0" "CorePointer"  
  7.     InputDevice    "Keyboard0" "CoreKeyboard"  
  8. EndSection  
  9.   
  10. Section "Files"  
  11.  
  12. # RgbPath is the location of the RGB database.  Note, this is the name of the   
  13. # file minus the extension (like ".txt" or ".db").  There is normally  
  14. # no need to change the default.  
  15. # Multiple FontPath entries are allowed (they are concatenated together)  
  16. # By default, Red Hat 6.0 and later now use a font server independent of  
  17. # the X server to render fonts.  
  18.     RgbPath      "/usr/X11R6/lib/X11/rgb"  
  19.     FontPath     "unix/:7100"  
  20. EndSection  
  21.   
  22. Section "Module"  
  23.     Load  "dbe"  
  24.     Load  "extmod"  
  25.     Load  "fbdevhw"  
  26.     Load  "glx"  
  27.     Load  "record"  
  28.     Load  "freetype"  
  29.     Load  "type1"  
  30.     Load  "dri"  
  31. EndSection  
  32.   
  33. Section "InputDevice"  
  34.  
  35. # Specify which keyboard LEDs can be user-controlled (eg, with xset(1))  
  36. #   Option  "Xleds"     "1 2 3"  
  37. # To disable the XKEYBOARD extension, uncomment XkbDisable.  
  38. #   Option  "XkbDisable"  
  39. # To customise the XKB settings to suit your keyboard, modify the  
  40. # lines below (which are the defaults).  For example, for a non-U.S.  
  41. # keyboard, you will probably want to use:  
  42. #   Option  "XkbModel"  "pc102"  
  43. # If you have a US Microsoft Natural keyboard, you can use:  
  44. #   Option  "XkbModel"  "microsoft"  
  45. #  
  46. # Then to change the language, change the Layout setting.  
  47. # For example, a german layout can be obtained with:  
  48. #   Option  "XkbLayout" "de"  
  49. # or:  
  50. #   Option  "XkbLayout" "de"  
  51. #   Option  "XkbVariant"    "nodeadkeys"  
  52. #  
  53. # If you'd like to switch the positions of your capslock and  
  54. # control keys, use:  
  55. #   Option  "XkbOptions"    "ctrl:swapcaps"  
  56. # Or if you just want both to be control, use:  
  57. #   Option  "XkbOptions"    "ctrl:nocaps"  
  58. #  
  59.     Identifier  "Keyboard0"  
  60.     Driver      "kbd"  
  61.     Option      "XkbModel" "pc105"  
  62.     Option      "XkbLayout" "us"  
  63. EndSection  
  64.   
  65. Section "InputDevice"  
  66.     Identifier  "Mouse0"  
  67.     Driver      "mouse"  
  68.     Option      "Protocol" "IMPS/2"  
  69.     Option      "Device" "/dev/input/mice"  
  70.     Option      "ZAxisMapping" "4 5"  
  71.     Option      "Emulate3Buttons" "yes"  
  72. EndSection  
  73.   
  74. Section "Monitor"  
  75.     Identifier   "Monitor0"  
  76.     VendorName   "Monitor Vendor"  
  77.     ModelName    "Unknown monitor"  
  78.     HorizSync    30.0 - 80.0  
  79.     VertRefresh  50.0 - 90.0  
  80.     Option      "dpms"  
  81. EndSection  
  82.   
  83. Section "Device"  
  84.     Identifier  "Videocard0"  
  85.     Driver      "ati"  
  86.     VendorName  "Videocard vendor"  
  87.     BoardName   "ATI Rage XL"  
  88. EndSection  
  89.   
  90. Section "Screen"  
  91.     Identifier "Screen0"  
  92.     Device     "Videocard0"  
  93.     Monitor    "Monitor0"  
  94.     DefaultDepth     16  
  95.     SubSection "Display"  
  96.         Viewport   0 0  
  97.         Depth     16  
  98.         Modes    "1280x1024" "1280x960" "1152x864" "1024x768" "800x600" "640x480"  
  99.     EndSubSection  
  100. EndSection  
  101.   
  102. Section "DRI"  
  103.     Group        0  
  104.     Mode         0666  
  105. EndSection  
分享到:
评论

相关推荐

    CentOS VNC Server 配置

    对于已经登录的控制台会话,可以使用x11vnc的临时选项,或者vnc-server的X11 "always on"选项来启动VNC服务。 上述知识点涵盖了从CentOS VNC Server的安装、配置、启动到安全性的相关操作,为用户提供了详细的操作...

    利用SSH隧道转发X11协议图形界面

    - **服务器端:** CentOS 6.5 Minimal - **终端模拟器:** Xshell 5 - **X11窗口系统:** Xming 7.5.0.55 #### 实现步骤 ##### 2.1 运行Xming 首先确保您的Windows系统上已经安装了Xming。打开Xming并启动它。Xming...

    Linux Centos 6.6搭建SFTP服务器.txt

    ### Linux CentOS 6.6 搭建 SFTP 服务器 #### 一、背景与目的 在企业级应用环境中,安全地传输文件是一项基本需求。SFTP(Secure File Transfer Protocol)作为 SSH 协议的一部分,提供了加密的数据传输服务,比...

    CentOS_5.4_下VNC的设置

    Starting applications specified in /root/.vnc/xstartup Log file is /root/.vnc/localhost:1.log ``` 2. **配置 VNC Server 启动文件**: VNC Server 默认会使用 `twm` 作为窗口管理器,但我们可以修改 `....

    在 CentOS 5.x 安裝 Qt 4.5

    根据系统架构选择对应的版本,即 Qt SDK for Linux/X11 32-bit 或者 Qt SDK for Linux/X11 64-bit。 三、安装 Qt SDK 以 root 用户身份执行下载的安装包: ``` # sh qt-sdk-linux-x86-opensource-2009.01.bin ```...

    centos7 openssh升级

    1. **安全设置**:确保在配置文件 `/etc/ssh/sshd_config` 中设置合适的参数,如 `PermitRootLogin` 和 `X11Forwarding`。 2. **测试连接**:完成升级后,应该立即通过 SSH 连接测试新版本是否正常工作。 3. **监控...

    centos7 手动安装tigervnc包

    sudo yum install -y xorg-x11-fonts-Type1 xorg-x11-fonts-75dpi xorg-x11-fonts-100dpi ``` 3. **安装TigerVNC包**:这里我们有三个RPM包:tigervnc-server-1.8.0-21.el7.x86_64.rpm、tigervnc-icons-1.8.0-13....

    CentOS6.4 SSH Telnet服务器配置

    3. **连接协议 (SSH-CONNECT)**:将加密的连接分割成多个逻辑通道,支持交互式登录、远程命令执行、TCP/IP连接转发和X11连接转发等功能。 #### 四、SSH客户端与服务端 SSH系统由客户端和服务端两部分组成: 1. **...

    Centos下ssh以及sftp的配置以及权限设置

    ### CentOS 下 SSH 及 SFTP 的配置与权限设置详解 #### 一、引言 SSH (Secure Shell) 是一种网络协议,用于计算机之间的加密登录。SFTP (SSH File Transfer Protocol) 则是一种基于 SSH 协议的安全文件传输协议。...

    CentOS中VNC的安装

    vncconfig -iconic & xterm -geometry 80x24+10+10 -ls -title "$VNCDESKTOP Desktop" & # twm & gnome-session & WARNING: The first attempt to start Xvnc failed, possibly because the font catalog is ...

    在CentOS5.5安装Oracle 11.2

    关闭它可以通过修改`/etc/selinux/config`文件中的`SELINUX`设置为`disabled`。防火墙的关闭可以通过修改`/etc/sysconfig/iptables`文件或使用`service iptables stop`命令来实现。 2. **安装依赖RPM包**: Oracle...

    CentOS7 1804 OpenSSH8.3p1打包RPM、安装升级记录(含源码包、RPM包).7z

    完成安装后,需要配置`/etc/ssh/sshd_config`以适应新的OpenSSH版本,并重启`sshd`服务使更改生效: ```bash sudo systemctl restart sshd ``` 安全方面,OpenSSH 8.3p1引入了多项改进,例如更好的密钥交换算法支持...

    centOS 5.4安装oracle10g远程图形界面安装

    # exec /etc/X11/xinit/xinitrc [-x /etc/vnc/xstartup] && exec /etc/vnc/xstartup [-r $HOME/.Xresources] && xrdb $HOME/.Xresources xset root solid grey vncconfig -iconic & # xterm -geometry 80x24+...

    centos vncserver 服务的配置

    # exec /etc/X11/xinit/xinitrc [ -x /etc/vnc/xstartup ] && exec /etc/vnc/xstartup [ -r $HOME/.Xresources ] && xrdb $HOME/.Xresources xsetroot -solid grey vncconfig -iconic & #xterm -geometry 80x24+10+...

    CentOS7 最小化安装初始化.md

    ### CentOS7 最小化安装后的初始化配置 #### 概述 CentOS 7 是一个广泛使用的 Linux 发行版,尤其适合服务器环境。当通过最小化安装方式部署 CentOS 7 后,系统通常只包含了基本的功能和服务,这为后续的定制化...

    Centos7环境下安装Oracle11gR2.docx

    同时,在`/etc/ssh/sshd_config`中设置`X11Forwarding yes`以启用X11转发功能。 #### 文件传输 使用pscp工具将Oracle 11g R2的安装文件从Windows主机传输至Centos7虚拟机。传输完成后,解压安装包并进入相应的目录...

    centos6.3远程

    如果遇到防火墙问题,可以通过`service iptables stop`暂时关闭防火墙,或者使用`system-config-firewall`工具来配置防火墙规则,允许必要的端口通信。 总结来说,这个过程涵盖了在CentOS 6.3上配置远程图形化访问...

    XDMCP服务器.txt

    由X11(Centos使用的是Xorg这个计划的X11)提供的display manager为xdm,设定档在/etc/X11/xdm/xdm-config.而KDE与GNOME也都有自已的display manager管理程序。分别是kdm与gdm,设定档则是/etc/X11/xdm/kdmrc与/etc/...

    Centos7搭建sftp服务流程

    ### Centos7搭建SFTP服务流程详解 #### 一、前言 SFTP(Secure File Transfer Protocol)是一种安全的文件传输协议,它基于SSH(Secure Shell)协议来提供加密的数据传输服务,相比于传统的FTP(File Transfer ...

Global site tag (gtag.js) - Google Analytics