随笔分类 -  Linux

start a GUI software on a remote Linux PC via SSH
摘要:Is there a way to start a GUI software on a remote Linux PC via SSH? => We just need to run export DISPLAY=:0 in ssh session and programs run will run 阅读全文

posted @ 2017-09-01 13:09 NullSir 阅读(175) 评论(0) 推荐(0)

Linux下通过vconfig配置vlan
摘要:初衷: 我在centos上面搭建了一个dhcp server,由于client发来的dhcp request是加了tag的,为了使dhcp server能够正常response分给client一个地址池的ip。 dhcp server 对应eth0 实现: 在/etc/rc.local中添加 vco 阅读全文

posted @ 2017-06-22 15:27 NullSir 阅读(7192) 评论(0) 推荐(0)

read 由于信号中断,没读到任何数据
摘要:第一天写博客,想想写什么呢,突然想到一年前遇到的bug。好吧,就你了。 代码: CfgRet getConfigfilePath(char *ConfigfilePath) { char line[64] = {0}; char *pStr = NULL; char *firstChar; spri 阅读全文

posted @ 2017-06-22 14:35 NullSir 阅读(579) 评论(0) 推荐(0)

导航