Overclock.net - Overclocking.net
     
 
Home Gallery Reviews Blogs Register Today's Posts Mark Forums Read Members List


Go Back   Overclock.net - Overclocking.net > Software, Programming and Coding > Operating Systems > Linux, Unix

Reply
 
LinkBack Thread Tools
Old 06-21-08   #1 (permalink)
New to Overclock.net
 
intel nvidia

Join Date: Feb 2008
Posts: 94

Rep: 3 TREYisRAD Unknown
Unique Rep: 3
Trader Rating: 0
Default slackware help

i just installed slackware, but when i type "xorgsetup" or "xorgconfig" it says command not found


I tried reinstalling, and it still does this...
__________________
System: Traitum
CPU
e4500 Core 2 Duo
Motherboard
ASUS P5K-E/WIFI-AP
Memory
G.Skill 2x2GB
Graphics Card
eVGA 8800GTS (G92)
Hard Drive
WD 500GB
Sound Card
X-fi
Power Supply
Corsair 550w
Case
Raidmax Aztec
OS
Ubuntu 8.04 x64
Monitor
LG 22" + Sony 19"
TREYisRAD is offline   Reply With Quote
Old 06-21-08   #2 (permalink)
New to Overclock.net
 
Join Date: Jun 2008
Posts: 1

Rep: 1 evenorbi Unknown
Unique Rep: 1
Trader Rating: 0
Default

You need to run these commands as root. Unlike in Ubuntu, there is a root user (this user you will create after the installation).
evenorbi is offline   Reply With Quote
Old 06-22-08   #3 (permalink)
Linux Lobbyist
 
amd nvidia

Join Date: Apr 2008
Location: USA
Posts: 192

Rep: 20 thiussat is acknowledged by some
Unique Rep: 18
Trader Rating: 0
Default

