LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 11-21-2003, 04:50 PM   #1
yetwai
LQ Newbie
 
Registered: Oct 2003
Distribution: RedHat 9
Posts: 26

Rep: Reputation: 15
VNC and Reset


to anyone that can help...

i was using vnc to get access to my linux machine from school, and it worked fine... then when i restarted my machine... my whole root account got resetted... when i mean it reset... all my files weren't there in my home directory... however the programs that i had installed were still there such as vnc, or instant messenger.... so when i did 'locat vnc' it said it was in /root/.vnc but when i tried to 'cd' into that folder... it wouldn't allow me and it said no such directory...

any ideas?
 
Old 11-21-2003, 05:05 PM   #2
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 79
locate uses a database. It probably needs updating:
updatedb
 
Old 11-21-2003, 05:52 PM   #3
yetwai
LQ Newbie
 
Registered: Oct 2003
Distribution: RedHat 9
Posts: 26

Original Poster
Rep: Reputation: 15
can u explain why my account got resetted... my whole gnome desktop had nothing as it was... same w/ kde..... and xterminal is different...
it use to be something like [root XXXXX]#

now it's like bash2.3 something something....
 
Old 11-21-2003, 05:55 PM   #4
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 79
Does your root home directory exist:
ls -l /

Post the output of:
ls -la /root/
 
Old 11-21-2003, 08:17 PM   #5
yetwai
LQ Newbie
 
Registered: Oct 2003
Distribution: RedHat 9
Posts: 26

Original Poster
Rep: Reputation: 15
bash-2.05b# ls -la /root/
total 168
drwxr-x--- 20 root root 4096 Nov 21 21:14 .
drwxr-xr-x 21 501 501 4096 Nov 21 21:05 ..
-rw------- 1 root root 2194 Nov 21 21:11 .bash_history
drwx------ 3 root root 4096 Nov 21 03:01 Desktop
-rw------- 1 root root 456 Nov 21 01:51 .emacs
-rw------- 1 root root 335 Nov 21 01:50 .emacs~
drwx------ 3 root root 4096 Nov 21 01:51 .emacs.d
-rw------- 1 root root 16 Nov 21 01:20 .esd_auth
-rw-r--r-- 1 root root 24244 Nov 21 21:14 .fonts.cache-1
drwx------ 2 root root 4096 Nov 21 01:28 .gaim
-rw------- 1 root root 1173 Nov 21 21:11 .gaimrc
drwx------ 5 root root 4096 Nov 21 21:06 .gconf
drwx------ 3 root root 4096 Nov 21 21:12 .gconfd
drwx------ 6 root root 4096 Nov 21 01:43 .gnome
drwx------ 5 root root 4096 Nov 21 15:43 .gnome2
drwx------ 2 root root 4096 Nov 21 01:36 .gnome2_private
drwxr-xr-x 2 root root 4096 Nov 21 01:43 .gnome-desktop
drwx------ 2 root root 4096 Nov 21 01:27 .gnome_private
-rw-r--r-- 1 root root 130 Nov 21 01:36 .gtkrc-1.2-gnome2
-rw-r--r-- 1 root root 1119 Nov 21 03:01 .gtkrc-kde
-rw------- 1 root root 1815 Nov 21 21:06 .ICEauthority
drwx------ 4 root root 4096 Nov 21 03:01 .kde
drwxr-xr-x 3 root root 4096 Nov 21 03:01 .mcop
-rw------- 1 root root 31 Nov 21 03:01 .mcoprc
drwx------ 3 root root 4096 Nov 21 01:43 .metacity
drwxr-xr-x 3 root root 4096 Nov 21 01:47 .mozilla
drwxr-xr-x 3 root root 4096 Nov 21 01:43 .nautilus
drwxr-xr-x 2 root root 4096 Nov 21 01:19 .qt
-rw------- 1 root root 458 Nov 21 03:31 .recently-used
-rw------- 1 root root 497 Nov 21 01:43 .rhn-applet.conf
-rw------- 1 root root 52 Nov 21 02:17 .twm5DdQBC
-rw------- 1 root root 52 Nov 21 02:19 .twmO1GZOU
-rw------- 1 root root 52 Nov 21 02:05 .twmXez8TL
drwxr-xr-x 2 root root 4096 Nov 21 02:18 .var
drwxr-xr-x 2 root root 4096 Nov 21 10:55 .vnc
-rw------- 1 root root 625 Nov 21 21:06 .Xauthority
-rw------- 1 root root 233 Nov 21 21:11 .xsession-errors


i use to have other folders in there... that .vnc directory, i recreated it.... i also never had that bash2.05b prompt before... i always had [root@localhost directory]
 
Old 11-22-2003, 08:26 AM   #6
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 79
It looks like some files have been wiped try copying he skel files:
cp /etc/skel/.b* /root/

That should sort your prompt when you login again. I really wouldn't advise running VNC as root for secuity reasons but if you need to then try running vncserver again.
 
Old 11-22-2003, 08:56 AM   #7
jonob
LQ Newbie
 
Registered: Nov 2003
Posts: 5

Rep: Reputation: 0
remote software

I am new to linux , and have mandrake/ vnc on my laptop trying to view a vnc enabled win 2000 sever .
however much i try i cannot find a way to ctrl-alt-del to lon on the windows machine .
it is enabled ok on that machine , and i can view th desktop , but cannot find a way at all .
people talk about clcking on somthing in the top left corner , but i dunno wat they mean .
mandrake 9.2 comes with annother remote tool , which has an ico of a blue"eye"
but for some reason it hasnt installed , or if it it has i dunno what it is called and cannot find it on the machine .
when i try to add more packages there are no remote ones left to install.
know this package exists because i used it a few days ago before i had to reinstall.
can anyone please help ?

Jono
 
Old 11-22-2003, 09:34 AM   #8
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 79
jonob, Please start a new therad for a new question. It heps the person starting the thread get the help they want. To send Ctrl AlT Del to the windows machine press the F8 key will in VNC and you should get a box with options pop up. One should be Ctrl Alt Del.
 
Old 11-23-2003, 11:21 AM   #9
yetwai
LQ Newbie
 
Registered: Oct 2003
Distribution: RedHat 9
Posts: 26

Original Poster
Rep: Reputation: 15
david_ross.... thanks... the cp /etc/skel/.b* /root/ fixed my prompt and set it back to how it originally was... am i going to assume that i can't get back my originals files
 
Old 11-23-2003, 02:19 PM   #10
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 79
It is unlikely without performing some sort of data recovery.
 
Old 11-24-2003, 10:51 AM   #11
yetwai
LQ Newbie
 
Registered: Oct 2003
Distribution: RedHat 9
Posts: 26

Original Poster
Rep: Reputation: 15
is there a reason why all my stuff vanished and my whole desktop got changed? or is it just a fluke?
 
Old 11-24-2003, 02:22 PM   #12
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 79
I would guess that you probably deleted it but I could be wrong. It is a very bad idea to login to X as root for this very reason.
 
  


Reply



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
Reset Button glj Linux - General 10 07-14-2008 04:05 PM
Password reset hongman Linux - Newbie 2 07-11-2005 05:46 AM
need VNC to allow 'logout/login' from Gnome (gnome & VNC runs fine) spudler Linux - Networking 3 11-14-2004 10:02 AM
how do i reset my ip? i_is_cat Linux - Newbie 8 07-31-2003 03:22 AM
VNC - Selecting different WindowManagers with VNC cmfarley19 Linux - Software 0 04-16-2003 02:30 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 07:22 AM.

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
Open Source Consulting | Domain Registration