LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
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 01-19-2005, 01:34 PM   #1
Guvvy
Member
 
Registered: Feb 2002
Location: Central Oregon
Distribution: Debian 3.0 - "Woody"
Posts: 39

Rep: Reputation: 15
XFree question


How will I know if I have XFree86 installed and working. Does it switch to a GUI right away or do I have to install Gnome, kde, etc to find out IF I have a GUI?

Another dumb question:

When I mount a cdrom, I can 'cd /cdrom' and see the files on it. If I mount fd0, how come I can't do the same with it. I get "fd0 is not a directory"

I have no printer on my linux box and wish to print out a document. I would like to copy this document to a MS-DOS file system floppy and take the floppy to my Windows system and print out the document. Any information on how to do this would be appreciated (especially - how to make a MS-DOS fs floppy)
 
Old 01-19-2005, 02:04 PM   #2
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910
Re: XFree question

Quote:
Originally posted by Guvvy
How will I know if I have XFree86 installed and working. Does it switch to a GUI right away or do I have to install Gnome, kde, etc to find out IF I have a GUI?
No, it won't switch on a GUI right away ... I'd suggest that
you try to run startx and see what happens.


Quote:
When I mount a cdrom, I can 'cd /cdrom' and see the files on it. If I mount fd0, how come I can't do the same with it. I get "fd0 is not a directory"
Maybe it's called /floppy or /mnt/floppy, or /mnt/fd0 ...
Have a look in your /etc/fstab to learn more about
your system ;)


Quote:
I have no printer on my linux box and wish to print out a document. I would like to copy this document to a MS-DOS file system floppy and take the floppy to my Windows system and print out the document. Any information on how to do this would be appreciated (especially - how to make a MS-DOS fs floppy)
Once you find your floppy's mount-point you
can mount it and then copy your files onto it.

If the /etc/fstab says auto for the fd's file-system
all you need to do is put in a DOS formatted
floppy ... if you don't have one read "man mkdosfs"


Cheers,
Tink
 
Old 01-19-2005, 02:05 PM   #3
jonaskoelker
Senior Member
 
Registered: Jul 2004
Location: Denmark
Distribution: Ubuntu, Debian
Posts: 1,524

Rep: Reputation: 47
try rebooting the machine first

seriously, try running 'startx', 'gdm' or 'xdm'. If none are present, you don't have a gui. If they give you error messages, those should give you a hint; otherwise, post them here.

Jonas

personal POV: use debian/testing instead of /stable. It doesn't come collapsing down on you, so don't worry
 
Old 01-19-2005, 02:51 PM   #4
Guvvy
Member
 
Registered: Feb 2002
Location: Central Oregon
Distribution: Debian 3.0 - "Woody"
Posts: 39

Original Poster
Rep: Reputation: 15
Interesting!

I ran "startx" and it came up with a hash-like screen with three(3) separate windows on it - two labeled 'x-term' and one labeled 'login' ..... now what? It looks like my monitor is going flat out in a 1280x1024 mode - how can I change this? There doesn't appear to be any color - just various gray-scales.

Thanks so far
 
Old 01-19-2005, 03:04 PM   #5
jonaskoelker
Senior Member
 
Registered: Jul 2004
Location: Denmark
Distribution: Ubuntu, Debian
Posts: 1,524

Rep: Reputation: 47
try typing 'apt-get install synaptic' in the xterm as root. iirc, synaptic (which is a gui frontend to apt) requires gnome, so apt-get should automatically download it too (after asking you). Also, try 'apt-get install gnome-desktop-environment'
 
Old 01-19-2005, 03:06 PM   #6
Guvvy
Member
 
Registered: Feb 2002
Location: Central Oregon
Distribution: Debian 3.0 - "Woody"
Posts: 39

Original Poster
Rep: Reputation: 15
Wonderful!

It is called "floppy" - and I was able to mount and look at the files on it Thanks.

Incidently, what I did was to "gunzip -c README.gz>/dev/fd0".
This caused some floppy activity but when I tried to read the floppy on my windows box, it (windows) balked. Should I have included the file-name 'README.gz' after the re-direct?
 
Old 01-19-2005, 03:18 PM   #7
jonaskoelker
Senior Member
 
Registered: Jul 2004
Location: Denmark
Distribution: Ubuntu, Debian
Posts: 1,524

Rep: Reputation: 47
/dev/fd0 isn't just like a folder, it represents the entire floppy, including file system information. It's very likely that you overwrote some part of that, thus rendering the data useless (unless you got a raw data extractor for windows).

The 'real way' to do what you want is like this:
$ su
(do your thing)
$ mkdir /floppy
$ mount /dev/fd0 /floppy
$ cp some.tar.gz /floppy
$ umount /floppy
(now you can remove the disk, and it should all work just fine
 
Old 01-19-2005, 06:07 PM   #8
Guvvy
Member
 
Registered: Feb 2002
Location: Central Oregon
Distribution: Debian 3.0 - "Woody"
Posts: 39

Original Poster
Rep: Reputation: 15
Thanks all for the inputs

I was able to read my floppy file in Windows and I now have xwindows to some degree. I would like to know how to re-configure xwindows. All that happens when I "XFree86 -configure" is it does a bunch of something, reports back that I have no mouse and says I should edit a file - doesn't say what file - then dumps me back at the command line.

Running "startx" puts me in xwindows WITH a mouse but in gray-scale and 1280 x 1024 mode. I would like color and a different resolution.........
 
Old 01-19-2005, 06:12 PM   #9
jonaskoelker
Senior Member
 
Registered: Jul 2004
Location: Denmark
Distribution: Ubuntu, Debian
Posts: 1,524

Rep: Reputation: 47
dpkg-reconfigure x-server-xfree86
 
Old 01-19-2005, 06:13 PM   #10
jonaskoelker
Senior Member
 
Registered: Jul 2004
Location: Denmark
Distribution: Ubuntu, Debian
Posts: 1,524

Rep: Reputation: 47
sorry, it's 'xserver-xfree86'
 
Old 01-19-2005, 06:26 PM   #11
jschiwal
LQ Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 671Reputation: 671Reputation: 671Reputation: 671Reputation: 671Reputation: 671
One last point you probably know already. Before ejecting the floppy, you need to unmount it so that everything is written from the cache.
 
Old 01-19-2005, 08:16 PM   #12
Guvvy
Member
 
Registered: Feb 2002
Location: Central Oregon
Distribution: Debian 3.0 - "Woody"
Posts: 39

Original Poster
Rep: Reputation: 15
Thx Jonas

I did a "dpkg -reconfigure xserver-xfree86" ....and got a

So I checked dpkg's commands - nothing about 'reconfigure'

Subsequently, I did a "dpkg -iEG xserver-xfree86" .....and got "No such file or directory"

Did a search for "xserver" & found two(2)ea. 'xserver' directories - neither had a file by the name of "xfree86"

Did a search for "xfree86" ..... again, no such file or directory.

Visited "www.Xfree.org" but could find no package (or file) by the name of "xfree86"

Originally, when I downloaded the file from "www.XFree.org" it never mentioned anything about downloading companion files.

Any suggestions?
 
Old 01-20-2005, 12:17 AM   #13
jonaskoelker
Senior Member
 
Registered: Jul 2004
Location: Denmark
Distribution: Ubuntu, Debian
Posts: 1,524

Rep: Reputation: 47
my bad, I did as misspelling. it's:

dpkg-reconfigure xserver-xfree86
 
  


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
What the XFree is? alaios Linux - Newbie 2 12-16-2004 05:06 PM
Xfree and slackware 10 newb question HeavyGear Slackware 6 09-14-2004 09:25 AM
Updating XFree while running XFree? Micro420 Mandriva 7 02-18-2004 01:48 PM
help with xfree dist0rtedvision Slackware 4 06-17-2002 05:12 PM
Xfree Cyth Linux - General 2 12-19-2001 10:26 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 03:57 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