LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 09-24-2010, 06:59 PM   #226
linus72
LQ Guru
 
Registered: Jan 2009
Location: Gordonsville-AKA Mayberry-Virginia
Distribution: Slack14.2/Many
Posts: 5,573

Original Poster
Rep: Reputation: 470Reputation: 470Reputation: 470Reputation: 470Reputation: 470

Quote:
and if as guest I do "sudo startx" it obviously doesn't like password "toor"
using sudo you use the user's password not root's

how to unpack slax packets??
what do you mean?

no, when booting off livecd/usb the filesystem is in ramdisk/ram whatever
so, whatever you do before doing the install will be there when you install
like, say you boot up off cd
and at desktop you open a terminal and start installing apps, whatever
then if you open the installer or manual-install, everything you've done will be transferred to hdd install

try reinstalling kbd and install xkbsel xxkb
http://www.archlinux.org/packages/co...y/i686/xkbsel/
http://www.archlinux.org/packages/community/i686/xxkb/
pacman -S kbd xkbsel xxkb

and maybe
packer -S actkbd
 
Old 09-25-2010, 02:28 AM   #227
0li
Member
 
Registered: Sep 2010
Distribution: ubuntu 10.04, nFluxOS Arch Linux
Posts: 35

Rep: Reputation: 0
first of all guest login now works!!!

- at least as a work around: as root I did a chmod 777 /temp
logout/in as guest and startx worked.
then as guest, since connection was not active, I need sudo start-pppoe and this accepted the password (in the meantime I changed all passwds ... currently they are all identical). now I'm writing this as guest. (todo: have to get back my FF profile from root account)

> using sudo you use the user's password not root's

I believe I tried this too. but not sure.

> how to unpack slax packets?? what do you mean?

have seen somewhere that .lzm was an extension for slax packet manager

> try reinstalling kbd and install xkbsel xxkb

thank you, but I guess this is now no longer required. it was a permission problem on /tmp

I'll try chmod 755 /tmp and as guest: sudo startx now.

Update 1: this works too! BUT I get the desktop as root!!!

so what is correct chmod for /tmp if 777 to enable startx for guest is wrong?

Thank you very much for your help and your patience!

p.s.: could you reproduce the gxine error reported above? it happened when I played an avi file.

Update 2:
added a new user.

at startx I get "nFlux_Arch LIVE" with smaller system info on righthandside and workspace icons replicated on top panel.

Sound works with VLC as user! (VLC has alsa-lib problem only when run under root)

Menu exit now goes to a nice graphical choice (logout/reboot/...) looks like gdm.

btw, I don't need it, but starting desktop with gdm hangs when login as user.
Attached Thumbnails
Click image for larger version

Name:	Screenshot - 092510 - 07:05:16.png
Views:	7
Size:	195.9 KB
ID:	4673  

Last edited by 0li; 09-25-2010 at 06:07 AM. Reason: update 2
 
Old 09-25-2010, 06:18 AM   #228
linus72
LQ Guru
 
Registered: Jan 2009
Location: Gordonsville-AKA Mayberry-Virginia
Distribution: Slack14.2/Many
Posts: 5,573

Original Poster
Rep: Reputation: 470Reputation: 470Reputation: 470Reputation: 470Reputation: 470
morning Oli

I am having so many problems making kmason's
afterglowII edition, which is also ARCH testing based but with Pekwm Desktop/WM
http://linux.softpedia.com/get/Syste...ow-59727.shtml

We're doing a trade; he makes me a new website cause mine sucks
and I make him AfterGlowII Live, its basically same as nFluxOS slack/arch

