Yet another Ubuntu thread.

jtomasik
Posts
12895
Joined
8/17/2006
Location
Golden, CO, USA
Edited Date/Time 1/23/2012 6:56pm
Hey guys. My son was still fighting with getting our printer printing using the Ubuntu machine in our house. It's obvious I'm going to have to step in and help him a bit more than I have, especially since I noticed that for some reason, he's locked out of pretty much all folders on that computer.

Anyone have any idea how the profile that installs the Ubuntu/Linux OS can lock itself out of the folders on the computer?
|
5/26/2008 9:12am Edited Date/Time 4/16/2016 7:05pm
A regular user generally is locked out of many folders under any linux install. In order to fix any problems with the system, you generally have to be logged in as the root user.

On the login screen you would do this:

login: root
password: (root password)

then change whatever settings you need, log out, and then log in as a normal user.
jtomasik
Posts
12895
Joined
8/17/2006
Location
Golden, CO, USA
5/26/2008 9:14am Edited Date/Time 5/26/2008 9:15am
And how in the heck do ya do that? For that matter, how can there be any other user other than the user who installed the OS? I don't recall us setting up other user accounts.
Void Main
Posts
17013
Joined
3/19/2008
Location
USA
5/26/2008 9:14am Edited Date/Time 5/26/2008 9:15am
A normal user logon should not have write access to any directory except their own by default. Sounds like the permissions are correct in that regard. The "root" user is the all powerful user account (like "Administrator" in the Windows world). As far as printers go, if it's a supported printer it should be a piece of cake. What is the make/model of the printer?

P.S. The Ubuntu web site has it's own forums that would get you a million times more help on Ubuntu.

The Shop

jtomasik
Posts
12895
Joined
8/17/2006
Location
Golden, CO, USA
5/26/2008 9:43am Edited Date/Time 4/16/2016 7:05pm
Yeah, my son's been frequenting the Ubuntu forums. I'm trying to take the shortcut by talking to people I sort of know.

Ok, a few things:

I figured out how to set the "root" password. But, if I log out of my son's account, it won't let me log in as "root" from the log in screen. Where the heck do I do that? I tried switching users, starting the machine from a shut off, and logging off from my son's account. Everytime I try the username "root" and the password, it says I can't log in as administrator from that screen.

Logging in as root is apparently necessary to install this driver. The Samsung site says so:


http://www.samsung.com/us/support/download/supportDownDetail.do?group=&…




xewbx
Posts
717
Joined
4/1/2008
Location
USA
5/26/2008 10:47am Edited Date/Time 4/16/2016 7:05pm
jtomasik wrote:
Yeah, my son's been frequenting the Ubuntu forums. I'm trying to take the shortcut by talking to people I sort of know. Ok, a few things...
Yeah, my son's been frequenting the Ubuntu forums. I'm trying to take the shortcut by talking to people I sort of know.

Ok, a few things:

I figured out how to set the "root" password. But, if I log out of my son's account, it won't let me log in as "root" from the log in screen. Where the heck do I do that? I tried switching users, starting the machine from a shut off, and logging off from my son's account. Everytime I try the username "root" and the password, it says I can't log in as administrator from that screen.

Logging in as root is apparently necessary to install this driver. The Samsung site says so:


http://www.samsung.com/us/support/download/supportDownDetail.do?group=&…




Most of the modern distros set up a default to prevent you from logging in as root to the gui desktop based on a config in the login manager. Generally, KDE = kdm login manager, Gnome= gdm login manager, and the old standby is xdm. Any of them can be used with any gui, but normally you use the one with your particular desktop. To log into root, just hit to go to a console. You can actually use F2 to F6. F1 is the startup console, and Xwindows should be running on F7. You can toggle between at will, to get back to the gui, just hit .

From the console, log in as root. If you want to be able to log in as root in the gui, you can change it to allow it. You'd have to find the gdm or xdm config file on your own......I haven't used either in years.....so don't know exactly what you would change.

If you use KDE (the kdm login manager), you can change that by:

# cd /usr/kde/3.5/share/config/kdm (or 3.4 or whatever version you are running, Ubuntu may have a different dir structure, so you can look in /usr/kde, or maybe /opt/kde).

# cp kdmrc kdmrc.bak (in case you fuck up)

# vi kdmrc (or whatever editor you use.......I learned on vi, and over the years, learned all the key combos and commands.......so never bothered to use anything else).

