LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 01-06-2005, 10:34 AM   #16
terfy
Member
 
Registered: Jan 2005
Location: Denmark
Distribution: openSUSE
Posts: 165

Original Poster
Rep: Reputation: 30

I could upgrade more today, and I did it.. And it actually helped with the screensize.. I can now choose up to 1024x768 at 60hz..

Strange, cause in windows I can use my monitor with 75Hz at that size..
I usually use 1280x1024 pixels in windows.. So.. A little more fixing, and I'm there.. I hope..

nomatter how much I try with /etc/X11/XF86Config-4 it just don't work. either in superuser mode..

AND where can I get a macromedia flash plugin and java ??
 
Old 01-06-2005, 10:38 AM   #17
terfy
Member
 
Registered: Jan 2005
Location: Denmark
Distribution: openSUSE
Posts: 165

Original Poster
Rep: Reputation: 30
debian:/home/terfy# dexconf

debconf: kunne ikke klargøre grænseflade: Kde
debconf: (Can't locate Qt.pm in @INC (@INC contains: /etc/perl /usr/local/lib/perl/5.8.4 /usr/local/share/perl/5.8.4 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.8 /usr/share/perl/5.8 /usr/local/lib/site_perl .) at /usr/share/perl5/Debconf/FrontEnd/Kde/Wizard.pm line 7.)
debconf: falder tilbage på grænseflade: Dialog

debian:/home/terfy#

why ?? is it because Im running kde while I do it ??
 
Old 01-06-2005, 02:34 PM   #18
Dead Parrot
Senior Member
 
Registered: Mar 2004
Distribution: Debian GNU/kFreeBSD
Posts: 1,597

Rep: Reputation: 46
The dexconf program should just write info from debconf to the X config file. (See the man page for dexconf.) I'm not KDE user so I cannot say what's wrong with your KDE configuration. Maybe you've used KDE's tools to configure X and that causes problems? You could install the gkdebconf package (and libgnome2-perl) and see if there are any KDE related packages you could reconfigure with gkdebconf.

The best way to configure X is to find out the actual horizontal and vertical refresh rates for your monitor and use dpkg-reconfigure xserver-xfree86 (choosing the advanced option) to input that info for debconf -- and maybe use dexconf to output the info into the X config file, if needed. (If you've installed msttcorefonts, you need to add the fontpath manually to XF86Config-4.) To find the correct HorizSync and VertRefresh, you can do a google search with your monitor's name and model and with keywords "horizontal" and "vertical". If you've got a relatively new monitor, you should be able to find the specs easily.

For flash (and for msttcorefonts) you need to mention the "contrib" section in /etc/apt/sources.list. For java add this line to sources.list:
deb ftp://ftp.tux.org/java/debian/ unstable non-free

Last edited by Dead Parrot; 01-06-2005 at 02:35 PM.
 
Old 01-06-2005, 04:39 PM   #19
terfy
Member
 
Registered: Jan 2005
Location: Denmark
Distribution: openSUSE
Posts: 165

Original Poster
Rep: Reputation: 30
thank.. but I don't know how to "mention" the contrib in /etc/apt/sources.list
I'm not that familiar with apt-get though..

I'll try tha java thing..
 
Old 01-06-2005, 04:58 PM   #20
Dead Parrot
Senior Member
 
Registered: Mar 2004
Distribution: Debian GNU/kFreeBSD
Posts: 1,597

Rep: Reputation: 46
Well, the most important line in sources.list looks something like this:
deb ftp://ftp.debian.org/debian/ unstable main contrib non-free
(except if you're using testing or stable, replace "unstable" with that). But sometimes the "contrib non-free" part is not there by default (only "main") and you need to add it if you want to make some non-free packages available. Oh, and the sources.list line for java in my earlier post points to unstable because that's what I use -- but testing and stable versions are also available.
 
Old 01-06-2005, 06:43 PM   #21
terfy
Member
 
Registered: Jan 2005
Location: Denmark
Distribution: openSUSE
Posts: 165

Original Poster
Rep: Reputation: 30
Is it normal that you only can access almost every directories in HDD as root ???

I don't see how I can change/edit'em just with loggin in as root in a console.. Do I really have to logout and then login as root every time to make changes in my directories ??
 
Old 01-07-2005, 03:24 AM   #22
Dead Parrot
Senior Member
 
Registered: Mar 2004
Distribution: Debian GNU/kFreeBSD
Posts: 1,597

Rep: Reputation: 46
Root user is the system administrator on a multiuser computer. Every process that is started by the root user will have root user's privileges to make system wide changes. And these processes may start child processes that will also inherit the root user's privileges. For this reason it is relatively easy to mess up a Linux system if you start too many simultaneous processes as a root user. Linux systems are designed to work best if processes are started by users with limited permissions to access the system. This ensures that important processes are not interrupted by less important processes and your Linux system will stay stable under all conditions. So the less you spend time as the root user the better.

In Windows too many processes have been traditionally given direct kernel access and users have been allowed unlimited privileges. Now you can compare how easily the Windows 9x series used to crash and how stable Linux systems are. WindowsXP has learned some things from Unix-like systems but Linux (if correctly used) is still much more stable than Windows. Let's keep it that way, OK?

You can use "su" or "sudo" commands to get temporary root privileges. For using "sudo" you need to belong to the sudo group and there's /etc/sudoers file that defines what the sudo group members are allowed to do. The command "su -c" is in effect the same as "sudo" -- both can be used to execute a single command with root user's privileges. (Read the man pages for su, sudo, and sudoers if you have some extra time.)

To be able to launch GUI applications with root privileges you may need to create a symlink from normal user's ~/.Xauthority file to root user's home directory. Like this:
Code:
su -c "ln -fs /home/your_user_name/.Xauthority /root/.Xauthority"
where "your_user_name" is, of course, your user name.
 
Old 01-07-2005, 04:05 AM   #23
yotamk
Member
 
Registered: Nov 2004
Location: ~
Distribution: Debian
Posts: 145

Rep: Reputation: 15
Why no just launch from console.
i.e. switch to super user (su -> pass), and than call the application (with GUI).
"gedit /etc/X11/XFConfig86-4"
?
 
Old 01-07-2005, 04:33 AM   #24
Dead Parrot
Senior Member
 
Registered: Mar 2004
Distribution: Debian GNU/kFreeBSD
Posts: 1,597

Rep: Reputation: 46
Yes, that's what I meant. Launch GUI apps with root privileges from the command line (xterm or similar). You can use "su", "su -c", or "sudo" for this.

But if you start your X session with xauth authorization (like you should), you need to link normal user's and root user's ~/.Xauthority files -- otherwise you'll just receive error messages and the GUI app won't launch. XDM and it's derivatives use xauth by default.
 
Old 01-07-2005, 04:49 AM   #25
yotamk
Member
 
Registered: Nov 2004
Location: ~
Distribution: Debian
Posts: 145

Rep: Reputation: 15
"...start your X session with xauth authorization (like you should)"

Hey Parrot, can you shortly explain about xauth authorization and why should it be used upon starting X?

Thanks.
 
Old 01-07-2005, 05:33 AM   #26
terfy
Member
 
Registered: Jan 2005
Location: Denmark
Distribution: openSUSE
Posts: 165

Original Poster
Rep: Reputation: 30
Thanks ya'all.

It helped a lot... And I'm a bit smarter with linux, thanks to you all..

My resolution is now working much better than in windows acually.. I can get a 1280x1024 with 85Hz here in linux, when I just could get a 75Hz at same size.. wauw, thanks linux.. (I found the vertical+horisontal frequenses my monitor use at google.com and typed them in the settings.. and it just worked.. AFTER I upgraded the system..)

but It works now.. thats great..

I too installed Macromedias Flash-plugin, not by apt-get, but followed the install-instructions from their homesite, wich was quite easy.. just download, unpack, use command line to go to the unpacked location and typing a ./install command and wupti.. It was now installed.. THATS what I call easy..

now I just need to install java, then my system is almost perfect..


by the way.. what is the best way to run games (like doom3, farcry, simcity4) in linux ?? and with wich packages/applications ?

after my system has been upgraded it seems thats linux has installed my graphic-card driver and named my graphic card its name.. all automatically..
cool..

terfy..

Last edited by terfy; 01-07-2005 at 05:38 AM.
 
Old 01-07-2005, 05:37 AM   #27
Dead Parrot
Senior Member
 
Registered: Mar 2004
Distribution: Debian GNU/kFreeBSD
Posts: 1,597

Rep: Reputation: 46
Quote:
Hey Parrot, can you shortly explain about xauth authorization and why should it be used upon starting X?
Basically xauth guards your X session so that other people cannot login and launch applications without your permission. For every session xauth writes a "magic cookie" into your ~/.Xauthority file and uses it to check that only the user who first logged in can launch GUI apps. But this causes a problem when the "su" command changes the current user to some other user (usually to root user). If the root user's ~/.Xauthority file is just a symlink to the normal user's ~/.Xauthority file, these files will always have identical "magic cookie" and so xauth will allow root to execute GUI apps. There's a man page for xauth, in case you want to read more details.
 
Old 01-07-2005, 09:06 AM   #28
terfy
Member
 
Registered: Jan 2005
Location: Denmark
Distribution: openSUSE
Posts: 165

Original Poster
Rep: Reputation: 30
okay, I installed java with dselect.. not the sdk-version. just the standard version..

It is installed now, and I even have restarted my computer, but when I surf into websites where there is javacontent, it just show the logo as it should, but nothing more.. and then the browser is shutting down (crash)

how can I fix this problem ??
 
Old 01-07-2005, 09:40 AM   #29
Dead Parrot
Senior Member
 
Registered: Mar 2004
Distribution: Debian GNU/kFreeBSD
Posts: 1,597

Rep: Reputation: 46
The java packages that are available from ftp.tux.org are j2sdk1.4 and j2re1.4. You can use the dpkg command with the -l option (dpkg -l | grep j2) to see if you've got either of these java packages actually installed. If you use a Mozilla-based webbrowser, type about:plugins in the address space (and press Enter) to see all installed plugins.
 
Old 01-07-2005, 09:47 AM   #30
terfy
Member
 
Registered: Jan 2005
Location: Denmark
Distribution: openSUSE
Posts: 165

Original Poster
Rep: Reputation: 30
Quote:
Originally posted by Dead Parrot
The java packages that are available from ftp.tux.org are j2sdk1.4 and j2re1.4. You can use the dpkg command with the -l option (dpkg -l | grep j2) to see if you've got either of these java packages actually installed. If you use a Mozilla-based webbrowser, type aboutlugins in the address space (and press Enter) to see all installed plugins.
in aboutlugins there is a huge bunch of java enabled services..
 
  


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
Installing fglrx on a Debian System vharishankar Debian 8 01-27-2005 01:49 PM
How do you keep your system clean? darkleaf Debian 8 10-12-2004 04:13 PM
Final questions before installing debian wae Debian 2 10-20-2003 07:56 AM
questions about installing debian GloVe Linux - General 1 09-29-2003 10:07 AM
Basic Clean System Questions? Boggit Linux - Newbie 1 06-30-2003 01:12 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

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