Yep, evenorbi is right. Most distros allow a true superuser. Ubuntu, by default, does not (one reason I don't use Ubuntu). Being a newb friendly distro, I understand why Ubtunu does this, but it is annoying once you become more familiar with terminal commands.

To perform your root duties, open a terminal and type: su

then enter your root password. This gives you a root shell. You can then perform as much "root stuff" as you want without having to type "sudo" on every command.

Just be sure to close this shell whenever you finish doing whatever it is you need to do. Unlike in Ubuntu, you don't use sudo (unless you specifically set up a sudoers file, but this is usually only needed if someone else is using your machine who might need occasional root privileges. You give them a sudo account so they can perform certain root functions without having "true" superuser rights and the true root password).
__________________
System: My system
CPU
X2 4000+ Brisbane@2.8 GHZ
Motherboard
Gigabyte GA-M57SLI-S4
Memory
1x2 GB Corsair XMS2 PC6400
Graphics Card
Geforce 8400GS
Hard Drive
WD5000AAKS 500GB SATA
Sound Card
Soundblaster Live! 5.1
Power Supply
Xclio X14-S4P3 500W SLI cert.
Case
NZXT Lexa Blackline
CPU cooling
Rosewill RCX-Z940-LX (lapped)
OS
Gentoo
Monitor
19" VA1912wb Viewsonic LCD
thiussat is offline   Reply With Quote
Old 06-23-08   #4 (permalink)
Linux Lobbyist
 
Pap3r's Avatar
 
intel nvidia

Join Date: Feb 2008
Location: ~/
Posts: 495

Rep: 37 Pap3r is acknowledged by some
Unique Rep: 32
Folding Team Rank: 360
Trader Rating: 0
Default

Quote:
Originally Posted by thiussat View Post
then enter your root password. This gives you a root shell. You can then perform as much "root stuff" as you want without having to type "sudo" on every command.
Well, sudo doesn't need to be run from a root user. sudo is the command to temporarily run root commands, from your user, rather than the root. When you are root you don't need to type sudo before commands.

Using sudo:
Code:
pap3r|UBox|~$ nano /etc/X11/xorg.conf
You would be able to view the file, but not make changes, as it is a root file. To make changes, you simply need to add sudo in front of the command.
Code:
pap3r|UBox|~$ sudo nano /etc/X11/xorg.conf
Now you're able to change the document anyway you like. DON'T THOUGH! Your xorg.conf file is ubeer important, so don't change it unless you know what you are doing, or a program is doing it.

Using su:
Code:
pap3r|UBox|~$ xorgsetup
Command not found (or it might say) Root privileges are required to run this command
In that case, all you need to do is run
Code:
pap3r|UBox|~$ su
Root password:
root@UBox:~#
Then run whatever command is necessary. Most of the time working in root is unnecessary. You can get by 90% of the time using sudo, and that's much safer, too. I recommend using sudo, as I'm sure most other people will too. If you use su a lot, think about this. If you install a program from su, tar xzvf blah blah blah, that unzipped file belongs to root, not you. I learned this the hard way when I first updated slackware with all of the updates. I was in su the entire time. Had to do a reinstall

Just be careful using su, sudo is normally all you need.
__________________
Q6600 G0 @ 3409
4600+ Manchester @ 2809.9
Member of the LGC
Quote:
Originally Posted by GoHigh
All that work in my bathroom for three hours and for what... 2c. All that stroking... back and forth...

System: Mod
CPU
Q6600 G0 @ 3390MHz
Motherboard
Asus P5Q
Memory
2x1g OCZ Reaper DDR2
Graphics Card
XFX 8800GT Alpha Dog Edition 767/1833
Hard Drive
WD 160G SATA
Sound Card
Onboard
Power Supply
Rosewill 550w SLI
Case
TT Tsunami
CPU cooling
Vendetta 2 w/ 3000rpm Ultra Kaze
GPU cooling
Stock
OS
Ubuntu
Monitor
Syncmaster 730B
Pap3r is offline I fold for Overclock.net   Reply With Quote
Old 06-23-08   #5 (permalink)
New to Overclock.net
 
intel nvidia

Join Date: Feb 2008
Posts: 94

Rep: 3 TREYisRAD Unknown
Unique Rep: 3
Trader Rating: 0
Default

well i installed bluewhite64 and it fixed it, but i decided slackware was too hard for me, so im back to ubuntu

thanks anyway!
__________________
System: Traitum
CPU
e4500 Core 2 Duo
Motherboard
ASUS P5K-E/WIFI-AP
Memory
G.Skill 2x2GB
Graphics Card
eVGA 8800GTS (G92)
Hard Drive
WD 500GB
Sound Card
X-fi
Power Supply
Corsair 550w
Case
Raidmax Aztec
OS
Ubuntu 8.04 x64
Monitor
LG 22" + Sony 19"
TREYisRAD is offline   Reply With Quote
Old 06-23-08   #6 (permalink)
Fear is the heart of Love
 
dangerousHobo's Avatar
 
amd nvidia

Join Date: Dec 2005
Location: ~/
Posts: 3,410

FAQs Submitted: 7
Folding Team Rank: 298
Trader Rating: 0
Default

Quote:
Originally Posted by Pap3r View Post
Then run whatever command is necessary. Most of the time working in root is unnecessary. You can get by 90% of the time using sudo, and that's much safer, too. I recommend using sudo, as I'm sure most other people will too. If you use su a lot, think about this. If you install a program from su, tar xzvf blah blah blah, that unzipped file belongs to root, not you. I learned this the hard way when I first updated slackware with all of the updates. I was in su the entire time. Had to do a reinstall

Just be careful using su, sudo is normally all you need.
A few tricks with chmod -R may have been able to fix that for you.

But yeah setting up sudo is usually better then just logging into the root account.
__________________
"UNIX was never designed to keep people from doing stupid things, because that policy would also keep them from doing clever things." - Doug Gwyn

Try out the latest Programming Challenge
Quote:
Originally Posted by Melcar
Only one reasonable way to solve this... a dance off.

CPU-Z Validation
@ 2.97-prime95 stable 16 hours @ 1.48v Proof | CPU-Z Validation @ 3.15


Getting Mouse Side Buttons to work in Linux, Compile a custom Kernel, More

System: Anomaly
CPU
Athlon 3700 SD(KACAE)0546 @3.02ghz
Motherboard
DFI UT nF4 Ultra-D
Memory
G.Skill 2x512 UTT(BH-5)
Graphics Card
evga 6800gs
Hard Drive
Maxtor 300GB + WD 250GB
Sound Card
onboard
Power Supply
Ultra 500w V-series
Case
one from Ultra
CPU cooling
Big Typhoon
GPU cooling
80mm fan mounted on
OS
Arch Linux, Slackware 12.1
Monitor
Acer AL2216W 22" WS LCD
dangerousHobo is offline I fold for Overclock.net Overclocked Account dangerousHobo's Gallery   Reply With Quote
Old 06-23-08   #7 (permalink)
Linux Lobbyist
 
Pap3r's Avatar
 
intel nvidia

Join Date: Feb 2008
Location: ~/
Posts: 495

Rep: 37 Pap3r is acknowledged by some
Unique Rep: 32
Folding Team Rank: 360
Trader Rating: 0
Default

Quote:
Originally Posted by dangerousHobo View Post
A few tricks with chmod -R may have been able to fix that for you.

But yeah setting up sudo is usually better then just logging into the root account.
Yep, I knew nothing of chmod back then, I started on slack, and eventually figured out why people use sudo...
__________________
Q6600 G0 @ 3409
4600+ Manchester @ 2809.9
Member of the LGC
Quote:
Originally Posted by GoHigh
All that work in my bathroom for three hours and for what... 2c. All that stroking... back and forth...

System: Mod
CPU
Q6600 G0 @ 3390MHz
Motherboard
Asus P5Q
Memory
2x1g OCZ Reaper DDR2
Graphics Card
XFX 8800GT Alpha Dog Edition 767/1833
Hard Drive
WD 160G SATA
Sound Card
Onboard
Power Supply
Rosewill 550w SLI
Case
TT Tsunami
CPU cooling
Vendetta 2 w/ 3000rpm Ultra Kaze
GPU cooling
Stock
OS
Ubuntu
Monitor
Syncmaster 730B
Pap3r is offline I fold for Overclock.net   Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools



All times are GMT -4. The time now is 01:30 AM.


Overclock.net is a Carbon Neutral Site Creative Commons License Internet Security By ControlScan

Terms of Service / Forum Rules | Privacy Policy | Advertising | Become an Official Vendor
Copyright © 2008 Shogun Interactive Development. Most rights reserved.
Page generated in 0.17409 seconds with 9 queries