LOL
the new user's /home is populated by contents of /etc/skel
and I must have forgotten to transfer the /home/guest/* stuff to /etc/skel
prior to making live media...
so, you can transfer the .conkyrc, and stuff from .config/ to make new desktop appear
like the guest account,etc

note Oli, that as user "guest" or whoever, you should never need "sudo",etc to start user's desktop
only GDM, Slim need to be started as root, then login as user or root

when you installed GDM, did you choose "fluxbox" from the GDM desktop chooser at gdm login screen?
it may be set on gnome-session or something

I'll try the gxine thing too
 
Old 09-25-2010, 07:39 AM   #229
0li
Member
 
Registered: Sep 2010
Distribution: ubuntu 10.04, nFluxOS Arch Linux
Posts: 35

Rep: Reputation: 0
> so, you can transfer the .conkyrc, and stuff from .config/ to make new desktop appear like the guest account,etc

[gd1@nfluxos ~]$ sudo cp guest/.conkyrc gd1
[gd1@nfluxos ~]$ sudo cp -R -i guest/.config gd1/.config

I used -i but nothing was overwritten.

the system info on RHS is complete now, but top panel icons are still duplicate from bottom and sound icon as well as cpu-usage icon are still missing on top/rhs

> never need "sudo",etc to start user's desktop

sure; didn't need it to startx for new user.

> when you installed GDM, did you choose "fluxbox" from the GDM desktop chooser at gdm login screen? it may be set on gnome-session or something

forgot, but if there was a choice, I used most probably fluxbox.

maybe elegant-gnome theme pack install did something. (there is no uninstall but I'll restore previous settings whatever this will do.)

UPDATE:
... restored previous with elegant-gnome script but it didn't change anything.

for a new user, in # fbpanel <profile> config file there is pcmanfm instead of pcmanfm-mod and also it has the same icon as rox.

Plugin {
type = launchbar
config {
button {
icon = gnome-fs-home
tooltip = ROX file manager
action = rox
}
button {
icon = gnome-fs-home
tooltip = PCMANFM file manager
action = pcmanfm

pcmanfm is useless (can't really access directories except via dir-tree on LHS)

I changed

action = pcmanfm-mod

which worked after login/startx.

funnily /root/.fbpanel/default also has action = pcmanfm but it nevertheless invokes pcmanfm-mod

> note Oli,

it's 0li with (like) zero.

Last edited by 0li; 09-25-2010 at 08:36 AM.
 
Old 09-25-2010, 08:17 AM   #230
linus72
LQ Guru
 
Registered: Jan 2009
Location: Gordonsville-AKA Mayberry-Virginia
Distribution: Slack14.2/Many
Posts: 5,573

Original Poster
Rep: Reputation: 470Reputation: 470Reputation: 470Reputation: 470Reputation: 470
use

cp -r /home/guest/.conkyrc /home/gd1
cp -r /home/guest/.config/* /home/gd1/.config
 
Old 09-25-2010, 08:55 AM   #231
0li
Member
 
Registered: Sep 2010
Distribution: ubuntu 10.04, nFluxOS Arch Linux
Posts: 35

Rep: Reputation: 0
> cp -r /home/guest/.conkyrc /home/gd1

command worked, but

[gd1@nfluxos ~]$ sudo cp -r /home/guest/.config/* /home/gd1/.config
cp: cannot stat `/home/guest/.config/*': No such file or directory

[gd1@nfluxos ~]$ sudo ls -l /home/guest/.config/
total 52
drwx------ 2 guest users 4096 Sep 11 08:13 xfce4
drwx------ 2 guest users 4096 Jun 4 01:41 xarchiver
drwxr-xr-x 2 guest users 4096 Aug 17 08:29 tint2
drwxr-xr-x 2 guest users 4096 Jun 6 23:37 rox.sourceforge.net
drwxr--r-- 2 guest users 4096 Aug 30 19:31 pcmanfm-mod
drwxr--r-- 2 guest users 4096 Jun 7 01:33 pcmanfm
drwxr-xr-x 2 root root 4096 Aug 21 08:58 mirage
drwx------ 2 guest users 4096 Jun 6 23:06 lxterminal
-rw-r--r-- 1 guest users 147 Jun 8 20:19 lxtask.conf
drwx------ 3 guest users 4096 Jul 18 14:14 lxpanel
drwx------ 2 guest users 4096 Jun 3 13:36 leafpad
-rw-r--r-- 1 guest users 0 Jun 9 09:43 hag-exit-fluxbox_dont-ask
drwx------ 2 guest users 4096 Sep 11 08:13 gtk-2.0
drwx------ 2 guest users 4096 Jun 8 20:45 Terminal

but

sudo cp -r /home/guest/.config/ /home/gd1/.config

worked.

login/startx and nothing changed except the pcmanfm-mod settings were set back.

Last edited by 0li; 09-25-2010 at 09:01 AM.
 
Old 09-25-2010, 09:35 AM   #232
linus72
LQ Guru
 
Registered: Jan 2009
Location: Gordonsville-AKA Mayberry-Virginia
Distribution: Slack14.2/Many
Posts: 5,573

Original Poster
Rep: Reputation: 470Reputation: 470Reputation: 470Reputation: 470Reputation: 470
ok
my bad, here, download the contents of guest account and extract it in /home/guest
as user guest, no sudo,etc
link: http://multidistro.com/distros/arch/guest.tar.gz

login to console as guest
start fluxbox as guest
download it to /home/guest with firefox
open pcmanfm-mod and
delete everything in guest folder (move .mozilla folder or whatever first)
then open terminal as guest
type in
tar -xvzf guest.tar.gz

then logout and startx again as guest

edit: replace guest with gd1
you know, put it in /home/gd1

Last edited by linus72; 09-25-2010 at 09:39 AM.
 
Old 09-25-2010, 10:59 AM   #233
0li
Member
 
Registered: Sep 2010
Distribution: ubuntu 10.04, nFluxOS Arch Linux
Posts: 35

Rep: Reputation: 0
thanks, did as you proposed and now gd1 looks like the guest account (and successfully restored FF profile). will try logout/in.
 
Old 09-25-2010, 11:12 AM   #234
linus72
LQ Guru
 
Registered: Jan 2009
Location: Gordonsville-AKA Mayberry-Virginia
Distribution: Slack14.2/Many
Posts: 5,573

Original Poster
Rep: Reputation: 470Reputation: 470Reputation: 470Reputation: 470Reputation: 470
dang it man your in France huh?
betcha those French chics are hot or what?

so, you havent added any other desktops yet?
or added the ARCH official kernel26?
did you make a initrd?
 
Old 09-25-2010, 11:42 AM   #235
0li
Member
 
Registered: Sep 2010
Distribution: ubuntu 10.04, nFluxOS Arch Linux
Posts: 35

Rep: Reputation: 0
yes, a german living in france. chicas are too hot to handle too hard to quit.

> so, you havent added any other desktops yet?

not yet. there are some quircks but everything works really fast on this old PC!

> or added the ARCH official kernel26?

will do the 'downgrade'. maybe then the system will also recognize my Rockbox-ed sansa sandisk e200's 16GB-microSDHC-card. Currently it sees sansa build-in storage only, whereas under ubuntu and win, when I plug-in the player I see two devices: sansa e260 and microSD.

> did you make a initrd?

no. have to re-read what you wrote about above to see what's for.
===
currently running:

pacman -S kernel26

[update: finished with success]

will it replace existing test kernel?
or should I add a new entry in (lilo) boot menu?

Last edited by 0li; 09-25-2010 at 12:04 PM.
 
Old 09-25-2010, 11:50 AM   #236
linus72
LQ Guru
 
Registered: Jan 2009
Location: Gordonsville-AKA Mayberry-Virginia
Distribution: Slack14.2/Many
Posts: 5,573

Original Poster
Rep: Reputation: 470Reputation: 470Reputation: 470Reputation: 470Reputation: 470
see this about mkinitcpio
http://wiki.archlinux.org/index.php/Mkinitcpio

the default arch kernel may be faster and smaller than the kernel26-pf
so you should probably test it
just do
pacman -S kernel26
and it'll make a kernel26.img & kernel26-fallback.img automatically

then edit /etc/lilo or grub,whatever for new kernel and reboot
 
Old 09-25-2010, 12:34 PM   #237
0li
Member
 
Registered: Sep 2010
Distribution: ubuntu 10.04, nFluxOS Arch Linux
Posts: 35

Rep: Reputation: 0
apart vom vmlinuz which is what boot currently, there is already a vmlinuz26 (27-Aug-2010) on /boot

the images installed today are called kernel26.img and kernel26-fallback.img

except for different file size, from the naming I assume I could alternatively make vmlinuz26 executable and use this filename in lilo.conf here instead of vmlinuz:

===
# Linux bootable partition config begins
image = /boot/vmlinuz
root = /dev/sda2
label = nflux
read-only # Partitions should be mounted read-only for checking
# Linux bootable partition config ends
===

- or do you say the kernel26.img file can replace vmlinuz in this menu? probably not.

(Update: "mkinitcpio -p kernel26" was already performed by pacman.)

- or add an additional menu entry (I saw here http://wiki.archlinux.fr/howto/indis...er_bootmanager that vmlinuz26 is also needed)?

==
image=/boot/vmlinuz26
label=nflux ArchLinux kernel26
append="root=/dev/sda2"
initrd=/boot/kernel26.img
read-only

image=/boot/vmlinuz26
label=nflux ArchLinux kernel26-fallback
append="root=/dev/sda2"
initrd=/boot/kernel26-fallback.img
read-only
==

does that mean, in case initrd is specified, image=/boot/vmlinuz26 points to a file within the initrd image?

Last edited by 0li; 09-25-2010 at 01:37 PM.
 
Old 09-25-2010, 01:41 PM   #238
linus72
LQ Guru
 
Registered: Jan 2009
Location: Gordonsville-AKA Mayberry-Virginia
Distribution: Slack14.2/Many
Posts: 5,573

Original Poster
Rep: Reputation: 470Reputation: 470Reputation: 470Reputation: 470Reputation: 470
thats right

put anything else you want on append line too
append="root=/dev/sda2 vga=791 5"

the "5" is runlevel 5, so put 3 or 5 to change runlevel
without editing /etc/inittab

yeah, vmlinuz26 is arch way
making a symlink to vmlinuz26 is slackware way
ln -s vmlinuz26 vmlinuz
but not needed

image=/boot/vmlinuz26
label=nflux ArchLinux kernel26
append="root=/dev/sda2"
initrd=/boot/kernel26.img
read-only

image=/boot/vmlinuz26
label=nflux ArchLinux kernel26-fallback
append="root=/dev/sda2"
initrd=/boot/kernel26-fallback.img
read-only

thats right
do you still have vmlinuz26-pf in /boot?
after install it should have been a file named vmlinuz
which you do "mv vmlinuz vmlinuz26
then do mkinitcpio -p kernel26-pf

OH, when you installed kernel26 it upgraded to and removed kernel26-pf?

anyway, if you want kernel26-pf back to make a remaster I'll post it...
 
Old 09-25-2010, 02:48 PM   #239
0li
Member
 
Registered: Sep 2010
Distribution: ubuntu 10.04, nFluxOS Arch Linux
Posts: 35

Rep: Reputation: 0
> OH, when you installed kernel26 it upgraded to and removed kernel26-pf?

don't know if it ever was there.

what about the permissions of the images?
(I already set execute permission of vmlinuz26 but it'll not be used I guess.)
Attached Files
File Type: txt x.txt (1.5 KB, 11 views)

Last edited by 0li; 09-25-2010 at 02:57 PM. Reason: /boot dir list attached
 
Old 09-25-2010, 03:38 PM   #240
linus72
LQ Guru
 
Registered: Jan 2009
Location: Gordonsville-AKA Mayberry-Virginia
Distribution: Slack14.2/Many
Posts: 5,573

Original Poster
Rep: Reputation: 470Reputation: 470Reputation: 470Reputation: 470Reputation: 470
the vmlinuz file
do
mv vmlinuz vmlinuz26-pf

thats the kernel that came withit originally
vmlinuz26 is arch's kernel26

you can delete everything from /boot folder except

vmlinuz26
vmlinuz26-pf
kernel26.img
kernel26-fallback.img
System.map26

so, heres example lilo.conf for both th default arch kernel and the live kernel vmlinuz26-pf
Code:
image=/boot/vmlinuz26-pf
label=nflux ArchLinux kernel26 LIVE
append="root=/dev/sda2"
#initrd=/boot/kernel26-pf.img
read-only

image=/boot/vmlinuz26
label=nflux ArchLinux kernel26
append="root=/dev/sda2"
initrd=/boot/kernel26.img
read-only

image=/boot/vmlinuz26
label=nflux ArchLinux kernel26-fallback
append="root=/dev/sda2"
initrd=/boot/kernel26-fallback.img
read-only
there are other kernels available for arch via AUR
you have to compile them
http://aur.archlinux.org/packages.ph...6&do_Search=Go
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Linux-oriented Intro Programming book? Munchkinguy Programming 8 10-16-2007 02:56 AM
LXer: Announcing Foresight Linux 0.9.9 LXer Syndicated Linux News 0 12-18-2006 02:21 AM
LXer: Announcing Foresight Linux 0.9.8.3 LXer Syndicated Linux News 0 10-30-2006 07:21 AM
LXer: Mobile audio editing powered by Linux, thanks to Trinity DAW LXer Syndicated Linux News 0 07-12-2006 12:03 AM
Announcing Slackware Linux 9.0! jeremy Slackware 1 03-20-2003 09:33 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 08:36 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration