LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
Search this Thread
Old 02-10-2004, 08:39 AM   #1
linuxfond
Member
 
Registered: Jan 2003
Location: Belgium
Distribution: Mandrake 9.2
Posts: 475

Rep: Reputation: 30
Slack: how to set screen Resolution and add a user?


Finally gave a try to the Slack. Install was very easy, but then I could not find how to setup my screen 1400x1050 TFT LCD. The highest resolution provided in the drop down menue was 1024x768. How do you set it correctly?
During install I created root user, but I was not asked to create a common user. How to add one? thnx
 
Old 02-10-2004, 08:49 AM   #2
khtse
Member
 
Registered: Sep 2003
Location: Hong Kong
Distribution: Slackware 9.1
Posts: 43

Rep: Reputation: 15
I'm not sure about changing the resolution apart from what it provides. I suppose you would probably need to download a driver for your monitor first, if it needs special configuration. Google would be your best source.

As for adding a user, you can use the 'useradd' command or, if your don't want to find out about all the different arguments, the 'adduser' command guides you through by asking you questions. However, some systems configure it so that the adduser is actually just a symbolic link to the useradd. Type 'man useradd' to find out about the options.

'useradd -m name' creates a new user called 'name' with a home directory, a userID automatically assigned, and uses the /bin/sh shell (which is usually linked to bash in linux),
 
Old 02-10-2004, 09:06 AM   #3
trickykid
Guru
 
Registered: Jan 2001
Posts: 24,133

Rep: Reputation: 199Reputation: 199
Either run xf86config if you haven't done already as its most likely running off the default XF86Config file which is not good or hand edit your /etc/X11/XF86Config file.
 
Old 02-10-2004, 09:22 AM   #4
perry
Member
 
Registered: Sep 2003
Location: USA & Canada
Distribution: Slackware 12.0
Posts: 978

Rep: Reputation: 30
Quote:
Originally posted by trickykid
Either run xf86config if you haven't done already as its most likely running off the default XF86Config file which is not good or hand edit your /etc/X11/XF86Config file.
and before you do that, make sure you backup your XF86Config or -4 file B 4 U do anything.... or else....

and then once it's working, email a copy to yourself

you'll B glad that U did

- perry
 
Old 02-10-2004, 03:13 PM   #5
gnashley
Amigo developer
 
Registered: Dec 2003
Location: Germany
Distribution: Slackware
Posts: 4,771

Rep: Reputation: 477Reputation: 477Reputation: 477Reputation: 477Reputation: 477
For adding users just type adduser then answer the questions. adduser is a script which uses the binary useradd to generate a new user account. adduzser will create a new directory in /home for the new user. to delete a user type userdel username, then delete the directory in /home with rm -rf /home/username
 
Old 02-10-2004, 05:19 PM   #6
opafire
Member
 
Registered: Oct 2003
Location: Colorado Springs
Distribution: Slackware, no more RH or Mandrake for me
Posts: 122

Rep: Reputation: 15
In your XF86Config file you have a section that defines your depths and resolutions or 'modes' if you set your 'modes' line to look like this
Code:
modes   "1400x1050"
your default screen resolution will be set to that. Once again backup your XF86Config file in case you cannot get X to run after making this change.

P.S. the 'modes' line will go under the line specifying the depth. If I were at home I could email you an example but I'm at work and cannot.
 
Old 02-10-2004, 08:06 PM   #7
perry
Member
 
Registered: Sep 2003
Location: USA & Canada
Distribution: Slackware 12.0
Posts: 978

Rep: Reputation: 30
Quote:
Originally posted by gnashley
For adding users just type adduser then answer the questions. adduser is a script which uses the binary useradd to generate a new user account. adduzser will create a new directory in /home for the new user. to delete a user type userdel username, then delete the directory in /home with rm -rf /home/username
i didn't know this....!

learn something new, everyday!

- perry

ps.
anybody starting a math degree like me ?

it's fun !
 
