linuxroot用户和普通用户界面显示分辨率不一样

linuxroot用户和普通用户界面显示分辨率不一样,第1张

修改/etc/x11/xorg。conf文件。

1、现将机器1的xorg。conf的文件列出:

。。。。。。。Section "Monitor"### Comment all HorizSync and VertSync values to use DDC:Identifier "Monitor0"ModelName "Monitor 1024x768"### Comment all HorizSync and VertSync values to use DDC:HorizSync 31。

5 - 57。0VertRefresh 50。0 - 70。0Option "dpms"EndSectionSection "Device"Identifier "Videocard0"Driver "i810"EndSectionSection "Screen"Identifier "Screen0"Device "Videocard0"Monitor "Monitor0"DefaultDepth 24SubSection "Display"Modes "1024x768"Viewport 0 0Depth 24EndSubSectionEndSection

2、现将机器2的xorg。

conf的文件列出:

Section "Monitor"### Comment all HorizSync and VertSync values to use DDC:### Comment all HorizSync and VertSync values to use DDC:Identifier "Monitor0"ModelName "Monitor 1024x768"### Comment all HorizSync and VertSync values to use DDC:HorizSync 31。

5 - 57。0VertRefresh 50。0 - 70。0#ModeLine "1024x768_75。00" 81。

8 1024 1080 1192 1360 768 769 772 802 -hsync +vsyncOption "dpms"EndSectionSection "Device"Identifier "Videocard0"Driver "i810"EndSectionSection "Screen"Identifier "Screen0"Device "Videocard0"Monitor "Monitor0"DefaultDepth 24SubSection "Display"Modes "1024x768"Viewport 0 0Depth 24EndSubSectionEndSection。

Linux下有6中启动模式,你可以选择完全多用户模式,即3,不要进入5X11模式就可以。不同的运行级定义如下:(可以参考Red Hat Linux里面的/etc/inittab) # 缺省的运行级,RHS用到的级别如下: # 0 - 停机(千万不要把initdefault设置为0 ) # 1 - 单用户模式 # 2 - 多用户,但是没有NFS # 3 - 完全多用户模式 # 4 - 没有用到 # 5 - X11 # 6 - 重新启动(千万不要把initdefault设置为6 ) # 对各个运行级的详细解释: 0 为停机,机器关闭。 1 为单用户模式,就像Win9x下的安全模式类似。 2 为多用户模式,但是没有NFS支持。 3 为完整的多用户模式,是标准的运行级。 4 一般不用,在一些特殊情况下可以用它来做一些事情。例如在笔记本电脑的电池用尽时,可以切换到这个模式来做一些设置。 5 就是X11,进到X Window系统了。 6 为重启,运行init 6机器就会重启。


欢迎分享,转载请注明来源:内存溢出

原文地址: https://outofmemory.cn/yw/7267192.html

(0)
打赏 微信扫一扫 微信扫一扫 支付宝扫一扫 支付宝扫一扫
上一篇 2023-04-03
下一篇 2023-04-03

发表评论

登录后才能评论

评论列表(0条)

保存