We are moving! New user registrations to this forum is now closed. Posting here will be disabled eventually. Please go to the new community for your Snakeoil OS support and other discussions. (June 03)

New community website: https://community.snakeoil-os.net (June 03)

Join us in the new community by Creating a new account. (June 04)


[SOLVED] VNC / SSH connection available when running in RAM?
#4
(03-May-2016, 06:54 AM)Leonard Wrote: Hi Agent_Kith,
It seems that I have the casper-rw filesystem working now.
However, not able to logon via  SSH yet as I still haven't a username. (see attachment in first post)
You'd need to add the user manually. To do this, you need to connect a monitor and keyboard to the Snakeoil machine. From the GUI, right click and select "Terminal", this will start up a command shell.

Then run the following command to create a new user (where user_name is the name of your choice, e.g. Leonard):
Code:
sudo adduser user_name
Next, you'd need to give it a password
Code:
sudo passwd user_name
Type in the password (twice).

Finally you'd need to add this new user to the adm group (this is a very important step):
Code:
sudo useradd -G adm user_name

And that should work. More information about adduser here and useradd here.

Once you add a user, the live session user will no longer be created, and you will loose admin access. So verify that the new user is created properly by SSH in from another machine. And once you get in, run
Code:
sudo su
Enter the password you entered previously, and see if you see root. And if it does, you can reboot and see what happens. 

If anything goes wrong, just go to the casper-rw parition, and remove the files and restart again. Let me know how it goes.

Another way is to install Snakeoil directly to a USB. This will be more straight forward as all files are writable (unlike persistent, where it boots from a read-only image, and then make changes via casper-rw).
Snakeoil Operating System - Music, your way!
[-] The following 1 user Likes agent_kith's post:
  • Leonard
Reply


Bookmarks

Messages In This Thread
RE: VNC / SSH connection available when running in RAM? - by agent_kith - 03-May-2016, 07:25 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  LMS not running on RPi 3B Tecko 1 894 07-Sep-2023, 04:09 PM
Last Post: uglymusic
  Problem running MPD with 1.2.9 firmware koko6969koki 1 1,172 09-Mar-2023, 05:33 PM
Last Post: agent_kith
  Wireless connection jsp 5 3,470 20-Mar-2021, 03:17 AM
Last Post: PeteCallaghan
  [SOLVEDRunning Snakeoil as FANLESS Minimserver hkphantomgtr 23 11,137 27-Oct-2020, 09:53 AM
Last Post: agent_kith
  Connection Error Connection to myMPD failed. Trying to reconnect. luiswu 12 7,614 11-Jun-2020, 07:17 PM
Last Post: Snoopy8



Users browsing this thread: 1 Guest(s)
[-]
Our Sponsors

[-]
Latest Threads
Android Firefox issues with forum
Last Post: agent_kith
10-Jun-2025 04:45 PM
» Replies: 21
» Views: 2030
[split] Possible To Load Snakeoil OS in ...
Last Post: Snoopy8
09-Jun-2025 06:43 AM
» Replies: 14
» Views: 1498
Snakeoil 1.4.3 (High End U3)
Last Post: hkphantomgtr
05-Jun-2025 03:58 PM
» Replies: 67
» Views: 8859
Snakeoil with Ubuntu Desktop ?
Last Post: Snoopy8
02-Jun-2025 09:38 AM
» Replies: 8
» Views: 903
Add IR remote control using Flirc USB in...
Last Post: Snoopy8
31-May-2025 03:50 PM
» Replies: 5
» Views: 654
Work In Progress: 1.4.4
Last Post: hkphantomgtr
29-May-2025 11:44 PM
» Replies: 44
» Views: 4977
SQ difference - Raspberry Pi vs x86_64?
Last Post: Snoopy8
27-May-2025 02:16 PM
» Replies: 42
» Views: 5376
Snakeoil 1.4.0 (High End)
Last Post: aabman
25-May-2025 11:35 AM
» Replies: 93
» Views: 14816
new install issues
Last Post: carlodim
23-May-2025 09:56 AM
» Replies: 42
» Views: 4396
Is this project still alive?
Last Post: agent_kith
20-May-2025 03:11 PM
» Replies: 10
» Views: 1168

[-]
SnakeoilOS Mission Statement

Our mission is to create a free to use computer OS that is easy to install, intuitive to operate and play music that will connect and engage with you emotionally.

SnakeoilOS gives you the freedom to spend more time on listening, enjoying and exploring music. Wasting time on computers is now a thing of the past! Everything is constantly evolving/improving. Please check back often for updates.

If you like this project, do show your support with a small token donation. All donations collected will be used to run this website, and for purchasing new equipment for the project.