DATE: -7-28
1、使用xstart远程连接linux图形用户界面
使用xstart已经成功远程连接到了Linux中,但是界面看起来有些丑,下面通过rxvt终端配置进行美化。
2、rxvt终端配置:
URXVT界面配置 参考:
采用如下的.Xresources配置文件:
!!$HOME/.Xresources
URxvt.preeditType:Root
!!设置输入法
URxvt.inputMethod:ibus
!!窗口大小及标题设置
URxvt.geometry: 85x20+60+80
URxvt.title:lepoke-rxvt-unicode
!!颜色设置
URxvt.depth:32
URxvt.colorBD:white
URxvt.colorUL:Green
URxvt.background: black
URxvt.foreground: white
!!调整透明度
URxvt.inheritPixmap: True
URxvt.tintColor: grey
URxvt.shading: 80
!URL操作
URxvt.urlLauncher:firefox
URxvt.matcher.button:1
!!开启标签功能
URxvt.perl-ext-common: default,tabbed
URxvt.tabbed.tab-fg: 10
URxvt.tabbed.tab-bg: 0
URxvt.tabbed.tabbar-fg: 5
!!滚动条设置
URxvt.scrollBar:False
URxvt.scrollBar_right:True
URxvt.scrollBar_floating:False
URxvt.scrollstyle:plain
URxvt.saveLines:5000
!!滚屏设置
URxvt.mouseWheelScrollPage:True
URxvt.scrollTtyOutput:False
URxvt.scrollWithBuffer:True
URxvt.scrollTtyKeypress:True
!!光标闪烁
URxvt.cursorBlink:True
!!边框
URxvt.borderLess: True
!!字体设置
Xft.dpi:96
URxvt.font:xft:YaHei Consolas Hybrid:size=13:style=Regular:antialias=true,xft:Microsoft Yahei:size=13
URxvt.boldfont:xft:YaHei Consolas Hybrid:size=13:style=Regular:antialias=true:Bold,xft:Microsoft Yahei:size=13
!!颜色重定义
!Black
URxvt.color0: #000000
URxvt.color8: #555753
!Red
URxvt.color1: #CC0000
URxvt.color9: #EF2929
!Green
URxvt.color2: #4E9A06
URxvt.color10: #8AE234
!Yellow
URxvt.color3: #C4A000
URxvt.color11: #FCE94F
!Blue
URxvt.color4: #3465A4
URxvt.color12: #729FCF
!Magenta
URxvt.color5: #75507B
URxvt.color13: #AD7FA8
!Cyan
URxvt.color6: #06989A
URxvt.color14: #34E2E2
!White
URxvt.color7: #D3D7CF
URxvt.color15: #EEEEEC
但是存在一个问题就是:通过xrdb .Xresources命令配置生效后,界面并没有变化?
LC_ALL=en_US.UTF-8 /usr/bin/urxvt -ls -display $DISPLAY
问题已经解决,配置好的界面如下:
当前也找到了另外一种方式使用独立的图形用户界面:
采用gnome-terminal的方式:
xstart中发送命令:
/usr/bin/gnome-terminal --display $DISPLAY
界面如下所示:
颜值控的我,感觉这个界面还不错哦~
THE END!
xstart连不上linux_【Tools系列】使用xstart远程连接linux图形用户界面以及rxvt终端配置-Go语言中文社区...