tag:blogger.com,1999:blog-8006426793922825409.post4568920225585748570..comments2023-07-12T01:46:05.433-07:00Comments on David Crumpton's Blog: Chromebook X-Windows Setup Using CroutonDavid Crumptonhttp://www.blogger.com/profile/15718616837541682276noreply@blogger.comBlogger21125tag:blogger.com,1999:blog-8006426793922825409.post-7977043859009151532021-08-15T08:46:06.376-07:002021-08-15T08:46:06.376-07:00Agreed on not removing this illuminating post! Was...Agreed on not removing this illuminating post! Was cool and useful, even here in 2021, to learn how a chroot can be usefully reached into from main host Chrome OS. Perhaps post can just be edited at top to indicate that it is obsolete for later Chrome OS versions.Unknownhttps://www.blogger.com/profile/06231485537080210385noreply@blogger.comtag:blogger.com,1999:blog-8006426793922825409.post-82421471232685102272017-10-24T21:16:36.875-07:002017-10-24T21:16:36.875-07:00I found blog useful and learnt a few things. No ha...I found blog useful and learnt a few things. No harm in keeping it IMO.Anonymoushttps://www.blogger.com/profile/15996236655803722562noreply@blogger.comtag:blogger.com,1999:blog-8006426793922825409.post-44906434984591287212017-10-24T16:41:17.189-07:002017-10-24T16:41:17.189-07:00That makes sense. I didn't think X windows wo...That makes sense. I didn't think X windows would last forever. Perhaps I I should remove this blog.David Crumptonhttps://www.blogger.com/profile/15718616837541682276noreply@blogger.comtag:blogger.com,1999:blog-8006426793922825409.post-21699281931458608882017-10-24T05:03:43.403-07:002017-10-24T05:03:43.403-07:00Thanks for your reply.
My understanding about X /...Thanks for your reply.<br /><br />My understanding about X / ChromeOS is limited, but this is what I could figure out while browsing through Internet.<br /><br />Looks like Chrome OS has moved away from X server to Freon. From a few discussions I saw, migration seems to have started around 2015. (https://www.phoronix.com/scan.php?page=news_item&px=Chrome-OS-X11-Free)<br /><br />So, possibly Anonymoushttps://www.blogger.com/profile/15996236655803722562noreply@blogger.comtag:blogger.com,1999:blog-8006426793922825409.post-20714626163316361302017-10-24T03:42:53.750-07:002017-10-24T03:42:53.750-07:00When you set your DISPLAY like that, you are telli...When you set your DISPLAY like that, you are telling it to connect to a listener bound to localhost at port 6000. In your case, nothing is listening on 6000. For X Windows, port 6000 is :0, 6001 is :1, and so on. Check with 'netstat -an | more' to see if you have anything on port 6000. The problem with X is that is doesn't have to use a TCP socket. It might have been switched to David Crumptonhttps://www.blogger.com/profile/15718616837541682276noreply@blogger.comtag:blogger.com,1999:blog-8006426793922825409.post-11940673611298513542017-10-24T03:07:10.572-07:002017-10-24T03:07:10.572-07:00Hi David,
Thank you for a very useful post.
Whil...Hi David,<br /><br />Thank you for a very useful post.<br /><br />While trying to get xterm up on Version 60.0.3112.114 (Official Build) (64-bit) and chroot xenial, I had to add the following to LD_LIBRARY_PATH:<br />/usr/local/chroots/xenial/lib/x86_64-linux-gnu<br />/usr/local/chroots/xenial/usr/lib/x86_64-linux-gnu<br /><br />Like you said, the partition had to be remounted with exec Anonymoushttps://www.blogger.com/profile/15996236655803722562noreply@blogger.comtag:blogger.com,1999:blog-8006426793922825409.post-33055942937373561902017-01-18T17:09:47.092-08:002017-01-18T17:09:47.092-08:00Try
export DISPLAY=127.0.0.1:0 # sometimes omit...Try <br /><br />export DISPLAY=127.0.0.1:0 # sometimes omitting localhost breaks X<br /><br />David Crumptonhttps://www.blogger.com/profile/15718616837541682276noreply@blogger.comtag:blogger.com,1999:blog-8006426793922825409.post-40845510320901087742017-01-18T12:22:06.339-08:002017-01-18T12:22:06.339-08:00Alright so after some tweaking, I got all the libr...Alright so after some tweaking, I got all the libraries for xterm and twm. However when I run xterm, it gives me: <br />xterm Xt error: Can't open display: <br />xterm: DISPLAY is not set<br />and for twm:<br />twm: unable to open display ""<br /><br />I tried manually exporting the display with DISPLAY=:0<br />but all it says is Can't open display: :0<br /><br />Thanksunknownhttps://www.blogger.com/profile/13849232690175138891noreply@blogger.comtag:blogger.com,1999:blog-8006426793922825409.post-49719227303165389592017-01-16T08:37:31.248-08:002017-01-16T08:37:31.248-08:00Well, the execute bit is set but you have no permi...Well, the execute bit is set but you have no permission. Check to see if the volume is mounted with noexec.<br /><br />http://superuser.com/questions/728127/what-does-noexec-flag-mean-when-mounting-directories-on-rhel<br /><br />Type "mount" and look for noexec in the options column.David Crumptonhttps://www.blogger.com/profile/15718616837541682276noreply@blogger.comtag:blogger.com,1999:blog-8006426793922825409.post-50047181331564255862017-01-14T11:53:31.321-08:002017-01-14T11:53:31.321-08:00chronos@localhost / $ ls -l /usr/local/chroots/pre...chronos@localhost / $ ls -l /usr/local/chroots/precise/usr/bin/xterm<br />-rwxr-xr-x 1 root root 433408 Oct 1 2012 /usr/local/chroots/precise/usr/bin/xterm<br />chronos@localhost / $ find / -name xterm -ls 2> /dev/null<br />394399 4 drwxr-xr-x 2 root root 4096 Jan 14 10:40 /mnt/stateful_partition/crouton/chroots/precise/usr/share/doc/xterm<br />144951 4 -rw-r--r-- 1 unknownhttps://www.blogger.com/profile/13849232690175138891noreply@blogger.comtag:blogger.com,1999:blog-8006426793922825409.post-75265630536594097232016-10-27T20:21:34.266-07:002016-10-27T20:21:34.266-07:00Maybe nothing. Paths might have changed since I w...Maybe nothing. Paths might have changed since I wrote this. I see you have "precise" instead of "crouton," so I am not sure what is new. To be sure, run the following three commands paste their output.<br /><br />ls -l /usr/local/chroots/precise/usr/bin/xterm<br />file /usr/local/chroots/precise/usr/bin/xterm<br />find / -name xterm -ls 2> /dev/null<br />David Crumptonhttps://www.blogger.com/profile/15718616837541682276noreply@blogger.comtag:blogger.com,1999:blog-8006426793922825409.post-79510134086509403022016-10-27T19:08:03.599-07:002016-10-27T19:08:03.599-07:00I followed your instructions and when i try to run...I followed your instructions and when i try to run xterm it keeps saying <br />bash: /usr/local/chroots/precise/usr/bin/xterm: Permission denied<br />and then if i use sudo xterm I get <br />sudo: xterm: command not found<br />Do you have any clue what I am doing wrong? Anonymoushttps://www.blogger.com/profile/18272283347537348377noreply@blogger.comtag:blogger.com,1999:blog-8006426793922825409.post-51928151200150253852016-03-17T08:51:29.863-07:002016-03-17T08:51:29.863-07:00Thank you for the link, I'll be sure and check...Thank you for the link, I'll be sure and check it out. <br /><br />And I only plan to use XDMCP inside my home network so I should be ok (unless my kids decide to hack me! ;) <br /><br />Again, great article and thanks.Vizboneshttps://www.blogger.com/profile/11440218868666159014noreply@blogger.comtag:blogger.com,1999:blog-8006426793922825409.post-59172220615108314472016-03-16T20:10:06.605-07:002016-03-16T20:10:06.605-07:00You might be able to, but I haven't tried it. ...You might be able to, but I haven't tried it. Try something like X :1 -query remote_hostname_or_ip_address_1. You may need to use :2. <br /><br />You really want alternate X sessions and CTRL keys mapped as described in http://unix.stackexchange.com/questions/85383/how-to-start-a-second-x-session<br /><br />XDMCP is not secure (https://wiki.ubuntu.com/xdmcp) so I only use it in LAB David Crumptonhttps://www.blogger.com/profile/15718616837541682276noreply@blogger.comtag:blogger.com,1999:blog-8006426793922825409.post-51046953933492416522016-03-16T13:31:00.678-07:002016-03-16T13:31:00.678-07:00Hi David. Great post, thank you.
I was thinking ab...Hi David. Great post, thank you.<br />I was thinking about getting a Toshiba Cromebook 2 (2015) to connect to my linux server with.<br />Have you tried using xdmcp? In the past, I've connected low-grade boxes to high-end servers by attaching the local xserver to a remote xserver. My desktop on the low-grade box was the same as if I had been on the console of the high-end server.<br />Do you Vizboneshttps://www.blogger.com/profile/11440218868666159014noreply@blogger.comtag:blogger.com,1999:blog-8006426793922825409.post-34224197983428907422016-03-16T13:29:31.244-07:002016-03-16T13:29:31.244-07:00This comment has been removed by the author.Vizboneshttps://www.blogger.com/profile/11440218868666159014noreply@blogger.comtag:blogger.com,1999:blog-8006426793922825409.post-38573946858483360112015-01-31T12:28:09.707-08:002015-01-31T12:28:09.707-08:00This comment has been removed by the author.mageshttps://www.blogger.com/profile/15843037352959071712noreply@blogger.comtag:blogger.com,1999:blog-8006426793922825409.post-28450294687488277622014-06-07T15:50:19.818-07:002014-06-07T15:50:19.818-07:00David,
You're right. I am using the 64 bit ve...David,<br /><br />You're right. I am using the 64 bit version but my path was still pointing to the i386. The libXaw.so.7 file was in the 64bit directory like this:<br /><br />export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/chroots/precise/lib/x86_64-linux-gnu/:/usr/local/chroots/precise/usr/lib/x86_64-linux-gnu/:/usr/local/chroots/precise/lib:/usr/local/chroots/precise/usr/lib/<br />Anonymoushttps://www.blogger.com/profile/15803511934855111608noreply@blogger.comtag:blogger.com,1999:blog-8006426793922825409.post-16839672254792278372014-06-03T18:45:27.162-07:002014-06-03T18:45:27.162-07:00This post is old compared to the speed of updates:...This post is old compared to the speed of updates:<br /><br />1) Ensure LD_LIBRARY_PATH is set correctly. To be sure use find / -name libXaw.so.* -print. It might be a different version. You might need to link or copy libXaw.so. to libXaw.so.7 in that directory.<br />2) twm issue: Sadly, this took advantage of the fact that the Chrome window manager didn't report to X applications that itDavid Crumptonhttps://www.blogger.com/profile/15718616837541682276noreply@blogger.comtag:blogger.com,1999:blog-8006426793922825409.post-51296985917892131772014-06-02T20:26:14.633-07:002014-06-02T20:26:14.633-07:00Hi David,
I'm really interested in this so th...Hi David,<br /><br />I'm really interested in this so thank you.<br /><br />I'm trying to generate python plots without having to log into unity and this seems like the best method I've seen so far. However, when I try to run xterm I get the following error:<br /><br />chronos@localhost / $ xterm<br />xterm: error while loading shared libraries: libXaw.so.7: cannot open shared object Anonymoushttps://www.blogger.com/profile/15803511934855111608noreply@blogger.comtag:blogger.com,1999:blog-8006426793922825409.post-83869262784862493272014-05-21T18:34:23.465-07:002014-05-21T18:34:23.465-07:00Awesome. Great post!Awesome. Great post!Howard Tanhttps://www.blogger.com/profile/02167195483866017154noreply@blogger.com