Guest problem

Post here if you are a new Porteus member and you're looking for some help.
nixlower0
Black ninja
Black ninja
Posts: 49
Joined: 08 Sep 2012, 16:37
Distribution: Porteus v2.1 RazoQt
Location: Russia

Re: Guest problem

Post#31 by nixlower0 » 20 Jan 2014, 19:49

here, please:

Code: Select all

root@porteus:~# ls -al /
total 36
drwx------  52 root root 4096 Jul  6  2013 ./
drwx------  52 root root 4096 Jul  6  2013 ../
drwxr-xr-x   2 root root 2435 Aug  2 09:50 bin/
drwxr-xr-x  16 root root 3280 Jan 20 23:47 dev/
drwxr-xr-x  67 root root 4096 Jan 20 22:17 etc/
drwxr-xr-x   7 root root 4096 Jan 20 19:49 home/
drwxr-xr-x  12 root root   27 Jul 20  2012 lib/
drwxr-xr-x   2 root root    3 Aug  2 09:50 media/
drwxr-xr-x   9 root root 4096 Jan 20 22:17 mnt/
drwxr-xr-x   6 root root   38 Jan 22  2013 opt/
dr-xr-xr-x 120 root root    0 Jan 20 22:17 proc/
drwx------  18 root root 4096 Jan 20 23:01 root/
drwxr-xr-x   4 root root   80 Jan 20 22:17 run/
drwxr-xr-x   2 root root 3544 Aug  6 20:58 sbin/
drwxr-xr-x   3 root root   26 Feb 27  2013 srv/
dr-xr-xr-x  12 root root    0 Jan 20 22:17 sys/
drwxrwxrwt  14 root root 4096 Jan 20 23:47 tmp/
drwxr-xr-x  39 root root 4096 Jan 20 16:46 usr/
drwxr-xr-x  28 root root 4096 Jan 20 16:46 var/
/home seems like have right permissions.
I will pm you soon.

tome
Contributor
Contributor
Posts: 675
Joined: 26 Jun 2013, 14:03
Distribution: x64 Openbox
Location: Russia is causing the immense damage to humanity
Contact:

Re: Guest problem

Post#32 by tome » 20 Jan 2014, 19:56