Old 02-11-2004, 01:26 AM   #8
sharpie
Member
 
Registered: Jan 2004
Location: California
Distribution: Slackware 10.1
Posts: 190

Rep: Reputation: 30
Quote:
Originally posted by opafire
In your XF86Config file you have a section that defines your depths and resolutions or 'modes' if you set your 'modes' line to look like this
Code:
modes   "1400x1050"
your default screen resolution will be set to that. Once again backup your XF86Config file in case you cannot get X to run after making this change.

P.S. the 'modes' line will go under the line specifying the depth. If I were at home I could email you an example but I'm at work and cannot.
I'm in the same boat trying to get a 1680*1050 resolution. I haven't got it working yet, but I believe you need to add more than just this. You need to make sure the Modelines are correct. You can try and find XF86Config files from the net, which is what I've been trying. Be careful though, make sure you know they have the same monitor as you, which is hard to find out if you're using a laptop which I take it you are as it seems like a laptop resolution.

Here is for instance the modes section taken from a file I found for someone trying to get a 1920*1200 res (do NOT use this):

Code:
Section "Modes"
        Identifier "16:10"

        Modeline "720x450"    33.92  720  765  841  963  450  451  454  470 
        Modeline "720x450"    39.04  720  770  846  972  450  451  454  472 
        Modeline "720x450"    46.79  720  774  850  981  450  451  454  477 
        Modeline "1280x800"  107.21 1280 1360 1496 1712  800  801  804  835
        Modeline "1280x800"  123.38 1280 1368 1504 1728  800  801  804  840
        Modeline "1280x800"  147.89 1280 1376 1512 1744  800  801  804  848
        Modeline "1680x1050" 147.14 1680 1784 1968 2256 1050 1051 1054 1087
        Modeline "1680x1050" 188.07 1680 1800 1984 2288 1050 1051 1054 1096
        Modeline "1680x1050" 214.51 1680 1800 1984 2288 1050 1051 1054 1103
        Modeline "1680x1050" 256.20 1680 1808 1992 2304 1050 1051 1054 1112
        Modeline "1920x1200" 246.59 1920 2064 2272 2624 1200 1201 1204 1253
        Modeline "1920x1200" 282.74 1920 2072 2280 2640 1200 1201 1204 1260
        Modeline "1920x1200" 337.58 1920 2072 2288 2656 1200 1201 1204 1271
EndSection
If all you want is 1400*1050 you can just use one modeline. Try searching around to see if you can find out the exact numbers you need.

Edit: You may need to edit other things like the horiz and vertical refresh to allow it to go to that res.

Last edited by sharpie; 02-11-2004 at 01:30 AM.
 
Old 02-11-2004, 01:39 AM   #9
sharpie
Member
 
Registered: Jan 2004
Location: California
Distribution: Slackware 10.1
Posts: 190

Rep: Reputation: 30
Quote:
Originally posted by sharpie
I'm in the same boat trying to get a 1680*1050 resolution. I haven't got it working yet, but I believe you need to add more than just this. You need to make sure the Modelines are correct.
I believe the reason this won't work is when you add

modes "1400*1050"

It's realy just using what you described earlier. The "1400*1050" is just a name, it could be called anything. If your Modeline looked like:

Modeline "Resolution" $numbers go here$

Then you would add

modes "Resolution"

I hope I'm explaining OK, I'm trying to say that you define it earlier under the Modeline, and when you use modes you're just giving a name of what you defined earlier.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
How do I add a screen resolution? coolbreeze7000 Debian 3 01-29-2005 11:44 PM
Slack 10 screen resolution ionmich Slackware 2 11-02-2004 08:19 PM
I can't set screen resolution rajames Fedora 0 02-21-2004 10:32 AM
How to change / set screen resolution during boot lumkichi Linux - Newbie 3 02-11-2004 10:38 AM
add user in slack 8.1 watashiwaotaku7 Linux - General 4 02-21-2003 10:11 AM


All times are GMT -5. The time now is 09:13 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration