/r/Crostini

Photograph via snooOG

A forum for discussion and discovery for using VMs, Containers, and related tools on Chrome OS & Chromium. This community was created by enthusiasts and is not affiliated with anyone.

/r/Crostini

32,214 Subscribers

0

Linux Folder disappears

So, i've been having issues for the past month with the linux folder randomly disappearing every so often. It does so when i save art projects, try to import music etc.

Basically, its all normal for like 5 seconds, then i head back to the folder to find out that its all blank.

https://preview.redd.it/bs8it00npa3e1.png?width=1333&format=png&auto=webp&s=53111b2d1b8aa973c4744a8380c44fc52a6b8f55

6 Comments
2024/11/26
19:15 UTC

1

Linux container for a child's account

I've bought a Chromebook for my child. We'd like her to use a FamilyLink managed account, but I'd also like to let her use Minecraft (Java edition) which have running now for my own account in Crostini.

Any ideas how this might best be done? I've read that Crostini is disabled for child accounts.

1 Comment
2024/11/26
15:48 UTC

0

cant install crostini

Lenovo 100e 2nd gen (octopus phaser)

Stops downloading at 20 something percent and gives error that it couldnt download crostini

chromeos v125

https://preview.redd.it/fnlb59ydf83e1.png?width=1366&format=png&auto=webp&s=3f1e105e739094f184c46d6c6819dbf5a85d4477

5 Comments
2024/11/25
23:22 UTC

1

Appimage file doesn't open.

Hi,
I am new to Crostini and try to install an Appimage program ( Upnote). Previously, I downloaded Nautilus. I changed the property and made it executable, but nothing happens when I double click on it. Any idea on what to do next?

4 Comments
2024/11/24
14:39 UTC

0

user password denied in chrome ssh extenshion when connecting

in my quest to connect my home pc to the school smart board i started trying to host my pc via ssh but i am a beginer so i started to experiment i m pc first.

i am running debian bookworm, installed open ssh with sudo apt -y install ssh changed the ssh port to '1947' for fun

i am trying to connect to my computer from the SSH chrome extension,it asks for user password which i give. but it shows permission denied

i enter the userpassword i use to login to the computer

the user in here is the main(and only) root user

i tried it from my terminal and it seems to work tried the same user hostname and password

tried the same user hostname and password

i even tried connected from my phone(android) it was working

whats going on?

3 Comments
2024/11/24
12:52 UTC

3

CUPS web interface admin

Hi all:

I have CUPS, hplip and system-config-printer installed.

I can manage printers with the GUI interface of system-config-printer, but I was also trying to see if I can could access CUPS' web interface, but in Chrome I get a "Bad Request" message and in the CUPS error log I get:

Request from "100.115.92.25" using invalid Host: field "penguin.linux.test:631".

I followed the steps in this tutorial: https://www.reddit.com/r/Crostini/comments/asxdzm/tutorial_proper_cups_printing_with_chrome_os/

I don't know that it matters since I can manage printers with system-config-printer but I was wondering why it doesn't work.

3 Comments
2024/11/23
16:55 UTC

1

does firejail work on crostini?