You should see a line in there somewhere that says something like "allow root logins",
change it from no to yes, preserving the syntax. If you fudge the file:

# cp kdmrc.bak kdmrc

And try again.

Alternatively, you can be logged into the gui as a user, and there should be somewhere in the menu, an "su" (switch user) function. If not, you can simply open a term window from within the gui and:

# su ( or su - root, which will bring the entire root environment over) and type in your password when prompted. Then:

# xhost + (this will allow any connections to your xsession.......later on, do a RTFM xhost so you can learn more fine grained control).

Now, you can start any of the gui applications from the xterm window, use and "&" to have the process remain in the background:

# foo.sh &

If you don't know the actual executable name of a program........you can find it's menu item and click on "properties". Some distros have a function where you can right click any menu item and "run as".

jtomasik
Posts
12895
Joined
8/17/2006
Location
Golden, CO, USA
5/26/2008 11:03am
Wow. What a cluster f*ck.

I went through the steps suggested by Samsung for the Ubuntu install. So, I can't log in as root, but I try bringing up terminal with my son's account. It asks for a password, as the Ubuntu forums said it would.

I use the $ sudo cdroot/autorun command. It says a bunch of libstdc??.so.5 blah blah blah aren't found, then says install ... done. Then it gives a bunch of errors, including something about a Qt library being unavailable, but then it starts the driver install anyway, on its own. Great. It tries to install the driver with the Unified Linux Driver Installer, but it stops at about 98% mark with the CUPS portion of the install.

Then, on its own, it brings up the Add printer wizard. It says 0 printers are connected to the computer (the printer is, actually). The only radio button available is manual select, but Ubuntu help says that's for troubleshooting only.

It won't let me pick any printers from the list.

If I let it use the manual select, it has me pick a USB port, but all printer tests say that it can't find any devices on that port.



Man. What a mess.
Mr_ Money
Posts
105
Joined
4/30/2008
Location
Las Vegas, NV, USA
5/26/2008 11:11am
Type this in exactly then it will work, Or buy windows and not screw with the arcane shit.


mQGiBDuVqKgRBAD5Mcvdc41W5lpeZvYplEuyEBXwmxnUryE2KaCG1C06sGyqgiec
VPXPbgIPKOUt4veMycVoqU4U4ZNuIeCGPfUvkGKLKvy5lK3iexC1Qvat+9ek2+yX
9zFlTo9QyT4kjn+xaZQYVctL370gUNV4eoiWDdrTjIvBfQCb+bf87eHv0QCg/7xt
wnq3uMpQHX+k2LGD2QDEjUcEALalUPPX99ZDjBN75CFUtbE43a73+jtNOLJFqGo3
ne/lB8DqVwavrgQQxQqjg2xBVvagNpu2Cpmz3HlWoaqEb5vwxjRjhF5WRE+4s4es
9536lQ6pd5tZK4tHMOjvICkSg2BLUsc8XzBreLv3GEdpHP6EeezgAVQyWMpZkCdn
Xk8FA/9gRmro4+X0KJilw1EShYzudEAi02xQbr9hGiA84pQ4hYkdnLLeRscChwxM
VmoiEuJ51ZzIPlcSifzvlQBHIyYCl0KJeVMECXyjLddWkQM32ZZmQvG02mL2XYmF
/UG+/0vd6b2ISmtns6WrULGPNtagHhul+8j7zUfedsWuqpwbm7QmTWFyayBBZGxl
ciA8bWFkbGVyQGFsdW1uaS5jYWx0ZWNoLmVkdT6IWAQQEQIAGAUCO5WoqAgLAwkI
BwIBCgIZAQUbAwAAAAAKCRB4P82OWLyvunKOAJ9kOC1uyoYYiXp2SMdcPMj5J+8J
jtomasik
Posts
12895
Joined
8/17/2006
Location
Golden, CO, USA
5/26/2008 11:37am
Well, we got it, finally. For some reason, we had to go back through the system administration printer manager, not through the unified driver printer configurator. My son figured that part of it out.

Ok, on to the next step of setting up our network so any remote laptop can print through the Linux machine. This oughta be fun.
SteveS
Posts
5598
Joined
8/16/2006
Location
USA
5/26/2008 12:07pm
Yeah, this is really proving that Linux is the best and everybody should use it instead of Windows.

Post a reply to: Yet another Ubuntu thread.

The Latest