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, 15:48

Nope

Code: Select all

chown guest:guest -R /home/guest
as root didn't helped. I logged out and tried to log in again but as guest user, and the "login:" line appeared again like on 1st and 3rd screenshots. I even reboot my PC and same error. I'll try to "chown" again :(
I tried again and not helped.
What means that error when I log in with root user (if I press Ctrl+Alt+F1 I can read it again):
** (nm-appplet:3222): WARNING **: Could not initialize NMClient /org/freedesktop/NetworkManager: Permission request failed: GDBus.Error: org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.PlicyKit1 was not provided by any .service files

** (nm-appplet:12162): WARNING **: Failed to register as an agent: (32) Error statting file /var/run/ConsoleKit/datebase: No such file or directory


I'll wait a little for an answer and I will not waste more your time. I'll check my usb drive for bad blocks with "badblocks" and fill it with zeros, then again partition it and format to Ext4 (or maybe is a good idea use another file system?) and install again Porteus 2.1.

User avatar
fanthom
Site Admin
Site Admin
Posts: 4565
Joined: 28 Dec 2010, 02:42
Distribution: Porteus Kiosk
Location: Poland, currently - Cork, IE
Contact:

Re: Guest problem

Post#32 by fanthom » 20 Jan 2014, 18:22

please login as root to GUI -> open terminal -> paste output of following command:

Code: Select all

ls -al /home
thanks
Please add [Solved] to your thread title if the solution was found.

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 » 20 Jan 2014, 18:26

Here it is:

Code: Select all

root@porteus:~# ls -al /home
total 12
drwxr-xr-x  7 root  root  4096 Jan 20 19:49 ./
drwx------ 52 root  root  4096 Jul  6  2013 ../
drwxr-xr-x 17 guest guest 4096 Jan 20 19:49 guest/

tome
Contributor
Contributor
Posts: 562
Joined: 26 Jun 2013, 14:03
Distribution: x64 Openbox
Location: Poland
Contact:

Re: Guest problem

Post#34 by tome » 20 Jan 2014, 18:28

Maybe incorrect settings module downloaded from Web Wizard or you change some settings (wlan, screen etc) in bios.
Try load default bios values. :unknown: or disconnect all usb devices and boot this unpacked iso from hard drive.

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

Re: Guest problem

Post#35 by nixlower0 » 20 Jan 2014, 19:01

tome wrote:Maybe incorrect settings module downloaded from Web Wizard or you change some settings (wlan, screen etc) in bios.
Try load default bios values. :unknown: or disconnect all usb devices and boot this unpacked iso from hard drive.
I didn't changed any settings. First time I run after install Porteus 2.1, I choose "Always fresh" mode.
About BIOS, I don't know what I could change to reproduce that kind of error. I was using other usb and hdd distributions and operating systems without such error...

tome
Contributor
Contributor
Posts: 562
Joined: 26 Jun 2013, 14:03
Distribution: x64 Openbox
Location: Poland
Contact:

Re: Guest problem

Post#36 by tome » 20 Jan 2014, 19:04

Could you try boot this porteus version from the same usb device but on another machine?
EDIT:
or try all these cheatcodes:
base_only nonetwork nohotplug noauto nohd

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

Re: Guest problem

Post#37 by nixlower0 » 20 Jan 2014, 19:18

tome wrote:Could you try boot this porteus version from the same usb device but on another machine?
EDIT:
or try all these cheatcodes:
base_only nonetwork nohotplug noauto nohd
I will try for now only the cheat codes. Later when I see my friend, I'll ask him try my usb drive on his PC at work and home. I will answer if he succeed booting as a guest user.

User avatar
fanthom
Site Admin
Site Admin
Posts: 4565
Joined: 28 Dec 2010, 02:42
Distribution: Porteus Kiosk
Location: Poland, currently - Cork, IE
Contact:

Re: Guest problem

Post#38 by fanthom » 20 Jan 2014, 19:38

@nixlower0
please run 'ls -al /' and make sure you have drwxr-xr-x perms on /home:

Code: Select all

drwxr-xr-x  3 root root   28 sty 15  2011 home
if its different then as root run 'chmod 755 /home'

it's definitely something in your changes but it's hard to guess what's wrong. i would suggest dumping changes but if you have some important stuff there then give me ssh access to your PC (send me PM with your IP/ssh port) and i'll have a quick look.
Please add [Solved] to your thread title if the solution was found.

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

Re: Guest problem

Post#39 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: 562
Joined: 26 Jun 2013, 14:03
Distribution: x64 Openbox
Location: Poland
Contact:

Re: Guest problem

Post#40 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.

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

Re: Guest problem

Post#41 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: 5455
Joined: 27 Dec 2010, 03:50
Distribution: Porteus v3.2rcX all desktops
Location: Brazil
Contact:

Re: Guest problem

Post#42 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: 562
Joined: 26 Jun 2013, 14:03
Distribution: x64 Openbox
Location: Poland
Contact:

Re: Guest problem

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

What is the output of this:

Code: Select all

ls /mnt/live/memory/images

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

Re: Guest problem

Post#44 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: 562
Joined: 26 Jun 2013, 14:03
Distribution: x64 Openbox
Location: Poland
Contact:

Re: Guest problem

Post#45 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.

Post Reply