Ubuntu 14.04 and X2Go (or any remote XSession client) ?

阿呆_ 2014-07-11 12:03:31
随着Win XP支持到期,我升级了家里台式机的操作系统, 很后悔选择了Ubuntu 14.04 LTS。 本来打算将台式机作为家庭LTSP Server用的,当然thin clients必须是图形界面的,毕竟家庭用户有几个是精通电脑的?不可能让家里每个人(包括70+的老妈)都面对一个黑黑的窗口输入命令行吧?
说说后悔在哪吧, 先不提安装的麻烦--比如官方网站下载的Server版根本无法安装,中途就报错退出(不幸此时已经format掉我机器的硬盘了);比如官方网站下载的Desktop版安装盘启动就黑屏啥都没有;比如好不容易上网找解决方案终于进入安装界面了显示和安装执行也正常了,但安装完成硬盘启动后装的NVIDIA驱动不支持我的NVIDIA显卡只能进入640*480分辨率(TMD安装时怎么支持显卡的?),但是默认最小桌面估计是按800*600分辨率设计的--也就是说显示器只能显示左上角的桌面(周边也没有滚动条可以看到桌面的其它部分),打开屏幕设置窗口界面上所有有用的按钮都处于显示器屏幕外面(打开时还自动居中?结果在显示器上只能看见1/4窗口),多亏X协议下关闭窗口按钮是在窗口左上角。
费尽九牛二虎之力终于安装好了正确的显卡驱动,创建好了一堆用户账号,安装好了语言支持,又装好了一批经常使用的软件,安装并设置好了各个用户的个性化桌面(非unity, gnome3桌面,而是gnome-flashback, Xfce4, LXDE桌面,因为我知道没有一款remote desktop工具是支持使用3D Accelerator的桌面的),继续我的LTSP Server梦想。没有选择在Ubuntu机器上安装LTSP Server组件,因为所有client机器都是Windows的。 经过上网查找,发现X2Go是完美实现我梦想并且还活着(有人继续开发)的工具--根据功能介绍来看。
噩梦从装完X2Go开始,使用后发现X2Go Client没有一个选项是可以连上并正确显示Ubuntu桌面的,不管哪种。 连Xfce4 和 LXDE的话显示的桌面和设置好的完全不一样,并且所有背景啦背景上图标啦统统无法显示,部分程序无法执行--比如系统设置(!!),还有部分程序执行相当相当慢--比如打开文件系统(类似Windows里的File Explorer),从选择了菜单选项到窗口出现需要2.5-4分钟(如果本地机执行不说立即也在2秒内);而gnome-flashback和KDE则是根本无法连上,连上KDE后client就死机了(看上去像本地X Server死了,必须杀掉X Server进程然后重启X2Go),连gnome-flashback后ssh连上查看log发现gnome-flashback根本无法启动,因为启动时它要检查是否3D Accelerated(??!!), 如果不是则拒绝启动,显示一条:CRITICAL **: We failed, but the fail whale is dead. Sorry....并死循环。 仰天无语中,gnome-flashback(就是gnome-fallback)不是gnome 2的继续版吗?它本身就不使用3D Accelerator的还检查个屁啊?还检查不通过就不执行?
而让我百思不得其解的是几百万Ubuntu用户没有人使用新版Ubuntu开remote desktop的吗?为什么网上几乎搜不到相同的问题与解决方案?呃,说几乎搜不到是我还是搜到一个的,是13年年底的bug report,可是现在已经是14年7月了还没有解决啊?
而且看表现形式连接Xfce4和LXDE的问题似乎也和3D Accelerator有关,比如它的桌面背景和图标还有部分应用软件窗口等等也是通过3D Accelerated显示的,这也就意味着本机登录显示正常而remote session显示不正常。
为了解决这个问题,我又在网上搜索了好几天,最后发觉似乎只有VirtualGL可以解决remote 3D问题。随后又是噩梦般的几天安装设置VirtualGL--TMD VirtualGL根本无法在Ubuntu 14.04 lightdm下正确安装(尽管VirtualGL的安装文档说它可以安装在Ubuntu lightdm下还指明了安装设置步骤--估计是老版本Ubuntu可以),折腾几天后终于通过修改VirtualGL的vglserver_config程序成功设置好了vgl server并且通过X2Go可以远程执行单个3D程序了(效果还不错, 远程可以达到28-35fps,对人眼来说相当流畅了)。 求漫天神佛保佑之后通过X2Go和Vgl连接上gnome-flashback, client出现一个全黑色背景窗口,等了大约3分钟还是黑色窗口里面什么都没有,不死心继续等,忽然黑色窗口中跳出了一个Ubuntu对话框(可以肯定是Ubuntu中的对话框而不是client机器X Server产生的对话框--因为关闭窗口按钮在对话框的左上角圆形的而不是右上角类似Windows的关闭按钮),上面提示系统错误,问是否report,大失所望之下断开X2Go重新连,这回除了一个全黑的窗口出现了大约10秒就自动关掉并断开连接之外什么都没有。ssh连上查看log发现一大堆glx error还夹杂着某个进程的deadlock error,我靠!原来gnome-flashback还真的使用了3d accelerator?? 这是不是就意味着ubuntu完全不打算支持remote desktop了(或是“要用remote desktop请用老版本”)?BTW,结合X2Go+Vgl连Xfce4也不能解决桌面无法显示的问题反而整个client死翘翘了。网上到处搜索最后在vgl的maillist中发现vgl开发者说vgl是配合red hat 6开发的,对fedora的Window Manager有某些程序存在兼容性问题, 对ubuntu 13的WM则完全不支持......

我的LTSP GUI Client梦啊----难道在Ubuntu下只能是梦想? 难道我花的近一个月其实是浪费时间?我那么多下载、安装、设置其实是在做无用功?

Any idea or walkaround?
...全文
1127 15 打赏 收藏 转发到动态 举报
AI 作业
写回复
用AI写文章
15 条回复
切换为时间正序
请发表友善的回复…
发表回复
Ellipsis_ 2015-07-13
  • 打赏
  • 举报
回复
你妹啊 说个鸟蛋英语
阿呆_ 2014-07-12
  • 打赏
  • 举报
回复
好吧,自己动手丰衣足食。 看来降低期望后还是可以继续我的LTSP GUI Client 梦的。 至少现在通过创建PuTTY命令行的快捷方式,在Windows client中建立了几个Ubuntu应用程序的图标也解决了Ubuntu中输入法的支持问题(PuTTY这点做得比X2Go好,即使使用和Windows一样的切换输入法快捷键也不会和Windows发生冲突),我梦想的80%已经实现了。现在只剩下一些小问题,比如没有声音,比如程序运行速度比使用X2Go慢。 现在正研究X2Go命令行中......
阿呆_ 2014-07-11
  • 打赏
  • 举报
回复
I disagree! At least all my requests are available in Ubuntu 11.0 -- people already did what I said in older version Ubuntu. I just can't follow those developers' minds, why kill a useful functionality and let system become a buggy clone of Windows?
  • 打赏
  • 举报
回复
Linux is not for home entertainment, dude:) Don't be an idealist...
阿呆_ 2014-07-11
  • 打赏
  • 举报
回复
Blame that cup of coffee last night when watching Got Talent. AAhhhhhhhhh!! Still can't fall asleep. HELP!
707wk 2014-07-11
  • 打赏
  • 举报
回复
good luck for you!
  • 打赏
  • 举报
回复
I wish I could have your magic coffee here in the office coz I am always sleepy at morning and of course, I don't want to drink as much as you had,,,
  • 打赏
  • 举报
回复
how's the winter there? u only have few hours time difference with home, which means you were up all night long...
阿呆_ 2014-07-11
  • 打赏
  • 举报
回复
AU
  • 打赏
  • 举报
回复
I didn't mean to hurt you. but I have to say: don't be that stubborn.even you take this as your hobby. For me, I'd like to get out of the office and have fun with my family. See you! P.S., are you at Europe, US or CA?
阿呆_ 2014-07-11
  • 打赏
  • 举报
回复
OK, reduced my expectation. Since I can use X2Go to run a single app and X2Go+vglrun to run a single 3D app remotely, maybe I can generate a bunch of remote X session settings for each useful application on client as Windows shortcuts and copy these settings everywhere on client machine -- someway to bypass the remote WM issue. Now, the biggest problem is how to launch IME support for a single app(like gedit, firefox, etc.) via command line remotely? and what's the best X forwarding client for Windows which support saving hostname, port, username, password and starting command line in a file and support multiple settings file?
阿呆_ 2014-07-11
  • 打赏
  • 举报
回复
So, the conclusion is, to me, Ubuntu is rubbish? And I'm that idiot who was lured and wasted small amount bucks?
  • 打赏
  • 举报
回复
because the disclaimer they have will cover their ass. you can definitely complain but they won't listen :) I thought Ubuntu is "free"... See, that's interesting: I don't think you can return an open-box software at bestbuy? same rule is applied here...
阿呆_ 2014-07-11
  • 打赏
  • 举报
回复
引用
These developers who work on their spare time and benefit millions of users don't owe you anything.
Yes, maybe they used their spare time, but I think they at least got paid for these spare time(the hourly rate may not as high as you expected), otherwise where those donations go to? I regretted my $16 payment at downloading ubuntu 14.04 LTS Desktop version. Would they refund me? Why can't I complain they removed remote desktop supporting without a single warning?
  • 打赏
  • 举报
回复
good luck with your LTSP dream then. Could you please try not to be so judgmental. These developers who work on their spare time and benefit millions of users don't owe you anything. Have you ever pay a penny to Ubuntu and LTSP. Besides LTSP is not new at all, I heard of it twenty years ago... http://baike.baidu.com/view/51922.htm?fr=aladdin

427

社区成员

发帖
与我相关
我的任务
社区描述
非技术问题的乐园
社区管理员
  • 非技术区社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