xstart连不上linux_【Tools系列】使用xstart远程连接linux图形用户界面以及rxvt终端配置-Go语言中文社区...

本文介绍了如何使用xstart远程连接到Linux并配置rxvt以获得美观的图形用户界面。通过修改.Xresources文件设置了窗口大小、颜色、透明度、字体等,并解决了配置生效后界面未改变的问题。此外,还提到了使用gnome-terminal作为另一种图形界面的选择。
摘要由CSDN通过智能技术生成

DATE: 2019-7-28

1、使用xstart远程连接linux图形用户界面

8669b4affdf68a9b818c59a2153f5c30.png

9291f49593a2f5ceb6adc4287573849b.png

1fa658c1f4be895b0118c02564fcf267.png

使用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

问题已经解决,配置好的界面如下:

0d1038a5b3d1cb0abb0e03f1b89040ca.png

当前也找到了另外一种方式使用独立的图形用户界面:

采用gnome-terminal的方式:

xstart中发送命令:

/usr/bin/gnome-terminal --display $DISPLAY

界面如下所示:

3c0bdcb1d757956e157db647fd08961e.png

颜值控的我,感觉这个界面还不错哦~

THE END!

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值