** (nm-appplet:
Thera are probably bugs in nm that don't allow use it by nonroot user, so maybe nonetwork cheatcode will help. Another test: create new user and try login.
You have mind and feelings. Be wise and clever.

nixlower0
Black ninja
Black ninja
Posts: 49
Joined: 08 Sep 2012, 16:37
Distribution: Porteus v2.1 RazoQt
Location: Russia

Re: Guest problem

Post#33 by nixlower0 » 21 Jan 2014, 12:33

@tome
I tried that cheat code: base_only nonetwork nohotplug noauto nohd, I added it on Porteus.cfg and then also tried it on boot (I edited one of boot modes, only left "APPEND initrd=initrd.xz" and added the cheat codes). When I used the full cheat code, appeared a blue text error message: "Porteus data not found..." (don't remember more). Then I tried only "base_only nonetwork", the system boot into guest but returned back to login screen, but the guest user still wasn't working.
Also I tried "adduser" and created a new user (when it asked for group, I didn't knew what to choose so I printed "root"). Successfully created a new user "nixlower0" with password "guest" (I tried other passwords), but on login screen still not working, even in "Text" mode. The only mode is working by default with "guest" user (since first boot) is "Always fresh".
BTW, is Porteus 2.1 testing (I mean alfa or beta or final)? Is Porteus 2.1 the newest and stable Desktop? Porteus 3.0 rc-1 is only Kiosk?
PS. I'm a little tired of this problem, I didn't knew the solution will be so hard to find out. So, I will wait some more and make a clean install.
Thanks

User avatar
brokenman
Site Admin
Site Admin
Posts: 6105
Joined: 27 Dec 2010, 03:50
Distribution: Porteus v4 all desktops
Location: Brazil

Re: Guest problem

Post#34 by brokenman » 21 Jan 2014, 17:06

The only mode is working by default with "guest" user (since first boot) is "Always fresh".
Then this strongly points to something you've added after the default Porteus. Always fresh mode boots with no changes saved. If it works then something you've added must be interfering.

The latest version is a release candidate: http://ponce.cc/porteus/i486/testing/Porteus-v3.0-rc1/
How do i become super user?
Wear your underpants on the outside and put on a cape.

tome
Contributor
Contributor
Posts: 675
Joined: 26 Jun 2013, 14:03
Distribution: x64 Openbox
Location: Russia is causing the immense damage to humanity
Contact:

Re: Guest problem

Post#35 by tome » 21 Jan 2014, 20:10

What is the output of this:

Code: Select all

ls /mnt/live/memory/images
You have mind and feelings. Be wise and clever.

nixlower0
Black ninja
Black ninja
Posts: 49
Joined: 08 Sep 2012, 16:37
Distribution: Porteus v2.1 RazoQt
Location: Russia

Re: Guest problem

Post#36 by nixlower0 » 22 Jan 2014, 18:02

tome wrote:What is the output of this:

Code: Select all

ls /mnt/live/memory/images
000-kernel.xzm/ 001-core.xzm/ 002-xorg.xzm/ 003-razor.xzm/ 04-firefox.xzm/

brokenman
How can I restore it to previous (clean) state? Is it possible?

tome
Contributor
Contributor
Posts: 675
Joined: 26 Jun 2013, 14:03
Distribution: x64 Openbox
Location: Russia is causing the immense damage to humanity
Contact:

Re: Guest problem

Post#37 by tome » 23 Jan 2014, 15:18

The only mode is working by default with "guest" user (since first boot) is "Always fresh".
If problem is with your changes you should boot without

Code: Select all

changes=
cheatcode, and then find and delete your changes folder(s) on disks. Now you will have fresh Porteus without any modifications.
You have mind and feelings. Be wise and clever.

nixlower0
Black ninja
Black ninja
Posts: 49
Joined: 08 Sep 2012, 16:37
Distribution: Porteus v2.1 RazoQt
Location: Russia

Re: Guest problem

Post#38 by nixlower0 » 23 Jan 2014, 18:52

So I should boot into "Always fresh" or erase the "changes=" cheatcode and then erase all directories and subdirectories under changes folder? I'm I right? For example:

Code: Select all

rm -rf /"where_is_located_changes"
Right?

tome
Contributor
Contributor
Posts: 675
Joined: 26 Jun 2013, 14:03
Distribution: x64 Openbox
Location: Russia is causing the immense damage to humanity
Contact:

Re: Guest problem

Post#39 by tome » 24 Jan 2014, 20:58

You are right and you can also rename changes folder instead it delete.
You have mind and feelings. Be wise and clever.

nixlower0
Black ninja
Black ninja
Posts: 49
Joined: 08 Sep 2012, 16:37
Distribution: Porteus v2.1 RazoQt
Location: Russia

Re: Guest problem

Post#40 by nixlower0 » 25 Jan 2014, 21:30

tome wrote:You are right and you can also rename changes folder instead it delete.
I just renamed and created a new "changes" directory. When I boot into a "RazorQt" mode, I noticed nothing changed and the guest login problem still there and on "Always fresh" mode all okay. So, maybe it's an installation problem. I will download again Porteus 2.1, if it will be the same then it is an USB drive problem or I will test Porteus 3.0 rc1.

User avatar
francois
Contributor
Contributor
Posts: 6434
Joined: 28 Dec 2010, 14:25
Distribution: xfce plank porteus nemesis
Location: Le printemps, le printemps, le printemps... ... l'hiver s'essoufle.

Re: Guest problem

Post#41 by francois » 25 Jan 2014, 21:38

@nixlower:
This seems impossible. :(

Where is the old changes folder in your file structure anb what is its new name?
Where is the new changes folder in your file structure?
Where is the syslinux.cfg in your file structure?

You can use mc (midnight commander) in command line to find your folders using the menu at the top to find your folders. :wink:
Prendre son temps, profiter de celui qui passe.

tome
Contributor
Contributor
Posts: 675
Joined: 26 Jun 2013, 14:03
Distribution: x64 Openbox
Location: Russia is causing the immense damage to humanity
Contact:

Re: Guest problem

Post#42 by tome » 25 Jan 2014, 21:40

I am 99% sure it is not download or pendrive problem. Maybe you rename wrong changes folder - that is not used - on another partition. Don't create changes folder - it is automatically created during start.
You have mind and feelings. Be wise and clever.

nixlower0
Black ninja
Black ninja
Posts: 49
Joined: 08 Sep 2012, 16:37
Distribution: Porteus v2.1 RazoQt
Location: Russia

Re: Guest problem

Post#43 by nixlower0 » 26 Jan 2014, 10:10

I went to /mnt/sdb1/porteus and there changed the name of "cahnges" to "shanges" folder and created a new one - empty "changes". Is that correct?
My "porteus.cfg" file is in /mnt/sdb1/boot/syslinux, here is the first boot line:

Code: Select all

LABEL razor
MENU LABEL Graphics mode (Razor)
KERNEL vmlinuz
APPEND initrd=initrd.xz changes=/porteus 
TEXT HELP
    Run Porteus the best way we can.
    Try to autoconfigure graphics
    card and use the maximum
    allowed resolution
ENDTEXT

tome
Contributor
Contributor
Posts: 675
Joined: 26 Jun 2013, 14:03
Distribution: x64 Openbox
Location: Russia is causing the immense damage to humanity
Contact:

Re: Guest problem

Post#44 by tome » 26 Jan 2014, 15:10

I think it's correct if you have not /mnt/sda1/porteus folder or similar like sda3. You should additionally change changes=/porteus cheatcode to changes=/mnt/sdb1/porteus and it would be better specified.
You have mind and feelings. Be wise and clever.

nixlower0
Black ninja
Black ninja
Posts: 49
Joined: 08 Sep 2012, 16:37
Distribution: Porteus v2.1 RazoQt
Location: Russia

Re: Guest problem

Post#45 by nixlower0 » 26 Jan 2014, 17:20

I found with command "fdisk -l" my Porteus usb drive is sdc1 so I changed to this:

Code: Select all

LABEL razor
MENU LABEL Graphics mode (Razor)
KERNEL vmlinuz
APPEND initrd=initrd.xz changes=[b]/mnt/sdc1/porteus[/b]
Still nothing. On RazorQt (normal boot) I still cannot login as guest user only as root. On Always fresh all right.

Post Reply