`
- 浏览:
19914 次
-
c# 代码
- # Xorg configuration created by system-config-display
-
- Section "ServerLayout"
- Identifier "Default Layout"
- Screen 0 "Screen0" 0 0
- InputDevice "Mouse0" "CorePointer"
- InputDevice "Keyboard0" "CoreKeyboard"
- EndSection
-
- Section "Files"
-
- # RgbPath is the location of the RGB database. Note, this is the name of the
- # file minus the extension (like ".txt" or ".db"). There is normally
- # no need to change the default.
- # Multiple FontPath entries are allowed (they are concatenated together)
- # By default, Red Hat 6.0 and later now use a font server independent of
- # the X server to render fonts.
- RgbPath "/usr/X11R6/lib/X11/rgb"
- FontPath "unix/:7100"
- EndSection
-
- Section "Module"
- Load "dbe"
- Load "extmod"
- Load "fbdevhw"
- Load "glx"
- Load "record"
- Load "freetype"
- Load "type1"
- Load "dri"
- EndSection
-
- Section "InputDevice"
-
- # Specify which keyboard LEDs can be user-controlled (eg, with xset(1))
- # Option "Xleds" "1 2 3"
- # To disable the XKEYBOARD extension, uncomment XkbDisable.
- # Option "XkbDisable"
- # To customise the XKB settings to suit your keyboard, modify the
- # lines below (which are the defaults). For example, for a non-U.S.
- # keyboard, you will probably want to use:
- # Option "XkbModel" "pc102"
- # If you have a US Microsoft Natural keyboard, you can use:
- # Option "XkbModel" "microsoft"
- #
- # Then to change the language, change the Layout setting.
- # For example, a german layout can be obtained with:
- # Option "XkbLayout" "de"
- # or:
- # Option "XkbLayout" "de"
- # Option "XkbVariant" "nodeadkeys"
- #
- # If you'd like to switch the positions of your capslock and
- # control keys, use:
- # Option "XkbOptions" "ctrl:swapcaps"
- # Or if you just want both to be control, use:
- # Option "XkbOptions" "ctrl:nocaps"
- #
- Identifier "Keyboard0"
- Driver "kbd"
- Option "XkbModel" "pc105"
- Option "XkbLayout" "us"
- EndSection
-
- Section "InputDevice"
- Identifier "Mouse0"
- Driver "mouse"
- Option "Protocol" "IMPS/2"
- Option "Device" "/dev/input/mice"
- Option "ZAxisMapping" "4 5"
- Option "Emulate3Buttons" "yes"
- EndSection
-
- Section "Monitor"
- Identifier "Monitor0"
- VendorName "Monitor Vendor"
- ModelName "Unknown monitor"
- HorizSync 30.0 - 80.0
- VertRefresh 50.0 - 90.0
- Option "dpms"
- EndSection
-
- Section "Device"
- Identifier "Videocard0"
- Driver "ati"
- VendorName "Videocard vendor"
- BoardName "ATI Rage XL"
- EndSection
-
- Section "Screen"
- Identifier "Screen0"
- Device "Videocard0"
- Monitor "Monitor0"
- DefaultDepth 16
- SubSection "Display"
- Viewport 0 0
- Depth 16
- Modes "1280x1024" "1280x960" "1152x864" "1024x768" "800x600" "640x480"
- EndSubSection
- EndSection
-
- Section "DRI"
- Group 0
- Mode 0666
- EndSection
分享到:
Global site tag (gtag.js) - Google Analytics
相关推荐
- **服务器端:** CentOS 6.5 Minimal - **终端模拟器:** Xshell 5 - **X11窗口系统:** Xming 7.5.0.55 #### 实现步骤 ##### 2.1 运行Xming 首先确保您的Windows系统上已经安装了Xming。打开Xming并启动它。Xming...
对于已经登录的控制台会话,可以使用x11vnc的临时选项,或者vnc-server的X11 "always on"选项来启动VNC服务。 上述知识点涵盖了从CentOS VNC Server的安装、配置、启动到安全性的相关操作,为用户提供了详细的操作...
根据系统架构选择对应的版本,即 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 ```...
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....
### Linux CentOS 6.6 搭建 SFTP 服务器 #### 一、背景与目的 在企业级应用环境中,安全地传输文件是一项基本需求。SFTP(Secure File Transfer Protocol)作为 SSH 协议的一部分,提供了加密的数据传输服务,比...
Starting applications specified in /root/.vnc/xstartup Log file is /root/.vnc/localhost:1.log ``` 2. **配置 VNC Server 启动文件**: VNC Server 默认会使用 `twm` 作为窗口管理器,但我们可以修改 `....
1. **安全设置**:确保在配置文件 `/etc/ssh/sshd_config` 中设置合适的参数,如 `PermitRootLogin` 和 `X11Forwarding`。 2. **测试连接**:完成升级后,应该立即通过 SSH 连接测试新版本是否正常工作。 3. **监控...
3. **连接协议 (SSH-CONNECT)**:将加密的连接分割成多个逻辑通道,支持交互式登录、远程命令执行、TCP/IP连接转发和X11连接转发等功能。 #### 四、SSH客户端与服务端 SSH系统由客户端和服务端两部分组成: 1. **...
### CentOS 下 SSH 及 SFTP 的配置与权限设置详解 #### 一、引言 SSH (Secure Shell) 是一种网络协议,用于计算机之间的加密登录。SFTP (SSH File Transfer Protocol) 则是一种基于 SSH 协议的安全文件传输协议。...
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 ...
关闭它可以通过修改`/etc/selinux/config`文件中的`SELINUX`设置为`disabled`。防火墙的关闭可以通过修改`/etc/sysconfig/iptables`文件或使用`service iptables stop`命令来实现。 2. **安装依赖RPM包**: Oracle...
完成安装后,需要配置`/etc/ssh/sshd_config`以适应新的OpenSSH版本,并重启`sshd`服务使更改生效: ```bash sudo systemctl restart sshd ``` 安全方面,OpenSSH 8.3p1引入了多项改进,例如更好的密钥交换算法支持...
# 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+...
# 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 最小化安装后的初始化配置 #### 概述 CentOS 7 是一个广泛使用的 Linux 发行版,尤其适合服务器环境。当通过最小化安装方式部署 CentOS 7 后,系统通常只包含了基本的功能和服务,这为后续的定制化...
同时,在`/etc/ssh/sshd_config`中设置`X11Forwarding yes`以启用X11转发功能。 #### 文件传输 使用pscp工具将Oracle 11g R2的安装文件从Windows主机传输至Centos7虚拟机。传输完成后,解压安装包并进入相应的目录...
如果遇到防火墙问题,可以通过`service iptables stop`暂时关闭防火墙,或者使用`system-config-firewall`工具来配置防火墙规则,允许必要的端口通信。 总结来说,这个过程涵盖了在CentOS 6.3上配置远程图形化访问...
由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服务流程详解 #### 一、前言 SFTP(Secure File Transfer Protocol)是一种安全的文件传输协议,它基于SSH(Secure Shell)协议来提供加密的数据传输服务,相比于传统的FTP(File Transfer ...