I want to see if I can add firejail to sandbox apps for extra security (I don't want to use flatpak for that purpose because it seems to take up quite a bit of space for supporting the small number of apps that I have).

My system is up to date. I installed firejail from the repository using sudo apt install firejail

I tried 2 different applications and got an error in both cases. It may well be a firejail error that requires configuration, or it may be crostini specific. I don't know which one so I'm starting here before I go asking the firejail people. Here are two applications I tried and the errors I received.

  • First tried running OnlyOffice Appimage using firejail --appimage /home/myhome/Applications/DesktopEditors-x86_64.AppImage. The absolute address is correct and the appimage file is executable. The error was:

    • Error: cannot configure loopback device
  • Then for brave installed through the debian repositiory, I tried to execute the command: firejail brave-browser. The result was:

    • Reading profile /etc/firejail/brave-browser.profile
    • Reading profile /etc/firejail/brave.profile
    • Reading profile /etc/firejail/chromium-common.profile
    • Reading profile /etc/firejail/disable-common.inc
    • Reading profile /etc/firejail/disable-devel.inc
    • Reading profile /etc/firejail/disable-exec.inc
    • Reading profile /etc/firejail/disable-interpreters.inc
    • Reading profile /etc/firejail/disable-programs.inc
    • Reading profile /etc/firejail/disable-xdg.inc
    • Reading profile /etc/firejail/whitelist-common.inc
    • Reading profile /etc/firejail/whitelist-runuser-common.inc
    • Reading profile /etc/firejail/whitelist-usr-share-common.inc
    • Reading profile /etc/firejail/whitelist-var-common.inc
    • Warning: networking feature is disabled in Firejail configuration file
    • Parent pid 7264, child pid 7265
    • Error: cannot create /dev/zero device: Operation not permitted
    • Error: proc 7264 cannot sync with peer: unexpected EOF
    • Peer 7265 unexpectedly exited with status 1

Do you think these are chromeos-specific errors?

EDIT - I just noticed the bolded one... I will look closer into that file.

3 Comments
2024/11/23
15:43 UTC

3

freeciv (civilkization) cannot connect to spawned server.

I used to occasionally play freeciv. I thought I'd play a round again, after years of not playing it. But now freeciv cannot connect to its server. I even manually started a server /usr/games/freeciv/freeciv.server but the freeciv client cannot connect to it. Even with both verified on the same port (5556 y default).

Is there a simple trick to get it to work in crostini?

0 Comments
2024/11/23
13:31 UTC

5

What performance do you currently get with the Venus Vulkan driver?

Hello everyone. I would like to recover a Pixelbook Go in the second-hand world and then use it as a laptop. I noticed that the "baguette" function and the venus drivers are also available for chromebooks which do not support native Steam. So, by installing the Venus driver, enabling hardware acceleration and trying to optimize everything, would I be able to play lighter games? To be clear, I would like to try Persona 4 Golden from Steam, and then maybe some slightly heavier games. Tell me about your experience, advice and clarifications are welcome!

6 Comments
2024/11/23
09:24 UTC

4

New flag: #crostini-containerless

Crostini without LXD containers Description: Experimental support for Crostini without LXD containers (aka Baguette)

what exactly does that mean?

7 Comments
2024/11/22
10:54 UTC

0

stylus support/pdf annotation

Hi all, I'm about to press go on buying a chromebook; this is my first one. Aside from editing google docs (for one job), I'll spend a lot of time reading PDFs in the Zotero desktop app under Crostini (for another). I do a lot of highlighting. Can I pretty much expect the stylus (or just fingers on touchscreen) to work flawlessly, or should I expect problems? thank you!

4 Comments
2024/11/21
12:35 UTC

1

Noob question: I enabled "Linux development environment" but how to run e.g. xeyes and graphical Ubuntu programs?

Hi. Just got myself a brand new Lenovo Chromebook. I enabled "developer mode" although I'm not sure if it today is really necessary. However it seems to me Crostini has evolved a lot over the years. So when I google for my problems, such as "cannot open display" I get really old and probably outdated information. I also enabled "Linux development environment" and got myself a user@penguin shell prompt from where I ran "apt update", "apt upgrade" and can install Debian packages. Some way I also managed to install a virtual Ubuntu 22.04 as lxc in which I installed xeyes. My problem is that I cannot make it run even something as simple as xeyes. Could someone help a bit with advice on how to run graphical Ubuntu/Debian packages on a modern Chromebook?

10 Comments
2024/11/20
19:12 UTC

4

Waydroid (Android 11) running seamlessly on ChromeOS Flex/Crostini

1 Comment
2024/11/19
15:51 UTC

4

Virgl will be disabled by default from ChroomeOS 131

To provide a more stable graphical user experience in Crostini,

the GPU-based rendering driver (virgl) has been disabled by default

for existing and new environments in ChromeOS version 131 and newer.

OpenGL and OpenGLES applications will continue to function using a

CPU-based rendering driver (swrast).

If you would like to re-enable GPU-based rendering in an unsupported

capacity, you may visit: chrome://flags#crostini-gpu-support

in your Chrome browser and set the flag to "Enabled", then restart

your device.

3 Comments
2024/11/19
07:09 UTC

0

Can not switch keyboard input language in linux apps in chrome os

Hello,

I installed chrome os , and for switching inputt keyboard language from english to french i press ctrl+space,

this works fine in chrome browser and chrome os environment

but inside linux apps installed , the shortkeys (ctrl+space) for switching keyboard language input ,,,, i do not work , i have to switching using the mouse and language icon in bottom tray

how to enable the shortkeys for this function in linux apps

thanks you

1 Comment
2024/11/16
13:01 UTC

4

Lose 'shared with Linux' paths with copying large files

When I copy large files, or tar large directories, on paths/folders/directories shared with Linux, I get input/output errors on all them. I have to stop Linux and restart to get them back.

Is this "expected behavior" or is there some setting that I can tweak? Often I have 50% free space in the Linux environment so I'm thinking that is not the issue.

Happens often with Handbrake and if I am trying to tar a directory with a large number of files and folders.

7 Comments
2024/11/14
19:11 UTC

1

IntelliJ New Project Window Has No Window Control Buttons

I have this project in Java that requires two projects to be open simultaneously. Unfortunately, when I open the 2nd project in another window, there is no "maximize" button, no "minimize" button, and no "close" button. Any help is appreciated. This is still happening even after deleting and recreating the container.

0 Comments
2024/11/14
11:40 UTC

0

[WINE Help] How do I set up a second drive with WINE?

EDIT - SOLVED: I found a workaround. I installed WINE onto my internal drive, and I'll edit my programs' save location to be on the microSD card to avoid having the internal drive be used up. Not exactly the nicest solution, nor the one I first wanted, but it works, and if you want to avoid a massive headache, I recommend doing this instead of trying to find (what appears to be) a non-existent solution.
Thank you Witstorm, even though it didn't work out, you definitely helped me learn a bit more about WINE and you indirectly put me on this path to success. Thanks bro :)

Now the post as it originally was:

Hi, I'm wanting to create a second Windows drive with WINE on my microSD card. When I try to create one nothing happens, except a single file gets made.

Also, I'm on a Chromebook and WINE is working (for the most part, no serious issues I can find).

Before you read my sorry mess of a word vomit, I'm sorry if this is worded weird, if you need I'll be more than happy to clarify or add missing information, please be patient with me, I'm still kinda new to Linux, but I'm willing to put in the effort to learn. Also if I'm breaking any rules please tell me, I'm not trying to and I'll do my best to fix it.

Why I want to do this:
My Chromebook has 32GB of internal storage, and I got a 256GB microSD card (this) so I can have all my data on the SD card, and only the required stuff that can't go in the SD card is left on the internal drive to avoid filling it up completely.

My issue:
When I run "winecfg" in the terminal I get these error messages (to clarify I'm not necessarily asking to fix these error messages, although if you do have a fix for this I'm glad to hear your advice)

007c:fixme:hid:handle_IRP_MN_QUERY_ID Unhandled type 00000005
007c:fixme:hid:handle_IRP_MN_QUERY_ID Unhandled type 00000005
007c:fixme:hid:handle_IRP_MN_QUERY_ID Unhandled type 00000005
007c:fixme:hid:handle_IRP_MN_QUERY_ID Unhandled type 00000005
wine: could not open working directory L"unix\\home\\mike\\", starting in the Windows directory.
wine: could not open working directory L"unix\\home\\mike\\", starting in the Windows directory.

but then the GUI pops up (got no idea what it's actually called), so I navigate to Drives, add a drive I named A, and when I hit browse to set its location, I can navigate to where I want to put the drive (see screenshot 1). Then I hit apply (the top popup disappears) then ok (the bottom popup disappears), then I look in that spot in my file manager (one I installed, I believe it's called nemo) and find nothing other than one file (yes, hidden files are shown) (see screenshot 2)

Screenshot 1

Screenshot 2

Basically, how do I make it so I have another drive created in my microSD card that I can use?
Again, sorry for the word vomit, if you need any more info let me know and I'll do my best to respond as quick as I can. Thanks!

7 Comments
2024/11/13
04:26 UTC

1

adb not working?

7 Comments
2024/11/12
03:16 UTC

0

Installed Parrot OS on Chromebook ( Crostini to be specific). When booted up keyboard and trackpad don't work. Solutions?

I installed Parrot OS on Crostini using the "Debian Conversion Script" linked on their site to Gitlabs. Here is the link: https://gitlab.com/parrotsec/project/debian-conversion-script .

I chose to install the Parrot OS security edition and the installation seemed to go perfectly. The problem is when I booted it up it gives me a log in screen but I can't use my mouse or keyboard. It's not stuck since I can see the time on upper right ( I think ) go by the minute.

https://preview.redd.it/aewupztydyzd1.png?width=648&format=png&auto=webp&s=9d2156336ae29ee6a50d8458f266921474def26c

Zoomed out using the "show windows key" (the key which looks like a rectangle with two lines on the right side) and it seems it's running on a script/application/software called CrosVm.

Here is what looks like normally:

https://preview.redd.it/wx3jrej0eyzd1.png?width=1285&format=png&auto=webp&s=779150eee54d7ad016e4948599a8125d0b6dd200

You see there is a cursor on the Parrot OS UI (or whatever the correct term is) but it's not effected by my mouse (trackpad) input. I move my cursor around on the Parrot OS boot screen above and the cursor in UI doesn't follow. It just stays there. It's similar for the keyboard. Whatever ever I type in on the keyboard the input doesn't carry over to Parrot OS. No input via my trackpad or keyboard seems to be received by Parrot OS.

I really can't find the issue. I tried installing and reinstalling multiple packages and looking into multiple forums but noone has my specific issue or anything similar to it. Is there any possible way I could solve this issue? I know there are people here who have alot experience with Linux and it's applications (especially with Crostini) so I am hoping that someone here will be able to help me.

.......Help?!

Edit: No username is shown in the images for the reason that I blacked it out.

6 Comments
2024/11/09
21:59 UTC

0

sudo apt update bug

I was trying to install wine on my chromebook and when I enter sudo apt update it does this

https://preview.redd.it/stlt906otvyd1.png?width=1357&format=png&auto=webp&s=3034c3d87a3256c9868d6d4f226634055a934ace

1 Comment
2024/11/04
12:54 UTC

1

How to access CD-ROM via Linux Environment?

4 Comments
2024/11/02
15:45 UTC

5

Trying to install Steam, anyone know how to fix this?

9 Comments
2024/11/01
21:23 UTC

0

Run tkinter as a standalone app

I searched for a while (I even considered running tkinter in the browser and making a PWM)  but I am tired and I need help from actual experts, is there any way to run tkinter standalone (I can't do developer mode because I'm broke :P) I need help.

6 Comments
2024/10/31
22:03 UTC

3

Reverse SSH Tunnel

Hello. Has anyone ever succeeded in setting up a reverse SSH tunnel from Crostini to a public VPS? Is there any difference compared to the "normal" Linux way? I have gone through a couple of hoops, but at the end my password is not accepted even though I immediately set it in Crostini side using passwd :-/

Thanks

12 Comments
2024/10/30
20:03 UTC

5

Anyone else remember the "Dynamically Allocate Storage" option?

So you all know when you install the Linux container, you are presented with the option of either the recommended 10GB storage or a custom storage value, right?

I remember a while ago this month when you set up Linux, there was a "Dynamically Allocate Storage" option where if you select it, it will dynamically allocate the storage value (big brain moment.) You also can't select the option again if you switch to manual allocation. After discovering this feature for the first time, I decided to look it up to find out more about this new dynamic allocation option, but NO ONE was talking about it (besides two Reddit posts from three years ago.) I then thought, "Okay, I guess I'll wait a couple of weeks until people start talking about it so I can join the conversation," but then Google removed the dynamic storage allocation from Crostini and there still aren't any people talking about it.

Considering this feature seems obscure I decided to finally say something about it and hopefully someone else knows that this feature exists (unless not even this subreddit knows about this feature then I guess I'm out of luck.)

3 Comments
2024/10/29
19:39 UTC

1

setting up a browser in Linux VM to be recognised by Java apps

Original post from which I was redicted to here:

https://www.reddit.com/r/linux4noobs/comments/1geogs6/i_just_want_to_set_firefox_as_my_default_browser/

Let me catch this up first by saying I love having my first Chromebook :) it is just cool being able to both run my phone apps, use linux, which I need more practice with, and also my wife bought it so I would have somewhere to practice programming.

I digress I was following a guide on how to get KoLmafia to run on the computer, but it is not catching the firefox-esr I have installed for using for relay.

Reddit thread discussing how to do the above listed:

https://www.reddit.com/r/kol/comments/o6fquc/installing_kolmafia_on_a_chromebook_for_linux/

Sorry for the lengthy post, and I guess hello to everyone here!

0 Comments
2024/10/29
15:23 UTC

2

Duplicate copies of fonts in chromos and truetype folders

I have duplicate copies of some fonts, such as Noto, in both /usr/share/fonts/chromeos/ and /usr/share/fonts/truetype. If I delete the ones in the truetype folder, will they still be accessible by Linux apps?

Seems like a lot of extra space is eaten up.

2 Comments
2024/10/29
14:38 UTC

2

Smartctl for External Drives Possible?

Is it possible to use smartctl to determine the health of an external USB drive from Crostini? I'm just a moderate Linux user and can't seem to get it to work. I don't know if it's possible or just user error. Drives are (of course) mounted at /mnt/chromeos/removeable/<drives>

2 Comments
2024/10/28
23:28 UTC

Back To Top