DebianThis forum is for the discussion of Debian Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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 ??
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 ??
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.
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.
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 ??
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.
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.
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..
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.
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)
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.
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..
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.