Unable to login as guest
Posted: 03 Sep 2012, 08:59
When i try to login Porteus writes "Unable to cd to /home/guest" , so I can only login as root . I googled that there are some problems with rights but i don't know what exact to do
Code: Select all
chown guest:guest -R /home/guest
Didn't help .fanthom wrote: if you are saving changes then please login as root, open terminal and run:Code: Select all
chown guest:guest -R /home/guest
Code: Select all
su guest
Code: Select all
[ -d "/home/guest" ] && chown 1000:guest -R /home/guest || echo "Something wrong with home folder"; exit 1
The Terminal window closesHamza wrote:Please try this command
Code: Select all
[ -d "/home/guest" ] && chown 1000:guest -R /home/guest || echo "Something wrong with home folder"; exit 1
Code: Select all
root@porteus:~# ls -l /
total 16
drwxrwxr-x 2 root guest 6 Jul 2 23:36 bin/
drwxrwxrwx 7 root root 4096 Sep 2 18:22 boot/
drwxr-xr-x 17 root root 3940 Sep 8 12:59 dev/
drwxr-xr-x 78 root root 4096 Sep 8 13:00 etc/
drwxrwxr-x 7 root guest 18 Apr 17 16:07 home/
drwxr-xr-x 8 root guest 6 Jun 27 21:16 lib/
drwxr-xr-x 2 root root 3 Jul 2 23:36 media/
drwxr-xr-x 8 root root 72 Sep 8 12:58 mnt/
drwxr-xr-x 10 root root 16 Apr 17 16:07 opt/
dr-xr-xr-x 138 root root 0 Sep 8 12:58 proc/
drwx------ 27 root root 4096 Sep 8 13:00 root/
drwxr-xr-x 2 root root 42 Jun 27 21:16 sbin/
drwxr-xr-x 2 root root 3 Apr 7 2007 srv/
dr-xr-xr-x 12 root root 0 Sep 8 12:58 sys/
drwsrwxrwt 13 root root 4096 Sep 8 13:04 tmp/
drwxrwxr-x 69 root users 148 Jul 3 13:20 usr/
drwxrwxr-x 40 root guest 81 Jul 3 13:20 var/
Code: Select all
root:x:0:0::/root:/bin/bash
bin:x:1:1:bin:/bin:/bin/false
daemon:x:2:2:daemon:/sbin:/bin/false
adm:x:3:4:adm:/var/log:/bin/false
lp:x:4:7:lp:/var/spool/lpd:/bin/false
sync:x:5:0:sync:/sbin:/bin/sync
shutdown:x:6:0:shutdown:/sbin:/sbin/shutdown
halt:x:7:0:halt:/sbin:/sbin/halt
mail:x:8:12:mail:/:/bin/false
news:x:9:13:news:/usr/lib/news:/bin/false
uucp:x:10:14:uucp:/var/spool/uucppublic:/bin/false
operator:x:11:0:operator:/root:/bin/bash
games:x:12:100:games:/usr/games:/bin/false
ftp:x:14:50::/home/ftp:/bin/false
smmsp:x:25:25:smmsp:/var/spool/clientmqueue:/bin/false
mysql:x:27:27:MySQL:/var/lib/mysql:/bin/false
rpc:x:32:32:RPC portmap user:/:/bin/false
sshd:x:33:33:sshd:/:/bin/false
gdm:x:42:42:GDM:/var/state/gdm:/bin/bash
oprofile:x:51:51:oprofile:/:/bin/false
apache:x:80:80:User for Apache:/srv/httpd:/bin/false
messagebus:x:81:81:User for D-BUS:/var/run/dbus:/bin/false
haldaemon:x:82:82:User for HAL:/var/run/hald:/bin/false
pop:x:90:90:POP:/:/bin/false
vboxadd:x:95:95::/home/vboxadd:/bin/bash
nobody:x:99:99:nobody:/:/bin/false
kdm:x:102:102::/home/kdm:/bin/bash
avahi:x:214:214:Avahi:/dev/null:/bin/false
guest:x:1000:1000::/home/guest:/bin/bash
Did you ran psinfo command under root ? I never seen this issue./root/Desktop/psinfo.txt > is empty
This will confirm if wine is the problem ... or a corrupt install. I am almost certain booting in fresh mode with nothing in rootcopy will solve your problems. You can then look at removing wine ... or patching the problem.if you are not saving changes then please remove all additional modules from /porteus/modules and empty your /rootcopy folder.
you could also boot in 'Always Fresh' mode
Code: Select all
----------------------
Output from psinfo
----------------------
script by jayflood
.
====== USER INFO =====
User is: root
.
===== MACHINE INFO =====
Platform: i686
Kernel: 3.4.4-porteus
Processor: Intel(R) Core(TM)2 Duo CPU P8700 @ 2.53GHz
Base Board Information
Manufacturer: ASUSTeK Computer Inc.
Product Name: xxx
MemTotal: 3113344 kB
MemFree: 2400892 kB
Bootparam: root=/dev/ram0 rootfstype=ext4 rw initrd=/boot/initrd.xz vga=791 xfce autoexec=xf-compositing~off changes=/mnt/sdc1/porteus/porteussave.dat BOOT_IMAGE=/boot/vmlinuz
.
===== LIVE DEBUG INFO =====
# Recognized devices:
/dev/sda1: LABEL="OS" UUID="D890B11B90B100D4" TYPE="ntfs"
/dev/sda2: LABEL="OS" UUID="7C8C86FB8C86AEE8" TYPE="ntfs"
/dev/sda3: LABEL="RECOVERY" UUID="3C98-AC5D" TYPE="vfat"
/dev/sdb1: UUID="ff791933-646f-4bb1-b61e-c59cb5a751ef" TYPE="ext4"
/dev/sdc1: UUID="EB89-EA81" TYPE="vfat"
# Porteus boot device:
sdc1
# Porteus data found in:
/mnt/sdc1/porteus
# Changes are stored in:
/mnt/sdc1/porteus/porteussave.dat
# Non standard /rootcopy dir:
none
# Loaded modules:
base/000-kernel.xzm
base/001-core.xzm
base/002-xorg.xzm
base/007-devel.xzm
base/008-firefox.xzm
base/0090-xfce.xzm
base/0091-xfce-apps.xzm
modules/mpg123-1.13.3-i486-1.xzm
modules/ppm-debian-files-1.1-noarch-1.xzm
modules/ppm-fido-database-1.1-noarch-1.xzm
modules/ppm-slackware-files.xzm
modules/wine-1.3.27-i486-1.xzm
.
===== SOUND INFO =====
Sound card: 0 [Intel ]: HDA-Intel - HDA Intel
HDA Intel at 0xfcef8000 irq 46
1 [NVidia ]: HDA-Intel - HDA NVidia
HDA NVidia at 0xfcf7c000 irq 16
Sound driver: Advanced Linux Sound Architecture Driver Version 1.0.25.
.
===== PARTITION INFO =====
Mounted:
/dev/sda1 fuseblk 233G 105G 129G 45% /mnt/sda1
/dev/sda2 fuseblk 219G 141M 219G 1% /mnt/sda2
/dev/sda3 vfat 15G 12G 3.3G 78% /mnt/sda3
/dev/sdb1 ext4 466G 15G 428G 4% /mnt/sdb1
/dev/sdc1 vfat 1.9G 957M 947M 51% /mnt/sdc1
.
===== OPTICAl DRIVE =====
sr0
.
===== USB INFO =====
Removables: USB
Removable status: sd0:0:0:0:[sda]Protect
sd4:0:0:0:[sdb]Protect
sd8:0:0:0:[sdc]Protect
sd0:0:0:0:[sda]Protect
sd4:0:0:0:[sdb]Protect
sd8:0:0:0:[sdc]Protect
sd0:0:0:0:[sda]Protect
sd4:0:0:0:[sdb]Protect
sd8:0:0:0:[sdc]Protect
sd0:0:0:0:[sda]Protect
sd4:0:0:0:[sdb]Protect
sd8:0:0:0:[sdc]Protect
sd0:0:0:0:[sda]Protect
sd4:0:0:0:[sdb]Protect
sd8:0:0:0:[sdc]Protect
sd0:0:0:0:[sda]Protect
sd4:0:0:0:[sdb]Protect
sd8:0:0:0:[sdc]Protect
sd0:0:0:0:[sda]Protect
sd4:0:0:0:[sdb]Protect
sd8:0:0:0:[sdc]Protect
sd0:0:0:0:[sda]Protect
sd4:0:0:0:[sdb]Protect
sd8:0:0:0:[sdc]Protect
sd0:0:0:0:[sda]Protect
sd4:0:0:0:[sdb]Protect
sd8:0:0:0:[sdc]Protect
sd0:0:0:0:[sda]Protect
sd4:0:0:0:[sdb]Protect
sd8:0:0:0:[sdc]Protect
sd0:0:0:0:[sda]Protect
sd4:0:0:0:[sdb]Protect
sd8:0:0:0:[sdc]Protect
sd0:0:0:0:[sda]Protect
sd4:0:0:0:[sdb]Protect
sd8:0:0:0:[sdc]Protect
sd0:0:0:0:[sda]Protect
sd4:0:0:0:[sdb]Protect
sd8:0:0:0:[sdc]Protect
sd0:0:0:0:[sda]Protect
sd4:0:0:0:[sdb]Protect
sd8:0:0:0:[sdc]Protect
sd0:0:0:0:[sda]Protect
sd4:0:0:0:[sdb]Protect
sd8:0:0:0:[sdc]Protect
sd0:0:0:0:[sda]Protect
sd4:0:0:0:[sdb]Protect
sd8:0:0:0:[sdc]Protect
.
lsusb: Bus 001 Device 002: ID 04f2:b071 Chicony Electronics Co., Ltd 2.0M UVC Webcam / CNF7129
Bus 002 Device 003: ID 090c:1000 Silicon Motion, Inc. - Taiwan (formerly Feiya Technology Corp.) 64MB QDI U2 DISK
Bus 006 Device 002: ID 046d:c05a Logitech, Inc. Optical Mouse M90
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 006 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 007 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 008 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
.
===== SCREEN INFO =====
Screen 0: minimum 320 x 200, current 1600 x 900, maximum 8192 x 8192
.
===== ACTIVATED MODULES =====
000-kernel.xzm
001-core.xzm
002-xorg.xzm
007-devel.xzm
008-firefox.xzm
0090-xfce.xzm
0091-xfce-apps.xzm
mpg123-1.13.3-i486-1.xzm
ppm-debian-files-1.1-noarch-1.xzm
ppm-fido-database-1.1-noarch-1.xzm
ppm-slackware-files.xzm
wine-1.3.27-i486-1.xzm
.
===== NETWORK INFO =====
eth0 Link encap:Ethernet HWaddr 90:E6:BA:68:23:EA
inet6 addr: fe80::92e6:baff:fe68:23ea/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:556 errors:0 dropped:0 overruns:0 frame:0
TX packets:545 errors:0 dropped:0 overruns:0 carrier:1
collisions:0 txqueuelen:1000
RX bytes:369511 (360.8 Kb) TX bytes:84056 (82.0 Kb)
Interrupt:47
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
ppp0 Link encap:Point-to-Point Protocol
inet addr:178.121.5.166 P-t-P:178.121.0.1 Mask:255.255.255.255
UP POINTOPOINT RUNNING NOARP MULTICAST MTU:1492 Metric:1
RX packets:485 errors:0 dropped:0 overruns:0 frame:0
TX packets:512 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:3
RX bytes:353456 (345.1 Kb) TX bytes:70008 (68.3 Kb)
.
# Generated by NetworkManager
nameserver 82.209.240.241
nameserver 82.209.243.241
.
===== PCI INFO =====
lspci: 00:00.0 Host bridge [0600]: Intel Corporation Mobile 4 Series Chipset Memory Controller Hub [8086:2a40] (rev 07)
Subsystem: ASUSTeK Computer Inc. Device [1043:1e37]
Kernel modules: intel-agp
00:01.0 PCI bridge [0604]: Intel Corporation Mobile 4 Series Chipset PCI Express Graphics Port [8086:2a41] (rev 07)
Kernel driver in use: pcieport
Kernel modules: shpchp
00:1a.0 USB controller [0c03]: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #4 [8086:2937] (rev 03)
Subsystem: ASUSTeK Computer Inc. Device [1043:1e37]
Kernel driver in use: uhci_hcd
00:1a.1 USB controller [0c03]: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #5 [8086:2938] (rev 03)
Subsystem: ASUSTeK Computer Inc. Device [1043:1e37]
Kernel driver in use: uhci_hcd
00:1a.2 USB controller [0c03]: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #6 [8086:2939] (rev 03)
Subsystem: ASUSTeK Computer Inc. Device [1043:1e37]
Kernel driver in use: uhci_hcd
00:1a.7 USB controller [0c03]: Intel Corporation 82801I (ICH9 Family) USB2 EHCI Controller #2 [8086:293c] (rev 03)
Subsystem: ASUSTeK Computer Inc. Device [1043:1e37]
Kernel driver in use: ehci_hcd
00:1b.0 Audio device [0403]: Intel Corporation 82801I (ICH9 Family) HD Audio Controller [8086:293e] (rev 03)
Subsystem: ASUSTeK Computer Inc. Device [1043:1463]
Kernel driver in use: snd_hda_intel
Kernel modules: snd-hda-intel
00:1c.0 PCI bridge [0604]: Intel Corporation 82801I (ICH9 Family) PCI Express Port 1 [8086:2940] (rev 03)
Kernel driver in use: pcieport
Kernel modules: shpchp
00:1c.2 PCI bridge [0604]: Intel Corporation 82801I (ICH9 Family) PCI Express Port 3 [8086:2944] (rev 03)
Kernel driver in use: pcieport
Kernel modules: shpchp
00:1c.4 PCI bridge [0604]: Intel Corporation 82801I (ICH9 Family) PCI Express Port 5 [8086:2948] (rev 03)
Kernel driver in use: pcieport
Kernel modules: shpchp
00:1c.5 PCI bridge [0604]: Intel Corporation 82801I (ICH9 Family) PCI Express Port 6 [8086:294a] (rev 03)
Kernel driver in use: pcieport
Kernel modules: shpchp
00:1d.0 USB controller [0c03]: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #1 [8086:2934] (rev 03)
Subsystem: ASUSTeK Computer Inc. Device [1043:1e37]
Kernel driver in use: uhci_hcd
00:1d.1 USB controller [0c03]: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #2 [8086:2935] (rev 03)
Subsystem: ASUSTeK Computer Inc. Device [1043:1e37]
Kernel driver in use: uhci_hcd
00:1d.2 USB controller [0c03]: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #3 [8086:2936] (rev 03)
Subsystem: ASUSTeK Computer Inc. Device [1043:1e37]
Kernel driver in use: uhci_hcd
00:1d.7 USB controller [0c03]: Intel Corporation 82801I (ICH9 Family) USB2 EHCI Controller #1 [8086:293a] (rev 03)
Subsystem: ASUSTeK Computer Inc. Device [1043:1e37]
Kernel driver in use: ehci_hcd
00:1e.0 PCI bridge [0604]: Intel Corporation 82801 Mobile PCI Bridge [8086:2448] (rev 93)
00:1f.0 ISA bridge [0601]: Intel Corporation ICH9M LPC Interface Controller [8086:2919] (rev 03)
Subsystem: ASUSTeK Computer Inc. Device [1043:1e37]
00:1f.2 SATA controller [0106]: Intel Corporation 82801IBM/IEM (ICH9M/ICH9M-E) 4 port SATA Controller [AHCI mode] [8086:2929] (rev 03)
Subsystem: ASUSTeK Computer Inc. Device [1043:1e37]
Kernel driver in use: ahci
01:00.0 VGA compatible controller [0300]: nVidia Corporation GT216 [GeForce GT 240M] [10de:0a34] (rev a2)
Subsystem: ASUSTeK Computer Inc. Device [1043:1ae2]
Kernel driver in use: nouveau
Kernel modules: nouveau
01:00.1 Audio device [0403]: nVidia Corporation High Definition Audio Controller [10de:0be2] (rev a1)
Kernel driver in use: snd_hda_intel
Kernel modules: snd-hda-intel
06:00.0 Ethernet controller [0200]: Atheros Communications Inc. AR8131 Gigabit Ethernet [1969:1063] (rev c0)
Subsystem: ASUSTeK Computer Inc. Device [1043:1e37]
Kernel driver in use: atl1c
Kernel modules: atl1c
.
.
===== LOGS INFO =====
dmesg | tail
.
[ 46.611756] [drm] nouveau 0000:01:00.0: 1: core 405MHz shader 810MHz memory 324MHz voltage 850mV
[ 46.611759] [drm] nouveau 0000:01:00.0: 3: core 550MHz shader 1210MHz memory 790MHz voltage 930mV
[ 46.611762] [drm] nouveau 0000:01:00.0: c: core 405MHz shader 810MHz memory 324MHz voltage 930mV
[ 48.332203] [drm] nouveau 0000:01:00.0: allocated 1600x900 fb: 0x320000, bo f3195200
[ 48.332251] fbcon: nouveaufb (fb0) is primary device
[ 48.332365] Console: switching to colour frame buffer device 200x56
[ 48.332370] fb0: nouveaufb frame buffer device
[ 48.332372] drm: registered panic notifier
[ 48.332375] [drm] Initialized nouveau 1.0.0 20120316 for 0000:01:00.0 on minor 0
[ 90.658689] lxpolkit[3716]: segfault at 8 ip 08049ba4 sp bfe8d2c0 error 4 in lxpolkit[8048000+3000]
.
.
cat /var/log/messages | tail
.
Sep 10 10:32:01 (none) kernel: [ 48.332372] drm: registered panic notifier
Sep 10 10:32:01 (none) kernel: [ 48.332375] [drm] Initialized nouveau 1.0.0 20120316 for 0000:01:00.0 on minor 0
Sep 10 10:32:05 (none) NetworkManager[3466]: <info> (eth0): IP6 addrconf timed out or failed.
Sep 10 10:32:43 (none) gnome-keyring-daemon[3677]: couldn't set environment variable in session: The name org.gnome.SessionManager was not provided by any .service files
Sep 10 10:32:43 (none) last message repeated 2 times
Sep 10 10:32:44 (none) gnome-keyring-daemon[3677]: The GPG agent was already initialized
Sep 10 10:32:44 (none) gnome-keyring-daemon[3677]: The PKCS#11 component was already initialized
Sep 10 10:32:44 (none) gnome-keyring-daemon[3677]: The Secret Service was already initialized
Sep 10 10:32:44 (none) gnome-keyring-daemon[3677]: The SSH agent was already initialized
Sep 10 10:32:44 (none) kernel: [ 90.658689] lxpolkit[3716]: segfault at 8 ip 08049ba4 sp bfe8d2c0 error 4 in lxpolkit[8048000+3000]
..
Code: Select all
root@porteus:~# ls /home
guest/
this is definitely a problem but does not explain your permission issues.I checked how much free space is left in the "virtual file system" and it was 20kb. Maybe it's the main problem ?