Raspberry Pi tutorials - problems

The place to post if you need help or advice

Moderators: ChrisThornett, LXF moderators

Raspberry Pi tutorials - problems

Postby 2tux-zx7r » Tue Jun 26, 2012 4:54 pm

OK so second time playing with the new Pi. First one was to get it all installed and check everything worked. Passed that.

Tonight it was work through the tutorials in LXF159 and 160

1st issue: I don't know the root password. Haven't found it in the articles but if I want to start GParted from the menu it asks for it. I know I could sudo from a terminal but I like having a root password. Is there one set up or shall I add the user root?

2nd issue: I don't have /boot/config.txt for fixing the overscan issue. As I installed from LXF159 have you used some other distro for the tutorial?

Cheers

John
2tux-zx7r
 
Posts: 66
Joined: Thu Apr 14, 2005 11:37 am

Found answer to the root password problem

Postby 2tux-zx7r » Tue Jun 26, 2012 5:15 pm

Been onto the Pi website and found the answer to the root password problem

So just the missing config.txt to sort out (for the moment anyway!) :lol:

John
2tux-zx7r
 
Posts: 66
Joined: Thu Apr 14, 2005 11:37 am

Missing config.txt = resolved

Postby 2tux-zx7r » Tue Jun 26, 2012 5:21 pm

This answer found on the Pi website as well. Sorry for taking up bandwidth here guys!

Need to create (touch) it :oops:
2tux-zx7r
 
Posts: 66
Joined: Thu Apr 14, 2005 11:37 am

Postby Dutch_Master » Tue Jun 26, 2012 5:55 pm

That's OK, it's been quiet lately. Our resident forum troll seems to have vacated the premises ;) :mrgreen:
Dutch_Master
LXF regular
 
Posts: 2445
Joined: Tue Mar 27, 2007 1:49 am

Postby towy71 » Tue Jun 26, 2012 6:14 pm

Dutch_Master wrote:Our resident forum troll seems to have vacated the premises ;) :mrgreen:
Oh dear you know what'll happen now :roll:


It was DM wot done it 'onest :P :P :P
still looking for that door into summer
User avatar
towy71
Moderator
 
Posts: 4263
Joined: Wed Apr 06, 2005 2:11 pm
Location: wild West Wales

Postby Ram » Tue Jun 26, 2012 6:26 pm

There is no plaice here for the fish...

lubuntu LXDE 13.10 running on AMD Phenom II*4; ASUS Crosshair III Formula MB; 4 GB Ram.....
User avatar
Ram
LXF regular
 
Posts: 1676
Joined: Thu Apr 07, 2005 9:44 pm
Location: Guisborough

Postby dhester » Tue Jun 26, 2012 7:05 pm

2tux-zx7r for others who might have the same problem could you post the answers or links to the answers.
dhester
 
Posts: 72
Joined: Thu Feb 19, 2009 6:19 pm

Completing the circle

Postby 2tux-zx7r » Tue Jun 26, 2012 7:24 pm

dhester wrote:2tux-zx7r for others who might have the same problem could you post the answers or links to the answers.


yeah sorry mate. Mea culpa, Bloody bad manners of me :oops:

Issue#1: Root password
By default there is no root password

Options are:

A) set global sudo - in a terminal type "gconftool-2 -\-type bool -\-set /apps/gksu/sudo-mode true"

B) instead of logging in as a user at the first terminal screen, log in as root. At the terminal prompt type "sudo su" and then "startx" X11 runs as root and won't ask for root passwords

C) Set a root password. In a terminal type "sudo passwd root"

Issue#2: Missing config.txt
By default this file is not there.

Create one by typing in a terminal "touch /boot/config.txt"

This can be populated by reading the advice at http://elinux.org/RPi_config.txt

John
2tux-zx7r
 
Posts: 66
Joined: Thu Apr 14, 2005 11:37 am

Postby nelz » Tue Jun 26, 2012 7:54 pm

Ram wrote:There is no plaice here for the fish...


Except in a fish pi.

It's unlike the fat one to ignore a thread with food references, no matter how vague.
"Insanity: doing the same thing over and over again and expecting different results." (Albert Einstein)
User avatar
nelz
Site admin
 
Posts: 8504
Joined: Mon Apr 04, 2005 11:52 am
Location: Warrington, UK

Postby dhester » Tue Jun 26, 2012 8:08 pm

Thanks 2tux-zx7r.

I ordered my Raspberrypi last week now got to wait 10 weeks.
dhester
 
Posts: 72
Joined: Thu Feb 19, 2009 6:19 pm

Re: Completing the circle

Postby Ram » Tue Jun 26, 2012 9:00 pm

2tux-zx7r wrote:
dhester wrote:2tux-zx7r for others who might have the same problem could you post the answers or links to the answers.


yeah sorry mate. Mea culpa, Bloody bad manners of me :oops:

Issue#1: Root password
By default there is no root password

Options are:

A) set global sudo - in a terminal type "gconftool-2 -\-type bool -\-set /apps/gksu/sudo-mode true"

B) instead of logging in as a user at the first terminal screen, log in as root. At the terminal prompt type "sudo su" and then "startx" X11 runs as root and won't ask for root passwords

C) Set a root password. In a terminal type "sudo passwd root"

Issue#2: Missing config.txt
By default this file is not there.

Create one by typing in a terminal "touch /boot/config.txt"

This can be populated by reading the advice at http://elinux.org/RPi_config.txt

John


I'll disagree with B, you should be able to login as a user then sudo su there is no need to sudo su once you are root.
sudo su will only ask for the password once.

lubuntu LXDE 13.10 running on AMD Phenom II*4; ASUS Crosshair III Formula MB; 4 GB Ram.....
User avatar
Ram
LXF regular
 
Posts: 1676
Joined: Thu Apr 07, 2005 9:44 pm
Location: Guisborough

Postby 2tux-zx7r » Wed Jun 27, 2012 5:55 am

I think I may have written B poorly

I think the advice means instead of logging in when the system boots as user "pi" log in with "sudo su" then do "startx"

Personally I just set a root password and have had no problems since
2tux-zx7r
 
Posts: 66
Joined: Thu Apr 14, 2005 11:37 am

Postby AgeGap1 » Fri Nov 30, 2012 9:39 pm

Hi, I have just got a Raspberry Pi and have encountered a problem. It is running squeezy and LXDE. When I try to look at the bottom of a Window I am unable to scroll to the bottom. I have tried making the window smaller and pushing it to the top of the screen but I still can't see the bottom of the Window. I have tried google for the solution. Any help would be appreciated. I am using composite cables not hdmi.
AgeGap1
 
Posts: 14
Joined: Thu Nov 29, 2012 4:13 pm

Postby Ram » Fri Nov 30, 2012 10:03 pm

Try changing your TV resolution - maybe auto so the screen might resize.

lubuntu LXDE 13.10 running on AMD Phenom II*4; ASUS Crosshair III Formula MB; 4 GB Ram.....
User avatar
Ram
LXF regular
 
Posts: 1676
Joined: Thu Apr 07, 2005 9:44 pm
Location: Guisborough

Postby Dutch_Master » Fri Nov 30, 2012 11:50 pm

You may have overscan enabled for a regular TV, try to disable it.
Dutch_Master
LXF regular
 
Posts: 2445
Joined: Tue Mar 27, 2007 1:49 am

Next

Return to Help!

Who is online

Users browsing this forum: No registered users and 3 guests