How to access terminal on chromebook when crosh is blocked - terminal

Crosh is blocked on my chromebook and I can't find a different terminal. I tried google for the answer and went down a bunch of rabbit holes, and basically everything told me to use crosh, which is blocked. Is there a different terminal that works on chromebook?

If you go to Setting -> Advanced -> Developers -> Linux development environment and enable linux that will install linux shell on your chromebook and you will get access to linux terminal

I am afraid that Crosh is the only terminal available, so if your Chromebook is managed by an organization and they blocked it, there is no workaround or any additional terminal that can be used.

Related

How to disable SIP on macOS VMs for macOS UI testing in CI/CD environment?

I have been trying to run my macOS UI tests on a remote machine(VM), and it does not work. On a local machine, it works after giving the permissions related to accessibility. After digging through, I realised that you need to have SIP disabled and add the relevant permission.
So, how can I disable SIP on a headless machine in a CI/CD?
Unfortunately, it is not possible to disable SIP on a remote machine. You have to boot in safe mode and disable it from the terminal. And that requires direct access to the machine.
You can ask your provider if they can disable SIP for a specific machine for you, or you can look for providers that do.
There are a few out there, with Codemagic being one of them.
We released SIP disabled macOS images with the latest and beta Xcode versions so you can run macOS UI tests without any extra configuration.
It was frustrating not being able to test the UI of a Mac app, but I’m happy with what we managed to release.
I also wrote a blog post if you are interested in getting started with macOS UI testing.
Full disclosure - I’m a DevRel at Codemagic CI/CD, focusing on helping the community build for Apple platforms.

Centos 8 remote X11 desktop

Centos 8 ships with Wayland as its compositor and I was forced to install centos8 due to some GLIBCXX compatability issue. Everything SEEMS to work ok but there is a curious absence of all xapps and I cant get a remote X11 session going. It seems I am in Wayland hell.
Centos 8 ships with the shiny new Wayland with rumored X11 compatibility, but all I find is articles on rumors of xwayland and a host of badly named products whose names all begin with 'W' for cute.
I cant seem to install any x11, xapps or anything that would force xwayland to install as a dependency. Its amazing how easily a decision is taken to burn thousands of hours on tens of thousands of users globally.
My best google-fu has yielded nothing.
Please help. How can I get x11 (xwayland) up and running so that I can run apps from my Windows desktop as I used to with Centos 7...?
I've already encountered this "problem" and the solution I usually apply is to disable WayLand.
To do this, just edit this file with any editor (I use VI)
/etc/gdm/custom.conf
and change the line
#WaylandEnable=false
into
WaylandEnable=false
Save and close the file and restart gdm service with
systemctl restart gdm.service

After installing RHEL in Parallels on my Mac how do I log in?

I installed RHEL 6.4 server under Parallels 7 on my Mac OS 10.8 just now from an iso file I just downloaded from RedHat. The installation seemed to proceed ok, but at the end I'm left with a screen with a gray bar followed by the text "RedHat Enterprise Linux Server 6.4" with no obvious way how to login.
If I shut down the machine I see it running the shutdown scripts. If I boot it I see the boot scripts and they all look ok. But I always end up at that same screen with no way to login.
I can enter characters in the screen, but there is no Linux prompt at all.
Anybody know what to do next? I couldn't glean anything fro the RedHat install manual.
Thanks,
doug
I had the same problem. The issue is the X-win server will not start because Parallels tools breaks the framebuffer with the RHEL 6.4 update. This is especially easy to see because a fresh install works fine until you install Parallels tools.
When you see the "select system to boot" message, hit the key that allows you to edit the boot arguments. Add a "3" to the end to force the startup to runlevel 3 (which is a console login without the GUI).
After logging in, type the command "starts" and you will see that it fails. Once you are able to fix this problem, the normal bootup into the GUI login will also work.
I had to downgrade the video driver subsystem back to 6.3 for it to start working, and you also have to add an exclusion to yum to prevent it from updating and removing the fix. This will be necessary until Parallels releases an updated tools that addresses this issue. There is a procedure I found in the CentOS forums for how to do this, sorry I don't have the link.

how to launch x programs running in mac ox from cygwin running on windows-

running cygwin on windows I can connect and execute X applications with no further problems
just accessing the remote linux box as ssh -Y -l user machine.
If I do the same against a mac box and try to open ie. firefox as: open -a firefox
returns the following:
LSOpenURLsWithRole() failed for the application /Applications/Firefox.app with error -10810.
Any hints?
I've alternatively used a vnc server in the mac computer, but it's extremely slow.
Thanks,
/Applications/Firefox.app is not an X app it uses Apple's own GUI routines to write to the screen.
To work via cygwin you would need to compile up an X11 version of Firefox - one easy way is look at macports for X11 applications.
However I suspect you want to use Apple applications - all those in /Applications and then VNC is about the only way,
I agree with Mark.
The only other solution that might work is using AppleScript to script the target applications. As far as I know, it doesn't require a GUI session. I know I've used it over SSH before, but I can't remember if I've been logged in or not. Worst case scenario, you just log in via VNC and then close your VNC client.
What are you trying to run? Hopefully not just Firefox -- it'd be much easier to just use it on Linux than try to use it over VNC to a Mac. Either can be frustratingly slow over a distance, in my experience, however.

how to get a console shell on my symbian phone?

How do I get a bash or a similar shell for my new Symbian s60 rev 5 phone (Nokia 5800) ?
I already installed putty for s60, but it does not have telnet and it seems that there is no local ssh server running.
There's eshell but it is usually not included in phone SW that is put on the device. You can use it on emulator though.
There's a port of zsh that you can also run on the device. It's way more powerful than eshell.
Here is an article which explains text console in Carbide. You just should add -dtextshell parameter. It will work for emulator, but I'm not sure if it works on the device.

Resources