LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 05-12-2005, 10:20 PM   #1
simple
Member
 
Registered: Apr 2005
Location: Florida
Distribution: Ubuntu 5.04
Posts: 89

Rep: Reputation: 15
way newb


how do i start a new session keeping logged into my current normal one, so i can get on root and delete files i can't logged in as a user? running knoppix 3.8 and kde 3.3.2.1? maybe something like that
 
Old 05-12-2005, 10:24 PM   #2
merchtemeagle
Member
 
Registered: Oct 2004
Location: Belgium
Distribution: Slackware 13.37
Posts: 512

Rep: Reputation: 31
Open up a shell and type su. This will give you root permissions.
 
Old 05-12-2005, 10:25 PM   #3
simple
Member
 
Registered: Apr 2005
Location: Florida
Distribution: Ubuntu 5.04
Posts: 89

Original Poster
Rep: Reputation: 15
Quote:
Originally posted by merchtemeagle
Open up a shell and type su. This will give you root permissions.
yes it will, but i dont' know how to delete a folder tihs way, i was looking for a graphical interface on a new desktop...funny i learned alt+ctrl+f7 and alt+ctrl+f8 switches between the desktops, but i dont' know how to start it
 
Old 05-12-2005, 10:26 PM   #4
jailbait
LQ Guru
 
Registered: Feb 2003
Location: Blue Ridge Mountain
Distribution: Debian Jessie, Linux Mint 17
Posts: 7,750

Rep: Reputation: 271Reputation: 271Reputation: 271
"how do i start a new session keeping logged into my current normal one"

Start the new session on a second desktop. Open a terminal and su to root.

--------------------------
Steve stites
 
Old 05-12-2005, 10:27 PM   #5
simple
Member
 
Registered: Apr 2005
Location: Florida
Distribution: Ubuntu 5.04
Posts: 89

Original Poster
Rep: Reputation: 15
Quote:
Originally posted by jailbait
"how do i start a new session keeping logged into my current normal one"

Start the new session on a second desktop. Open a terminal and su to root.

--------------------------
Steve stites
but where is the new session option?
 
Old 05-12-2005, 10:28 PM   #6
merchtemeagle
Member
 
Registered: Oct 2004
Location: Belgium
Distribution: Slackware 13.37
Posts: 512

Rep: Reputation: 31
It isn't really recommended logging in as root in a graphical environment.
Type 'man bash' to learn more about the shell.
For removing files and directories:
man rm
man rmdir
 
Old 05-12-2005, 10:34 PM   #7
simple
Member
 
Registered: Apr 2005
Location: Florida
Distribution: Ubuntu 5.04
Posts: 89

Original Poster
Rep: Reputation: 15
so su, root pass, rmdir --ignore-fail-on-non-empty mozilla-firefox?
 
Old 05-12-2005, 10:36 PM   #8
simple
Member
 
Registered: Apr 2005
Location: Florida
Distribution: Ubuntu 5.04
Posts: 89

Original Poster
Rep: Reputation: 15
how about if i were wanting to login as root in a graphical desktop, how do i go hypothetically speaking...about that?
 
Old 05-12-2005, 10:37 PM   #9
merchtemeagle
Member
 
Registered: Oct 2004
Location: Belgium
Distribution: Slackware 13.37
Posts: 512

Rep: Reputation: 31
Yes, or just 'rm -r' will also do the job.

As for starting another session on another screen, I've got no clue. I only have one screen myself.
 
Old 05-12-2005, 10:39 PM   #10
simple
Member
 
Registered: Apr 2005
Location: Florida
Distribution: Ubuntu 5.04
Posts: 89

Original Poster
Rep: Reputation: 15
Quote:
rm: descend into directory `mozilla-firefox'?
rm -r mozilla-firefox comes back to that?
 
Old 05-12-2005, 10:40 PM   #11
simple
Member
 
Registered: Apr 2005
Location: Florida
Distribution: Ubuntu 5.04
Posts: 89

Original Poster
Rep: Reputation: 15
Quote:
Originally posted by simple
so su, root pass, rmdir --ignore-fail-on-non-empty mozilla-firefox?
did not remove directory
 
Old 05-12-2005, 10:41 PM   #12
merchtemeagle
Member
 
Registered: Oct 2004
Location: Belgium
Distribution: Slackware 13.37
Posts: 512

Rep: Reputation: 31
try rm -rf
 
Old 05-12-2005, 10:43 PM   #13
reddazz
LQ Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 74
You may want to use the "rm -rf" command on directories, but please be very careful when using it because you can hose your system. Also take a look at linuxcommand.org, to learn more about working with bash.
 
Old 05-12-2005, 10:45 PM   #14
simple
Member
 
Registered: Apr 2005
Location: Florida
Distribution: Ubuntu 5.04
Posts: 89

Original Poster
Rep: Reputation: 15
Quote:
Xlib: connection to ":0.0" refused by server
Xlib: No protocol specified


(firefox-installer-bin:19006): Gtk-WARNING **: cannot open display:
man, getting that when trying to install firefox 1.0.4, i delted the firefox 1.0.2 dir in /usr/lib/mozilla-firefox..
 
Old 05-12-2005, 10:50 PM   #15
simple
Member
 
Registered: Apr 2005
Location: Florida
Distribution: Ubuntu 5.04
Posts: 89

Original Poster
Rep: Reputation: 15
Quote:
Originally posted by simple
man, getting that when trying to install firefox 1.0.4, i delted the firefox 1.0.2 dir in /usr/lib/mozilla-firefox..
welp i go ahead and use the graphical installer, but i get acces denied..so i need root
Choose another directory because you do not have permission to install to: /home/simple/firefox-installer

Last edited by simple; 05-12-2005 at 10:54 PM.
 
  


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
Suse Newb: Not Linux Newb rodericj SUSE / openSUSE 9 03-25-2005 11:03 AM
newb looking for help linuxnewb001 Linux - Newbie 1 10-30-2004 10:31 PM
The first step to ascending newb status, acknowledging you're a newb :P LordRaven LinuxQuestions.org Member Intro 1 08-24-2004 06:05 PM
Newb jijesh Linux - Newbie 4 04-21-2004 07:56 PM
Newb needs help mrengc Linux - Newbie 2 01-11-2003 06:16 PM


All times are GMT -5. The time now is 04:17 PM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration