Re: Desktop sharing question

2014-07-25 Thread Nelson Green
On Fri, Jul 25, 2014 at 2:03 AM, Andrei POPESCU
 wrote:
> On Jo, 24 iul 14, 10:36:47, Nelson Green wrote:
>> Good morning all,
>>
>> I have a new, novice Debian user running the XFCE desktop on his PC. I
>> would like to be able to share his desktop to me so that I can see
>> what he is seeing and offer instruction and advice. I have used VNC to
>> connect to a different X screens, but I'm not sure how to arrange
>> things so that we can both see the same screen a the same time. I'm
>> not necessarily interested in being able to control his session, just
>> to see what he sees. Would someone mind pointing me towards some
>> learning material regarding how to do this?
>
> apt-cache show x11vnc

Thanks Andrei. I had looked through the VNC offerings but I managed to
miss this one. It too looks promising. I will work on this over the weekend.

>
> Kind regards,
> Andrei
> --
> http://wiki.debian.org/FAQsFromDebianUser
> Offtopic discussions among Debian users and developers:
> http://lists.alioth.debian.org/mailman/listinfo/d-community-offtopic
> http://nuvreauspam.ro/gpg-transition.txt


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: 
https://lists.debian.org/cago-kzk6ba8esoadi_g-vbx_hsohsyxjzmzvau3vchykfrf...@mail.gmail.com



Re: Desktop sharing question

2014-07-25 Thread Nelson Green
On Thu, Jul 24, 2014 at 10:52 AM, B  wrote:
> On Thu, 24 Jul 2014 10:36:47 -0500
> Nelson Green  wrote:
>
>> Good morning all,
>
> Good afternoon alone,
>
>> PC. I would like to be able to share his desktop to me so that I
>> can see what he is seeing and offer instruction and advice. I have
>
> Use X2GO (x2go.org), it includes a 'desktop sharing' function
> and just need an access to the SSH port. Furthermore, is uses
> NX libraries, greatly accelerating graphic transfers (compared
> yo VNC).
> You can also access it without a password (you'll need the
> other side 'id_rsa' private key, though).

This looks promising. I will do some reading and see if I can get
something set up this weekend.

Thanks!


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: 
https://lists.debian.org/CAGo-KZn6V=HK9=4=JaNWq6fy4NOM9=MsY+AX9O0z=uaeov+...@mail.gmail.com



Desktop sharing question

2014-07-24 Thread Nelson Green
Good morning all,

I have a new, novice Debian user running the XFCE desktop on his PC. I
would like to be able to share his desktop to me so that I can see
what he is seeing and offer instruction and advice. I have used VNC to
connect to a different X screens, but I'm not sure how to arrange
things so that we can both see the same screen a the same time. I'm
not necessarily interested in being able to control his session, just
to see what he sees. Would someone mind pointing me towards some
learning material regarding how to do this?

Thanks,
Nelson


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: 
https://lists.debian.org/cago-kzmh8tmgmofefazkwvsf6520zbilaf5mj0c_fbe7zlw...@mail.gmail.com



Re: [SOLVED] Windows and UTC system time (was: no subject)

2014-07-05 Thread Nelson Green
On Sat, Jul 5, 2014 at 5:56 PM, Bob Proulx  wrote:

> Nelson Green wrote:
> > Thanks Thierry, but I am afraid I have to leave the windows
> > installation alone.  Fortunately I rarely have to mess with windows,
> > and as a general rule I don't lower my standards to theirs, but in
> > this case I have no choice, at least until we can eliminate windows
> > from the equation completely.
>
> In that case you can tell Debian that the hardware clock is in local
> time.  It doesn't solve the problem because twice a year when DST
> comes and goes what usually happens is that Windows resets the clock
> and therefore it gets set forward and back twice.  But in between
> those days it works to coexist with Windows local time view.
>
> But...  Read the man page for rcS and then edit /etc/adjtime and set
> LOCAL there.
>
>   man rcS
>

Boy do I feel dumb. I didn't even realize there was a man page for rcS.
Thanks
for pointing that out (I really did start with man).


>
>   editor /etc/adjtime
>   ... change UTC to LOCAL ...
>

Yes, this is exactly what I needed. I will deal with DST when that need
arises,
but I'm hopeful that we can be done with windows by then.

Thanks!


>
> Bob
>


Re: Windows and UTC system time (was: no subject)

2014-07-05 Thread Nelson Green
On Sat, Jul 5, 2014 at 3:01 PM, Thierry de Coulon 
wrote:

> On Saturday 05 July 2014 21.38:46 Nelson Green wrote:
> > Good afternoon,
> >
> > This morning I had the mis-fortune of creating a dual-boot system with
> > Debian on
> > a machine that already had windows installed on. I installed a second
> hard
> > drive, installed Debian, and almost everything works. But I apparently
> told
> > the
> > installer that the system clock is set to UTC, when it is not (because
> > windows
> > has no real concept of time).
>
> That's not true.


Actually it is. As a former windows system administrator, I can assure you
that
micro$oft is a lot more interested in bringing the world to their way of
thinking than following well-designed, logical practices and standards.
Just one
of the many reasons I abandoned that quagmire of a system.


> For some reason M$ makes it very complicated, but I have a
> dual boot system and I have Windows 7 running with system clock set at UTC.
>
> Look on the web and you should find how. I find it's a lot better than to
> run
> Linux in local time, as far as I am concerned.
>

Thanks Thierry, but I am afraid I have to leave the windows installation
alone.
Fortunately I rarely have to mess with windows, and as a general rule I
don't
lower my standards to theirs, but in this case I have no choice, at least
until
we can eliminate windows from the equation completely.


>
> Thierry
>
>
> --
> To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
> with a subject of "unsubscribe". Trouble? Contact
> listmas...@lists.debian.org
> Archive: https://lists.debian.org/201407052201.05206.tcou...@decoulon.ch
>
>


Re: Tell Debian to use local time?

2014-07-05 Thread Nelson Green
(Added inadvertently omitted subject)

On Sat, Jul 5, 2014 at 3:01 PM, Erwan David  wrote:

> Le 05/07/2014 21:38, Nelson Green a écrit :
> > Good afternoon,
> >
> > This morning I had the mis-fortune of creating a dual-boot system with
> > Debian on
> > a machine that already had windows installed on. I installed a second
> hard
> > drive, installed Debian, and almost everything works. But I apparently
> > told the
> > installer that the system clock is set to UTC, when it is not (because
> > windows
> > has no real concept of time).
> >
> > So when I boot to windows the displayed time is the actual local time,
> > but when
> > I boot into Debian the displayed time is four hours behind local time.
> > If I do a
> > date -u the time that is displayed is the correct local time.
> >
> > I have modified /etc/adjtime and removed the UTC line, but every time
> > I boot up
> > Debian the line re-appears, and the displayed time is still four hours
> > behind.
> > So how do I tell the Debian system that the hardware clock is set to
> > local time
> > in an effort to compensate for the lessor system's inability to
> > correctly manage
> > time?
> >
> > Thanks,
> > Nelson
>
> You can tell windows to use UTC internally (while still displaying local
> time)
> see
>
> http://www.experts-exchange.com/OS/Microsoft_Operating_Systems/Windows/2000/Q_21805674.html
>
>
Thanks Erwan, but I am afraid I have to leave the windows installation
alone.
Fortunately I rarely have to mess with windows, and as a general rule I
don't
lower my standards to theirs, but in this case I have no choice, at least
until
we can eliminate windows from the equation completely.


>
> --
> To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
> with a subject of "unsubscribe". Trouble? Contact
> listmas...@lists.debian.org
> Archive: https://lists.debian.org/53b859a1.6060...@rail.eu.org
>
>


[no subject]

2014-07-05 Thread Nelson Green
Good afternoon,

This morning I had the mis-fortune of creating a dual-boot system with
Debian on
a machine that already had windows installed on. I installed a second hard
drive, installed Debian, and almost everything works. But I apparently told
the
installer that the system clock is set to UTC, when it is not (because
windows
has no real concept of time).

So when I boot to windows the displayed time is the actual local time, but
when
I boot into Debian the displayed time is four hours behind local time. If I
do a
date -u the time that is displayed is the correct local time.

I have modified /etc/adjtime and removed the UTC line, but every time I
boot up
Debian the line re-appears, and the displayed time is still four hours
behind.
So how do I tell the Debian system that the hardware clock is set to local
time
in an effort to compensate for the lessor system's inability to correctly
manage
time?

Thanks,
Nelson


ssh tunnel help

2013-05-22 Thread Nelson Green
Hello all,

Seems I'm a bit brain dead this morning, and I'm having difficulty
remembering how to set up an ssh tunnel to our development server through
the public facing system

I can ssh into pub1 just fine, and from that shell I can ssh into the
development server, dev1. What I want to do is to be able to open a
terminal on my local machine and connect my psql client directly to that
development server, on it's port 5432. So I want to be able to locally run
a command similar to:
 [me@mymachine]$ psql -U dbusername -h dev1 -p xxx
where, if I remember correctly, xxx is the port I tunnel into the public
system on.

I know I've done this before, but since I rarely work from home like this
I've forgotten the steps. Would someone care to enlighten me?

On a related note, how do I kill the tunnel after I am done with it. I've
just killed the process in the past, but I'm wondering if there is not a
more elegant way?

On a totally unrelated note, I have two old Compaq DL-580 G1s and a few 9GB
drives that can go with them. Would any of that be of any value to the
Debian project? If so, feel free to point me to a contact person. An
off-list reply is perfectly fine.

 Thanks,
 Nelson


SOLVED save time output to a script variable (was RE: unexpected script output)

2012-12-19 Thread Nelson Green

> Thanks Dave!
>
> PS, I'm getting ready to post a request for help in capturing the output of 
> time
> to a script variable. I can't seem to make it work despite many different
> attempts. I don't think that's a dash issue, but if you know that it is, let 
> me
> know.

Well, that didn't take long. I'm posting a simple script that captures the
system time output of the time command to a variable in case anyone else
has spent a good bit of time trying to get this to work, like me. This works
even if /bin/sh is linked to /bin/dash, so my assumption appears to have
been correct.

$cat gettime.sh 
#!/bin/sh

##
# Script CONSTANTS:  #
##
BLOCKSIZE=1
INFILE="/dev/urandom"
OUTFILE="/tmp/random.$RANDOM"
TIME_CMD="/usr/bin/time"
TIME_FORMAT="%S"

##
# Exit status codes: #
##
E_BAD_CLEANUP=65
SUCCESS=0

##
# Script Variables:  #
##
blockcount=1000

totaltime=$(/usr/bin/time -f $TIME_FORMAT dd if=$INFILE of=$OUTFILE 
bs=$BLOCKSIZE \
   count=$blockcount status=noxfer 2>&1 | sed -e "1,2d")

echo "Total time: $totaltime"

# CLEAN-UP:
if [ -e $OUTFILE ]
then
   rm -f $OUTFILE || exit $E_BAD_CLEANUP
fi

exit $SUCCESS

Script output:
$ sh gettime.sh
Total time: 0.74

PS The reason I started the original post was because I noticed
OUTFILE was being defined as random. instead of random.
so I wanted to track that down first.
  

--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/bay160-w503a34705a43c9c85900bbad...@phx.gbl



RE: unexpected script output

2012-12-19 Thread Nelson Green

> On Dec 19, 2012, at 9:07 AM, David Guntner wrote:
>
> > 'Cause /bin/sh points to dash, not bash, in Debian.
>
> In squeeze, but not in lenny. It's bash in lenny:
>
> > ls -la /bin/sh
> > lrwxrwxrwx 1 root root 4 Oct 27 14:09 /bin/sh -> dash
>
> > ls -la /bin/sh
> > lrwxrwxrwx 1 root root 4 2008-11-26 11:33 /bin/sh -> bash
>
> (Note dates...)
>
> --
> Glenn English

And in Wheezy, which is what I'm using.here.
  

--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/bay160-w13eb4cc2833290e423b77ead...@phx.gbl



RE: unexpected script output

2012-12-19 Thread Nelson Green

> Nelson Green grabbed a keyboard and wrote:
> >
> > Good morning,
> >
> > Can anyone help me understand why the following two console commands each
> > produce output, but only one of them produces output when both are called 
> > in a
> > shell script?
> >
> > $ /bin/echo "Shell: $SHELL"
> > Shell: /bin/bash
> > $ /bin/echo "Random: $RANDOM"
> > Random: 29707
> >
> > $ cat output.sh
> > #!/bin/sh
> > /bin/echo "Shell: $SHELL"
> > /bin/echo "Random: $RANDOM"
> >
> > $ sh output.sh
> > Shell: /bin/bash
> > Random:
> >
> > Why is there no output from the call to $RANDOM in the script?
>
> 'Cause /bin/sh points to dash, not bash, in Debian.
>
> $ ls -la /bin/sh
> lrwxrwxrwx 1 root root 4 Nov 20 07:44 /bin/sh -> dash*
>
> Change your shebang line to #!/bin/bash to make it work right and then
> set the executable bit on the script. Then you can just do ./output.sh
> to get the expected results (don't do "sh output.sh," since that will
> just invoke /bin/sh which points you back to dash).
>
> --Dave

Oops, I thought I had already linked /bin/sh to /bin/bash, but I hadn't. I do
not like dash, and I have to use bash on a lot of non-Debian systems, so I try
to keep my environment as similar as I can all the way around.

Thanks Dave!

PS, I'm getting ready to post a request for help in capturing the output of time
to a script variable. I can't seem to make it work despite many different 
attempts. I don't think that's a dash issue, but if you know that it is, let me
know.
  

--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/bay160-w40aea2909cc5573a9621aaad...@phx.gbl



unexpected script output

2012-12-19 Thread Nelson Green

Good morning,

Can anyone help me understand why the following two console commands each
produce output, but only one of them produces output when both are called in a
shell script?

$ /bin/echo "Shell: $SHELL"
Shell: /bin/bash
$ /bin/echo "Random: $RANDOM"
Random: 29707

$ cat output.sh
#!/bin/sh
/bin/echo "Shell: $SHELL"
/bin/echo "Random: $RANDOM"

$ sh output.sh
Shell: /bin/bash
Random:

Why is there no output from the call to $RANDOM in the script?

Thanks,
Nelson
  

--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/bay160-w1959dbc4b4c744b3ad727bad...@phx.gbl



Invoking the screensaver AND backups [WAS:RE: Dying hard drive?]

2012-12-03 Thread Nelson Green

> Does
> Main Menu -> Settings -> Keyboard -> Application Shortcuts
> not work for Ctrl-Alt-Del?
>
> Ie using command:
> xscreensaver-command -lock

Hi Zenaan,

Well your question set me on the right track. I installed the XFCE window
manager, and Application Shortcuts shows Ctrl-Alt-Del mapped to the script
/usr/bin/xflock4. That script tests for the xscreensaver pid and invokes
xscreensaver-command -lock if the pid is found. The script works fine,
but the problem was the Application Shortcut.

I discovered this by trying to recreate it with a different key combo,
Ctrl-Alt-Ins. That showed up in the Application Shortcuts window as
Delete. So I removed that entry, and then manually edited
~/.config/xfce4/xfconf/xfce-perchannel-xml/xfce4-keyboard-shortcuts.xml
(after making a backup first), and changed the original entry to match the
 instead of . After logging off and back on, all works fine.

Chris Bannister, you mentioned /etc/inittab. I don't think that X passes
the key presses to it, and I always disable that functionality anyhow. This
is not an OS that needs that work-around for a reboot, and I don't want
anyone else to have the ability to reboot my machine by switching to a VT
and pressing that key combo.


I would also like to address the issue of backups that several people
mentioned. I have never had to learn the value of a good backup the hard
way. In fact, way back in the very first issue of the Linux Gazette (July
1995), Dr. Fisk mentioned a simple backup script that he called "hack",
and that was expanded upon in subsequent issues. I took parts of those ideas
and created my own script that I use for all configuration files. It makes a
backup of the current file, appending the current date/time to the file, and
then opens the file in vi for me. I have gotten so used to using the command
"hack " that when I find myself on a system without it,
I am momentarily confused by "hack: command not found". Mine is not an
eloquent, nor superbly stable script, but it has never let me down.

Of course that is fine as long as the hard drive is functional enough
to retrieve your back-ups. I keep copies of extremely important things on
multiple drives, and I make a full backup of important systems on a schedule
that makes my life easy when something fails. That is why my original post
was not a panic post, because I have it all backed up, and I have been in
that habit for at least 15 years.

If anyone is interested, I've included the script. Please do not crucify
me for it's shortcomings. It's about 14 years old, and I was just getting my
scripting legs under me back then. I can think of a million improvements, but I
haven't had a need to touch it in a very long time, so it is still what it is:

cat /usr/bin/hack
#!/bin/bash

#   Hack creates a back up of files that we would like to backup before    #
#   we edit them. If the file has not been "hacked" before, the backup #
#   is created in /backup/origdist. If the file has previously  been   #
#   backed up to this directory, then hack creates a new backup of the #
#   file in /backup/latest. This filename is appended with the current #
#   time. If the script is called by a non-root user, the backup   #
#   directories are created in their home directory.   #

#   This file is based on an idea by John M. Fisk, and printed in the  #
#   first issue of Linux Gazette, July, 1995, with modifications by    #
#   the author.    #


# Let's set the backup directories:
if [ "$LOGNAME" == "root" ]
then
   # Original backup location.
   ORIG_DIR="/backup/origdist"
   # Secondary backup location.
   BU_DIR="/backup/latest"
else
   ORIG_DIR="$HOME/backup/origdist"
   BU_DIR="$HOME/backup/latest"
fi

# Let's make sure the backup directories exist:
if [ ! -d $ORIG_DIR ]
then
   mkdir -p $ORIG_DIR
fi

if [ ! -d $BU_DIR ]
then
   mkdir -p $BU_DIR
fi

CURR_DIR=`pwd`

# Make sure a file name was included in the call to hack.
if [ "$1" = "" ]
then
   echo "ERROR: no filename specified. Exiting..."
   exit 2
fi

# Make sure the filename is a valid file.
if [ ! -f "$1" ]
then
   echo "ERROR: filename invalid, or directory. Exiting..."
   exit 3
fi

# Strip any directory info from filename.
FILENAME=`basename $1`

# Check to see if file has been previously backed up.
if [ ! -f "$ORIG_DIR/$FILENAME.dist" ]
then
   # No, it has not been backed up.
   cp $1 $ORIG_DIR/$FILENAME.dist

else
   #Yes, it was backed up. Make current backup.
   cp $1 $BU_DIR/$FILENAME.`date +%T`.`date +%d%h%y`

fi

# Open the file in VI.
vi $1
exit 0
  

--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of 

RE: USB 3 card

2012-12-03 Thread Nelson Green

> I need to install a USB3 card in a Dell Precision, running a stock Squeeze
> install. Any that I should avoid, or issues I should be aware of? I see
> there are some hits on the list, but most appear to be in Spanish and I am
> far too rusty in that language to properly comprehend their content.

I received no responses to this question (not complaining, just
mentioning), but I have some experience to pass along in case anyone else is
interested. Naturally I purchased a card that did not work. It was the "PPA
International USB 3.0 SuperSpeed PCI-Express Card 2 Port". Unfortunately I
am unable to tell anyone which chipset it incorporates, but will try to get
it back to find out. When it did not work, a colleague offered to try it in
his windows box, since the card came with a windows driver. It worked for
him, and we swapped his card out. His works for me. It was a no-name brand,
but it uses the NEC chipset, and seems to be working just fine here.
  

--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/bay160-w4874ee61e27e634f66e788ad...@phx.gbl



RE: Dying hard drive?

2012-11-30 Thread Nelson Green

> I do appreciate the help, but we'll let Dell take care of this.

Just wanted to update anyone that might be interested. I was able to convince
Dell that the hard drive was bad after jumping through their hoops (in
their defence, I understand their position of not wanting to spend money on
something that is not covered under the terms of our agreements). I installed
the drive this morning.

Rather than copy the existing Squeeze installation, I chose to go ahead and
install Wheezy. Been wanting to do that anyhow. I copied my old user folder
to the new installation and everything worked almost flawlessly. I have a
dual-monitor set-up, and had different panels on each monitor. I had to
recreate the second panel on monitor 2. In addition, the Guayadeque radio
stations did not show up even though the ~/.guayadeque folder is there.
Nothing a couple of minutes didn't resolve.

I have one issue that I haven't found a solution to, so figured I would ask
on the off chance I am missing anything obvious. The window manager is XFCE4,
with XScreenSaver. Under the old system I could hit Ctrl+Del+Alt and that
would invoke the screensaver and lock the screen. That functionality is
missing now. I have installed the Session Menu item on the panel, and can
get the same functionality with two mouse clicks, but it will take a few
days to break the old habit if that is my only option. Would anyone happen
to know what I need to do to get the Ctrl+Del+Alt functionality back?

Thanks for all of the help, and all the best,
Nelson

  

--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/bay160-w647c17b58508dfc7af4310ad...@phx.gbl



RE: Dying hard drive?

2012-11-28 Thread Nelson Green




> Date: Wed, 28 Nov 2012 00:24:13 +0100
> From: pas...@plouf.fr.eu.org
> To: debian-user@lists.debian.org
> Subject: Re: Dying hard drive?
>
> Jon Dowland a écrit :
> > On Tue, Nov 27, 2012 at 02:50:39PM -0600, Nelson Green wrote:
> >> 197 Current_Pending_Sector 0x0032 200 200 000 Old_age Always - 12
> >
> > I think this is bad.
>
> Yes, but that can often be corrected using the embedded reallocation
> mechanism. By "corrected" I mean usable again, but the previous data is
> definitely lost. First step : run badblocks in read-only mode to get the
> full list of unreadable sectors. Then write them to force reallocation.

Wow! This just like the old days! Back when you had to update bad block
tables manually, set head gaps with oscilloscopes, and handle drives with
the utmost care. Oh, and they weighed a ton too. Yes, I am that old.

This system is still under Dell's warranty, so if I can get through their
support tech hurdles (Dell could stand to learn a few lessons in handling
customers with courtesy and respect), I'll just have the drive replaced. I
still have my backup system to work off of.

I do appreciate the help, but we'll let Dell take care of this.
  

--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/bay160-w5974690958e60d444f7e3cad...@phx.gbl



RE: Dying hard drive?

2012-11-27 Thread Nelson Green

> I think this is bad.
>
> > Num  Test_DescriptionStatus  Remaining  LifeTime(hours) 
> >  LBA_of_first_error
> > # 1  Short offline   Completed: read failure   90%  2718
> >  529598095
> > # 2  Short offline   Completed: read failure   90%  2718
> >  529598095
> > # 3  Short offline   Completed: read failure   90%  2718
> >  529598095
>
> Definitely bad. Time to get a new disk :)

Yeah, I kind of figured that. *sigh*

Thanks to you, and to Pascal as well!

>
> > $ sudo smartctl -a /dev/sdb
> ...
> > 197 Current_Pending_Sector  0x0032   200   200   000Old_age   Always
> >-   0
>
> example of healthy
>
>
> --
> To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
> with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
> Archive: http://lists.debian.org/20121127221151.GC21253@debian
>
  

--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/bay160-w30a811199ae9cb08556c10ad...@phx.gbl



RE: Dying hard drive?

2012-11-27 Thread Nelson Green

> Hello,
>
> Nelson Green a écrit :
> >
> > and run smartctl -a /dev/$disk0 (where $disk0
> >> is e.g. sda); check to see if any of the various SMART attributes
> >> indicate a problem.
> >>
> >> Run a short, then a long SMART self test
> >>
> >> smartctl -t short /dev/$disk0
> >> smartctl -t long /dev/$disk0
> [...]
> > I did the short test:
> > smartctl -t short /dev/sda
>
> What about the first suggested command, smartctl -a /dev/sda ?
 
I meant to include that it indicated no problems, but I would have been
wrong. I pulled it up in my history to run it again, with the intention
of pasting the output, but I realised I had actually left the -a off. I
believe it does show pending errors. I have included the output of /dev/sdb
for comparison (and thanks for catching my mistake):

$sudo smartctl -a /dev/sda
smartctl 5.40 2010-07-12 r3124 [i686-pc-linux-gnu] (local build)
Copyright (C) 2002-10 by Bruce Allen, http://smartmontools.sourceforge.net

=== START OF INFORMATION SECTION ===
Device Model: WDC WD10EALX-759BA1
Serial Number:    WD-WCATR7907320
Firmware Version: 17.01H17
User Capacity:    1,000,204,886,016 bytes
Device is:    Not in smartctl database [for details use: -P showall]
ATA Version is:   8
ATA Standard is:  Exact ATA specification draft version not indicated
Local Time is:    Tue Nov 27 14:37:03 2012 CST
SMART support is: Available - device has SMART capability.
SMART support is: Enabled

=== START OF READ SMART DATA SECTION ===
SMART overall-health self-assessment test result: PASSED

General SMART Values:
Offline data collection status:  (0x82)    Offline data collection activity
                    was completed without error.
                    Auto Offline Data Collection: Enabled.
Self-test execution status:  ( 121)    The previous self-test completed 
having
                    the read element of the test failed.
Total time to complete Offline 
data collection:          (17280) seconds.
Offline data collection
capabilities:              (0x7b) SMART execute Offline immediate.
                    Auto Offline data collection on/off support.
                    Suspend Offline collection upon new
                    command.
                    Offline surface scan supported.
                    Self-test supported.
                    Conveyance Self-test supported.
                    Selective Self-test supported.
SMART capabilities:    (0x0003)    Saves SMART data before entering
                    power-saving mode.
                    Supports SMART auto save timer.
Error logging capability:    (0x01)    Error logging supported.
                    General Purpose Logging supported.
Short self-test routine 
recommended polling time:      (   2) minutes.
Extended self-test routine
recommended polling time:      ( 200) minutes.
Conveyance self-test routine
recommended polling time:      (   5) minutes.
SCT capabilities:        (0x3037)    SCT Status supported.
                    SCT Feature Control supported.
                    SCT Data Table supported.

SMART Attributes Data Structure revision number: 16
Vendor Specific SMART Attributes with Thresholds:
ID# ATTRIBUTE_NAME  FLAG VALUE WORST THRESH TYPE  UPDATED  
WHEN_FAILED RAW_VALUE
  1 Raw_Read_Error_Rate 0x002f   200   200   051    Pre-fail  Always   
-   0
  3 Spin_Up_Time    0x0027   184   174   021    Pre-fail  Always   
-   3775
  4 Start_Stop_Count    0x0032   100   100   000    Old_age   Always   
-   133
  5 Reallocated_Sector_Ct   0x0033   200   200   140    Pre-fail  Always   
-   0
  7 Seek_Error_Rate 0x002e   200   200   000    Old_age   Always   
-   0
  9 Power_On_Hours  0x0032   097   097   000    Old_age   Always   
-   2722
 10 Spin_Retry_Count    0x0032   100   100   000    Old_age   Always   
-   0
 11 Calibration_Retry_Count 0x0032   100   100   000    Old_age   Always   
-   0
 12 Power_Cycle_Count   0x0032   100   100   000    Old_age   Always   
-   131
192 Power-Off_Retract_Count 0x0032   200   200   000    Old_age   Always   
-   41
193 Load_Cycle_Count    0x0032   200   200   000    Old_age   Always   
-   91
194 Temperature_Celsius 0x0022   110   107   000    Old_age   Always   
-   37
196 Reallocated_Event_Count 0x0032   200   200   000    Old_age   Always   
-   0
197 Current_Pending_Sector  0x0032   200   200   000    Old_age   Always   
-   12
198 Offline_Uncorrectable   0x0030   200   200   000    Old_age   Offline  
-   0
199 UDMA_CRC_Error_Count    0x0032   200   200   000    Old_age   Always   
-   0
200 Multi_Zone_Error_Rate   0x0008   200   200   000    Old_age   Offline  
-   0
240 Head_Flying_Hours   0x0032   097   097   000    Old_

RE: Dying hard drive?

2012-11-27 Thread Nelson Green

> First and foremost, double check that your SATA cables are properly
> secure.

Yes, they are firmly seated. Good catch though.

> Install smartctl

This is part of the smartmontools package. Took me a sec to find it, and I
mention it for anyone else following this.

and run smartctl -a /dev/$disk0 (where $disk0
> is e.g. sda); check to see if any of the various SMART attributes
> indicate a problem.
>
> Run a short, then a long SMART self test
>
> smartctl -t short /dev/$disk0
> smartctl -t long /dev/$disk0

Yes, the disk is sda (and the other is sdb). I wasn't sure if the same naming
convention still applied in the case of LVM.

I did the short test:
   smartctl -t short /dev/sda
and received a message the test would complete in two minutes. After a few
minutes I checked for errors:
   smartctl  -l error /dev/sda
The return message stated there were "No Errors Logged"

I will run the long test this evening. I assume that if it comes back with
no errors that I may be OK?

Thanks Jon, I appreciate the help.
  

--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/bay160-w418379aba806d4ee5634d5ad...@phx.gbl



USB 3 card

2012-11-27 Thread Nelson Green


Good morning ,

I need to install a USB3 card in a Dell Precision, running a stock Squeeze
install. Any that I should avoid, or issues I should be aware of? I see
there are some hits on the list, but most appear to be in Spanish and I am
far too rusty in that language to properly comprehend their content.

Thanks,
Nelson
  

--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/bay160-w1160694583ec0904b83da8ad...@phx.gbl



Dying hard drive?

2012-11-27 Thread Nelson Green

Good morning all,

I have a Dell Precision desktop with two disks and a built in RAID 1 controller
that I am not using. I originally tried to install Wheezy on disk0 but ran
into issues with my video card, so I installed Squeeze on disk1 so I could
be up and running. I eventually went back and installed Squeeze on disk0
and did something I don't have a lot of experience with, but want to learn.
I created logical volumes on that disk.

All has been running fine on the disk0 system for about four weeks. Yesterday
I ran into issues that I think is probably an indication that disk0 is on its
way to the bit bucket in the sky, but since I'm dealing with unfamiliar
territory here I figured I would seek help from anyone with more knowledge
than I have.

I was working in a terminal window, running some complex queries on my
PostgreSQL server. I usually edit things like that in vi in a separate
terminal, and was doing so, saving that file on my system. Out of the
blue I got errors that the file could not be written. In fact, the entire
file system seemed to suddenly become read-only, but I was able to do things,
like save my file to a previously mounted thumb drive. Mount showed nothing
unusual, but I couldn't unmount the thumb drive and received an error about
/etc/mtab being mounted on a read-only file system. In addition, "shutdown -h
now" failed to shut the system down so I had no choice but to manually power
off. The system failed to boot after that, with a kernel panic and unable
to mount anything as root.

I booted into the old system on disk1 (BTW, lilo is in the MBR of disk0),
and was able to finish my work. Then I installed lvm2, ran vgscan, and ran
e2fsck on the volume. It found all kinds of issues, but I was able to repair
everything. I then mounted the volume and copied everything to an external
drive for grins (I always have backups of the important stuff, but figured
a full backup couldn't hurt).

But, whenever I run e2fsck on the volume it consistently gives numerous
errors during pass 2 that I'm not sure of the meaning of:

ata1.00: exception Emask 0x0 SAct 0xf SErr 0x0 action 0x0
ata1.00: irq_stat 0x4008
ata1.00: failed command: READ FPDMA QUEUED
ata1.00: cmd 60/00:00:a7:16:01/01:00:24:00:00/40 tag 0 ncq 131072 in
 res 41/40:00:06:17:01/00:00:24:00:00/40 Emask 0x409 (media error) 
ata1.00: status: { DRDY ERR }
ata1.00: error: { UNC }
ata1.00: configured for UDMA/133
ata1: EH complete

These messages are repeated about six times. I also saw similar messages
while copying the files from the volume.

e2fsck was successful, because I was able to boot into the OS on disk0, so I
did and I left it sitting all night, with no issues. I am currently working off
of it, trying to replicate the problem, but not having any luck. I will
probably go to Dell seeking a replacement hard drive, but was curious for input
here in case this is something that can be repaired instead.

Thanks,
Nelson
  

--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/bay160-w5531ef088f6d4734b8eeaead...@phx.gbl



Knowledge based solution package?

2012-11-13 Thread Nelson Green

Good morning,

Many years ago I worked as a support engineer for a large IT firm. We had a
proprietary knowledge based system for maintaining a database of problems and
solutions. It was a fairly simple system that allowed one to categorise the
subsystem the problem applied to, a problem title, a solution text area, and
a keyword search function. Is there a package within the Debian repositories
that offers similar functionality? I've looked, but my choice of keywords
is not finding anything that sounds like what we want.

TIA!
  

--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/bay160-w63b4a214bd014b288bbce3ad...@phx.gbl



RE: Dual-Monitor help

2012-09-18 Thread Nelson Green


> Hmm... A real serial terminal like a VT100? (I actually still own a
> vt102. But it is noisy and slow. Mostly it is my footrest these
> days.)

Wow, I haven't touched a real VT100 in many years. But I used to
service them, so I remember them quite well. What I meant here is
the ttys that are loaded and spawned by getty.

> > or an XTerm (Terminal in XFCE).
>
> Technically those are terminal emulators. But in casual conversation
> we are often sloppy and imprecise when referring to things.

Oops, I did know that.

> > I have never installed a GUI on a Linux server,
>
> No X window system at all? So you only operate from the raw text
> console? Impressive. Not even the 'twin' text window manager?

Nope, I install Debian, and when I get to the tasksel portion, and I de-
select everything. I then boot it up and install just what I need. Since
the server sits there with it's attached monitor off 99% of the time I
figure a GUI is pointless. I do everything from a console, or else via
SSH in either a console on my client, or a terminal emulator.

> CDE thrash too by using fvwm but fewer people today would remember
> those these days.)

CDE. Haven't touched that in a while either, but I do have an old SPARC
in the closet with their CDE on it. I last used it in school a few years ago to
code a ftp server/client app for my network programming project. BTW,
that makes me sound much younger than I am. I took 28 years to get that
computer science degree...

>
> Not sure how useful this description is but you asked...
>
> Bob

I really appreciate the time you took to reply. I will be extremely busy
for the next few weeks, so I probably won't have any real time to play
with this. I did not know XFCE was a descendent of FWVM. I have
fiddled with that to a small degree, and it was more than enough to
do what I needed. I just did not have the time to learn it as well as I
wanted, and went with the XFCE package in the interim.

Thanks
Nelson
  

--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/bay160-w35966c4a21b5bf358e5268ad...@phx.gbl



RE: Dual-Monitor help

2012-09-14 Thread Nelson Green




> From: l...@yun.yagibdah.de
> To: debian-user@lists.debian.org
> Subject: Re: Dual-Monitor help
> Date: Wed, 12 Sep 2012 03:16:55 +0200
>
> Nelson Green  writes:
>
> > have no choice but to run a GUI of some type. I would like to learn to do so
> > with a minimal footprint if you would be willing to share some tips. I find
> > my primary use of the GUI is email, the web apps I have to support, and
> > Guayadeque for my classical music fixes.
>
> You could try fvwm and a recent emacs24 with gnus and tmux (or screen)
> in rxvt. You might be much happier with a tiling window manager like i3
> (they have a nice video on youtube) rather than fvwm, though.

I will look into these and report back, but don't be surprised if that doesn't
happen for a few weeks. I just got handed a brand new server yesterday, to
install, configure, secure, and maintain.

>
> > all I really need is dual monitors so I can update things in Terminal and
> > refresh the page in the web browser, and a locking screen saver, for which
> > xscreensaver works just fine. In fact I wouldn't mind just having TTY1 on
> > one monitor and the GUI on the other if that is possible.
>
> Xscreensaver is fine. You can have two different displays for X sessions
> (one on each monitor) rather than having one display that goes across
> both monitors. I haven't tried to have one X display on one monitor and
> the console on the other --- that should be somehow possible ...

Actually I'm sure it probably is, but it might take some serious hacking. I will
definitely report back if I get this one figured out. If you have some pointers
on different X sessions on different displays I'll take those as well. I might 
just
try that one at home for grins.

Thanks for the input.
Nelson
  

--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/bay160-w32765a5310b4a7b7a0887dad...@phx.gbl



RE: Dual-Monitor help

2012-09-11 Thread Nelson Green

> It is something that Debian made up. It sounds better than saying
> "large set of heavy and bloated desktop programs". :-) I don't run a
> desktop session like GNOME or KDE. Nor LXDE or XFCE either for that
> matter. I, and you too apparently, only run the X window system with
> a simple window manager.

Hi Bob,

You bring up an interesting point. I am running XFCE, and that is because
the limited amount of research I did into window managers told me it was
the simplest "complete" solution, and I did not have time to learn how to
configure a simple system.

As a DBA, the only use I have ever had for a GUI was creating an XP VM
to load MySQL Administrator and MySQL Query Browser on, way back
when I was studying for the certs. I do everything else in a CLI, either a
real terminal (if that is the correct term for TTYs), or an XTerm (Terminal
in XFCE). When I came on board here everyone was using phpmyadmin
and phppgadmin. I gave up on both of those after about five minutes and
went back to mysql and psql. I have never installed a GUI on a Linux
server, and I even do Microsoft through a command prompt more often
than not.

That being said, my current position involves supporting a Drupal driven
front-end to my DB backends, as well as custom PHP/Javascript pages, so I
have no choice but to run a GUI of some type. I would like to learn to do so
with a minimal footprint if you would be willing to share some tips. I find
my primary use of the GUI is email, the web apps I have to support, and
Guayadeque for my classical music fixes. I know there are text based
versions of all, and I use Lynx quite extensively and Alpine to a lesser degree
(everyone is into "multimedia" email these days *sigh*). Other than those,
all I really need is dual monitors so I can update things in Terminal and
refresh the page in the web browser, and a locking screen saver, for which
xscreensaver works just fine. In fact I wouldn't mind just having TTY1 on
one monitor and the GUI on the other if that is possible.

So, if you don't mind, what do you use, and how much time is involved in
setting it up?

Thanks,
Nelson
  

--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/bay160-w10178b02b69677464786a6ad...@phx.gbl



[solved] RE: Dual-Monitor help

2012-08-30 Thread Nelson Green

> Nelson Green wrote:
> > So, my final question is, where is my X11 start-up file?
>
> There are several different ways to start up X11. Probably the
> simplest for you is to create a $HOME/.xsession file. The
> xdm/gdm/kdm/lightdm processes will use it if the file exists. Create
> it with the following contents.
>
> Create this ~/.xsession file:
>
> #!/bin/bash --login
> if xrandr --query | grep -q DVI-I-2=3B then
> xrandr --auto --output DVI-I-2 --right-of DVI-I-1
> fi
> exec x-session-manager
>
> Then make sure to make the file executable.
>
> chmod a+x ~/.xsession
>
> The '#!/bin/bash --login' part if your login shell is /bin/bash and it
> ensures that your ~/.profile or ~/.bash_profile is read just the same
> as if you were logging into the system otherwise. Then your PATH and
> LANG and other variables will be set as you desire.
>
> The 'x-session-manager' is a Debian package specific symlink handle
> that always points to the currently configured window manager. This
> could be any of gnome, kde, lxde, xfce, fvwm, twm, openbox, or any of
> the others. It depends upon what you have installed. A system
> default. Of course you can also specifically call out one of your
> desired desktop environments or window managers explicitly.
>
> You can see what is configured with:
>
> update-alternatives --display x-session-manager
>
> Bob

Worked like a charm. I appreciate everyone's help.

Nelson
  

--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/bay160-w254a75df1350ac34fb6fe1ad...@phx.gbl



RE: Dual-Monitor help

2012-08-29 Thread Nelson Green


> Then for batch mode automated startup I have the following in my X1<
> startup file.
>
> if xrandr --query | grep -q HDMI;; then
> xrandr --auto --output HDMI  --right-of HDMI<
> fi

Hi Bob,

I've almost gotten everything working, but one question remains.

First, I ended up removing the two Quadro 600 cards, and I installed
a single Quadro 570, which has dual DVI outputs. Second, I had to boot
to the stock Squeeze kernel instead of the custom 3.5.1 one.

But after taking those two steps, I am now able to define my second
monitor exactly as you described.

Modifying your script for my my hardware works just fine from a
terminal after logging in:

if xrandr --query | grep -q DVI-I-2; then
  xrandr --auto --output DVI-I-2 --right-of DVI-I-1
fi

So, my final question is, where is my X11 start-up file?

Thanks,
Nelson
  

RE: Dual-Monitor help

2012-08-27 Thread Nelson Green


> Also, consider using a backported kernel (with xorg and mesa) instead a
> self-compiled one.
>

I am certainly willing to try that. Thanks for the suggestion.

>
> I would center first in getting the correct driver to be loaded and then
> go with the dual card setup. Good luck then and report back the
> results :-)
>

I will report back, but I probably won't get a chance to touch this until next
week, and it could even be the week after that. We have a new server coming
in next week that I am supposed to set up as a warm spare for some of our
internal services. I also have a dual-port Quardro 5800 that I can install if I
don't get anywhere with my current configuration.

Thanks for the help!

Nelson
  

--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/bay160-w6359b84f1ec64e5c9d135ead...@phx.gbl



RE: Dual-Monitor help

2012-08-24 Thread Nelson Green




> From: nelsongree...@hotmail.com
> To: debian-user@lists.debian.org
> Subject: RE: Dual-Monitor help
> Date: Fri, 24 Aug 2012 13:16:03 -0500
>
>
> > Unfortunately, lxrandr only shows the single monitor. Another issue I
> > have is nothing from xrandr nor lxrandr shows an output interface. If
> > I could get that information I might at least have a place to start.
>
> OK, I feel dumb. I was just setting up a VM, and the output of xrandr is
> similar. It sudddenly dawned on me that the output interface is "default".
> I was expecting something like VGA1. HDMI, etc.

I meant I was setting up a separate VM in regards to a totally different project
when the realization hit me. The VM is not the system I am requesting help with.
  

--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/bay160-w2757a7221ceb38644edd6dad...@phx.gbl



RE: Dual-Monitor help

2012-08-24 Thread Nelson Green




> To: debian-user@lists.debian.org
> From: noela...@gmail.com
> Subject: Re: Dual-Monitor help
> Date: Fri, 24 Aug 2012 17:20:04 +
>
> On Wed, 22 Aug 2012 17:13:36 -0500, Nelson Green wrote:
>
> > I have been trying to get a dual monitor set-up working, and am getting
> > no where with this, so it is time to request help.
> >
> > I have a Dell Precision T5500 with dual video cards, and I would like to
> > have one large screen spread across the two monitors. The graphics cards
> > are nVidia Quadro 600s, with a monitor connected to each DVI output.
>
> (...)
>
> > (EE) [drm] failed to open device
> > (EE) VESA: Kernel modesetting driver in use, refusing to load
> > (WW) Falling back to old probe method for vesa
> (...)
> > (II) Loading sub module "fb"
> > (II) LoadModule: "fb"
> > (II) Loading /usr/lib/xorg/modules/libfb.so
> (...)
>
> > (==) FBDEV(0): Backing store disabled
> > (EE) FBDEV(0): FBIOPUTCMAP: Invalid argument
>
> Some unordered/random/quick thoughts...
>
> 1/ There seems to be a problem with the driver. As you are using Squeeze
> with nvidia cards, the driver to load should be either "nouveau" or "nv"
> but no "fbdev". My will guess is that the VGA cards are too new for
> Squeeze's xserver Xorg packages, maybe you need to update these or that
> simply KMS is having some sort of problem to be loaded.
>
> 2/ You can also try the closed source nvidia package which usually works
> very well. More info about your options can be found here:
>
> http://wiki.debian.org/NvidiaGraphicsDrivers/
>
> 3/ For setting up Xorg with dual cards (that is, two physical devices
> plugged) and also configuring an extended desktop, you may also need to
> manually adjust your xorg.conf file settings. Some hints here:
>
> https://wiki.archlinux.org/index.php/Xorg#More_than_one_graphics_card
> https://wiki.archlinux.org/index.php/NVIDIA#Multiple_monitors
>
> Greetings,
>
> --
> Camaleón

Thanks Camaleón,

I am trying to stay away from anything closed source, and I believe that I have
the latest nouveau drivers installed as I am running a newly compiled 3.5.1
kernel. I would assume the tarball contained the latest drivers. lsmod shows no
fb anything. But you have pointed out a clue that I overlooked.

I will certainly check out the links. I will update y'all with the results, but 
I may
have to put this off until middle of next week. We are doing beta-testing of 
some
apps here and things are starting to get hectic.

Nelson
  

--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/bay160-w37616126c013e4b7e22bf5ad...@phx.gbl



RE: Dual-Monitor help

2012-08-24 Thread Nelson Green

> Unfortunately, lxrandr only shows the single monitor. Another issue I
> have is nothing from xrandr nor lxrandr shows an output interface. If
> I could get that information I might at least have a place to start.

OK, I feel dumb. I was just setting up a VM, and the output of xrandr is 
similar. It sudddenly dawned on me that the output interface is "default".
I was expecting something like VGA1. HDMI, etc.
  

--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/bay160-w419984e221f538d3fbbdebad...@phx.gbl



RE: Dual-Monitor help

2012-08-24 Thread Nelson Green

> It is possible that the 'nouveau' driver doesn't do dual monitors with the 
> Quadro
> 600 cards. i am not to good with these things, looks like it tries 'nouveau,
> vesa & FB, and fails. ,
>
> I do run a Quadro dual port card, I use the 'nvidia' driver, the xorg drivers 
> do
> not work with my setup. The Nvidia driver comes with a monitor setup app, 
> works
> here.
>
>
> --
> Peace,
>
> Greg

Greg, that thought did cross my mind. In fact, I may just see if I can find a
different set of video cards, or a dual port card that are/is supported.



Thanks,

Nelson

--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/bay160-w21851c06f1aaf33cff402dad...@phx.gbl



RE: Dual-Monitor help

2012-08-24 Thread Nelson Green

> Nelson, 
> Do you have a xorg.conf file or do you let X sort it all out itself?  I  
> noticed from your xrandr posting, that only one resolution is  defined  
> so maybe it's hard coded.  I run without a conf file X seems to pull  
> everything correctly for my hardware.  I am still kinda green at this  
> myself, just trying to help with some ideas. 
>  
> Thanks 
>  
> --  
> Shane D. Johnson 
> IT Administrator 
> Rasmussen Equipment 

Hi Shane,

No, I do not have an xorg.conf file. In fact I am curious to know how
not having that file works, if anyone would care to point me to a
source of info on that. I'm used to having a configuration file for
almost everything.

In the meantime I may just see if I can find a different set of video
cards, or a dual port card that are/is supported. What are the chances
of finding a list of supported configurations/hardware?

Thanks,
Nelson
  

--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/bay160-w61294d5997ab9e34360354ad...@phx.gbl



RE: Dual-Monitor help

2012-08-23 Thread Nelson Green


> > Nelson,
> > Did you install the driver package? Either xserver-xorg-video-nouveau
> > or xserver-xorg-video-nvidia (open and closed driver respectively) from
> > apt or download and installed from Nvidia's site?
> >
> > Shane
>
> I sure did:
> $ dpkg -l | grep nouveau | cut -d " " -f 3
> libdrm-nouveau1
> xserver-xorg-video-nouveau

Oops, forgot to include:
$ lsmod | grep nouveau
nouveau   581600  2 
ttm    48312  1 nouveau
drm_kms_helper 22707  1 nouveau
drm   160013  3 nouveau,ttm,drm_kms_helper
i2c_algo_bit   12713  1 nouveau
mxm_wmi    12433  1 nouveau
video  17415  1 nouveau
i2c_core   19218  5 nouveau,drm_kms_helper,drm,i2c_algo_bit,i2c_i801
button 12817  1 nouveau
wmi    13051  3 nouveau,mxm_wmi,dell_wmi

>
> >
> > On Thu, Aug 23, 2012 at 2:14 PM, Nelson Green
> > mailto:nelsongree...@hotmail.com>> wrote:
> >
> > > Nelson Green wrote:
> > > > I have a Dell Precision T5500 with dual video cards, and I would
> > > > like to have one large screen spread across the two monitors.
> > >
> > > I usually do this with a single graphics card. So my suggestion might
> > > not be useful to you. But...
> > >
> > > > I am not sure where to start. One thing I have tried to do is to see
> > > > what xrandr gives me, and I don't completely understand the output
> > > > of that. I have included that output, and a copy of Xorg.0.log
> > > > below.
> > > >
> > > > At this point I would welcome any suggestions as to what to try next.
> > >
> > > I would start with lxrandr. Because even me being a staunch CLI
> > > advocate it is sometimes easier to click the mouse. This is simply an
> > > graphical interface to xrandr.
> > >
> > > # apt-get install lxrandr
> > >
> > > $ lxrandr
> >
> > Unfortunately, lxrandr only shows the single monitor. Another issue I
> > have is nothing from xrandr nor lxrandr shows an output interface. If
> > I could get that information I might at least have a place to start. As it
> > is, the only indications that the two cards are even known to the system
> > are the Xorg log, and the output of dmesg. Other than that nothing
> > seems to be aware of the second video card and/or monitor.
> >
> > BTW, I also realized I forgot to mention that I am using the Xfce
> > Desktop. I doubt that makes any difference, but figured I should at
> > least mention it for completeness.
> >
> > I appreciate the reply.
> > Patrick
> >
> >
> > --
> > To UNSUBSCRIBE, email to
> > debian-user-requ...@lists.debian.org<mailto:debian-user-requ...@lists.debian.org>
> > with a subject of "unsubscribe". Trouble? Contact
> > listmas...@lists.debian.org<mailto:listmas...@lists.debian.org>
> > Archive:
> > http://lists.debian.org/bay160-w4a7dcc96b762f50393914ad...@phx.gbl<http://lists.debian.org/BAY160-W4A7DCC96B762F50393914ADBE0%40phx.gbl>
> >
> >
> >
> >
> > --
> > Shane D. Johnson
> > IT Administrator
> > Rasmussen Equipment
> >
> >
>
>
> --
> To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
> with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
> Archive: http://lists.debian.org/bay160-w6446ba1663aaa9ac0cde5dad...@phx.gbl
>
  

--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/bay160-w536e31ae6dda4c125b37ddad...@phx.gbl



RE: Dual-Monitor help

2012-08-23 Thread Nelson Green




> Date: Thu, 23 Aug 2012 14:32:59 -0600 
> Subject: Re: Dual-Monitor help 
> From: s...@rasmussenequipment.com 
> To: nelsongree...@hotmail.com 
> CC: b...@proulx.com; debian-user@lists.debian.org 
>  
> Nelson, 
> Did you install the driver package?  Either xserver-xorg-video-nouveau  
> or xserver-xorg-video-nvidia (open and closed driver respectively) from  
> apt or download and installed from Nvidia's site? 
>  
> Shane 

I sure did:
$ dpkg -l | grep nouveau | cut -d " " -f 3
libdrm-nouveau1
xserver-xorg-video-nouveau

>  
> On Thu, Aug 23, 2012 at 2:14 PM, Nelson Green  
> mailto:nelsongree...@hotmail.com>> wrote: 
>  
>  > Nelson Green wrote: 
>  > > I have a Dell Precision T5500 with dual video cards, and I would 
>  > > like to have one large screen spread across the two monitors. 
>  > 
>  > I usually do this with a single graphics card.  So my suggestion might 
>  > not be useful to you.  But... 
>  > 
>  > > I am not sure where to start. One thing I have tried to do is to see 
>  > > what xrandr gives me, and I don't completely understand the output 
>  > > of that. I have included that output, and a copy of Xorg.0.log 
>  > > below. 
>  > > 
>  > > At this point I would welcome any suggestions as to what to try next. 
>  > 
>  > I would start with lxrandr.  Because even me being a staunch CLI 
>  > advocate it is sometimes easier to click the mouse.  This is simply an 
>  > graphical interface to xrandr. 
>  > 
>  >   # apt-get install lxrandr 
>  > 
>  >   $ lxrandr 
>  
> Unfortunately, lxrandr only shows the single monitor. Another issue I 
> have is nothing from xrandr nor lxrandr shows an output interface. If 
> I could get that information I might at least have a place to start. As it 
> is, the only indications that the two cards are even known to the system 
> are the Xorg log, and the output of dmesg. Other than that nothing 
> seems to be aware of the second video card and/or monitor. 
>  
> BTW, I also realized I forgot to mention that I am using the Xfce 
> Desktop. I doubt that makes any difference, but figured I should at 
> least mention it for completeness. 
>  
> I appreciate the reply. 
> Patrick 
>  
>  
> -- 
> To UNSUBSCRIBE, email to  
> debian-user-requ...@lists.debian.org<mailto:debian-user-requ...@lists.debian.org>
>  
> with a subject of "unsubscribe". Trouble? Contact  
> listmas...@lists.debian.org<mailto:listmas...@lists.debian.org> 
> Archive:  
> http://lists.debian.org/bay160-w4a7dcc96b762f50393914ad...@phx.gbl<http://lists.debian.org/BAY160-W4A7DCC96B762F50393914ADBE0%40phx.gbl>
>  
>  
>  
>  
>  
> --  
> Shane D. Johnson 
> IT Administrator 
> Rasmussen Equipment 
>  
>  
  

--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/bay160-w6446ba1663aaa9ac0cde5dad...@phx.gbl



RE: Dual-Monitor help

2012-08-23 Thread Nelson Green

> Nelson Green wrote:
> > I have a Dell Precision T5500 with dual video cards, and I would
> > like to have one large screen spread across the two monitors.
> 
> I usually do this with a single graphics card.  So my suggestion might
> not be useful to you.  But...
> 
> > I am not sure where to start. One thing I have tried to do is to see
> > what xrandr gives me, and I don't completely understand the output
> > of that. I have included that output, and a copy of Xorg.0.log
> > below.
> > 
> > At this point I would welcome any suggestions as to what to try next.
> 
> I would start with lxrandr.  Because even me being a staunch CLI
> advocate it is sometimes easier to click the mouse.  This is simply an
> graphical interface to xrandr.
> 
>   # apt-get install lxrandr
> 
>   $ lxrandr

Unfortunately, lxrandr only shows the single monitor. Another issue I
have is nothing from xrandr nor lxrandr shows an output interface. If
I could get that information I might at least have a place to start. As it
is, the only indications that the two cards are even known to the system
are the Xorg log, and the output of dmesg. Other than that nothing
seems to be aware of the second video card and/or monitor.

BTW, I also realized I forgot to mention that I am using the Xfce
Desktop. I doubt that makes any difference, but figured I should at
least mention it for completeness.

I appreciate the reply.
Patrick
  

--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/bay160-w4a7dcc96b762f50393914ad...@phx.gbl



Dual-Monitor help

2012-08-22 Thread Nelson Green

Good evening all,

I have been trying to get a dual monitor set-up working, and am getting no where
with this, so it is time to request help.

I have a Dell Precision T5500 with dual video cards, and I would like to have
one large screen spread across the two monitors. The graphics cards are nVidia
Quadro 600s, with a monitor connected to each DVI output. I am not concerned
about performance, since the most graphics intensive stuff I do is surfing the
web and database development, but I would like to be able to develop in a
terminal on one monitor and see the results in the application on the other
monitor.

This is a stock installation of Squeeze, other than a "custom" 3.5.1 kernel
package made with make-kpkg. I say "custom" because the only configuration I did
was to de-select the paravirtualized (or something close to that) option, and
then compile the kernel, along with all modules.

I am not sure where to start. One thing I have tried to do is to see what xrandr
gives me, and I don't completely understand the output of that. I have included
that output, and a copy of Xorg.0.log below.

At this point I would welcome any suggestions as to what to try next.

All the best,
Nelson

= Output of xrandr --verbose: ==

xrandr: Failed to get size of gamma for output default
Screen 0: minimum 1920 x 1200, current 1920 x 1200, maximum 1920 x 1200
default connected 1920x1200+0+0 (0x108) normal (normal) 0mm x 0mm
    Identifier: 0x107
    Timestamp:  14239
    Subpixel:   unknown
    Clones:    
    CRTC:   0
    CRTCs:  0
    Transform:  1.00 0.00 0.00
        0.00 1.00 0.00
        0.00 0.00 1.00
       filter: 
  1920x1200 (0x108)    0.0MHz *current
    h: width  1920 start    0 end    0 total 1920 skew    0 clock    0.0KHz
    v: height 1200 start    0 end    0 total 1200   clock    0.0Hz


= Xorg.0.log ===

X.Org X Server 1.7.7
Release Date: 2010-05-04
X Protocol Version 11, Revision 0
Build Operating System: Linux 2.6.32-5-amd64 i686 Debian
Current Operating System: Linux hri-310-54291 3.5.1-15aug12.0956 #1 SMP Wed Aug 
15 10:07:32 CDT 2012 i686
Kernel command line: BOOT_IMAGE=Squeeze-3.5.1 ro 
root=UUID=7d97241f-41f2-4532-b578-3829b4424233
Build Date: 30 October 2011  08:56:49PM
xorg-server 2:1.7.7-14 (Julien Cristau ) 
Current version of pixman: 0.16.4
    Before reporting problems, check http://wiki.x.org
    to make sure that you have the latest version.
Markers: (--) probed, (**) from config file, (==) default setting,
    (++) from command line, (!!) notice, (II) informational,
    (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/var/log/Xorg.0.log", Time: Wed Aug 22 16:51:23 2012
(==) Using system config directory "/usr/share/X11/xorg.conf.d"
(==) No Layout section.  Using the first Screen section.
(==) No screen section available. Using defaults.
(**) |-->Screen "Default Screen Section" (0)
(**) |   |-->Monitor ""
(==) No monitor specified for screen "Default Screen Section".
    Using a default monitor configuration.
(==) Automatically adding devices
(==) Automatically enabling devices
(WW) The directory "/usr/share/fonts/X11/cyrillic" does not exist.
    Entry deleted from font path.
(==) FontPath set to:
    /usr/share/fonts/X11/misc,
    /usr/share/fonts/X11/100dpi/:unscaled,
    /usr/share/fonts/X11/75dpi/:unscaled,
    /usr/share/fonts/X11/Type1,
    /usr/share/fonts/X11/100dpi,
    /usr/share/fonts/X11/75dpi,
    /var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType,
    built-ins
(==) ModulePath set to "/usr/lib/xorg/modules"
(II) The server relies on udev to provide the list of input devices.
    If no devices become available, reconfigure udev or disable AutoAddDevices.
(II) Loader magic: 0x81ecce0
(II) Module ABI versions:
    X.Org ANSI C Emulation: 0.4
    X.Org Video Driver: 6.0
    X.Org XInput driver : 7.0
    X.Org Server Extension : 2.0
(++) using VT number 7

(--) PCI:*(0:3:0:0) 10de:0df8:10de:0835 nVidia Corporation rev 161, Mem @ 
0xf600/16777216, 0xd800/134217728, 0xe000/33554432, I/O @ 
0xdc80/128, BIOS @ 0x/524288
(--) PCI: (0:4:0:0) 10de:0df8:10de:0835 nVidia Corporation rev 161, Mem @ 
0xf500/16777216, 0xe800/134217728, 0xe200/33554432, I/O @ 
0xcc80/128, BIOS @ 0x/524288
(II) Open ACPI successful (/var/run/acpid.socket)
(II) LoadModule: "extmod"
(II) Loading /usr/lib/xorg/modules/extensions/libextmod.so
(II) Module extmod: vendor="X.Org Foundation"
    compiled for 1.7.7, module version = 1.0.0
    Module class: X.Org Server Extension
    ABI class: X.Org Server Extension, version 2.0
(II) Loading extension SELinux
(II) Loading extension MIT-SCREEN-SAVER
(II) Loading extension XFree86-VidModeExtension
(II) Loading extension XFree86-DGA
(II) Loading extension DPMS
(II) Loading extension XVideo
(II) Loading exte

RE: Display Resolution (SOLVED)

2012-08-22 Thread Nelson Green

Pardon the top-post, but there doesn't seem to a really relevant place to put 
this.

In the end I downloaded the 3.5.1 kernel source code, and used make-kpkg to
create a new kernel package. That has completely resolved my display issues, 
other
than the dual monitor. I will pursue that issue separately.

Thanks to all who took time to assist.
Nelson

> To: debian-user@lists.debian.org
> Subject: Re: Display Resolution
> Date: Sat, 4 Aug 2012 16:58:10 +0200
> 
> Nelson, it looks like your reply did not reach the list, possibly
> because it's over 100 kB in size.  Please configure your mailer to send
> plain text _only_ to avoid that.
> 
> On 2012-08-04 16:39 +0200, Nelson Green wrote:
> 
> >> > The nouveau version in squeeze does not support these cards, they should
> >> > work in wheezy though.
> >> > 
> >> 
> >> I will probably come in tomorrow to install Wheezy, and I will report back.
> >> 
> >
> > Well, Wheezy is almost perfect. By that I mean I have the proper
> > resolution and refresh rate, and my desktop looks great! The only
> > thing I see is an occasional line of text that displays wrong. For
> > instance, one of the icons on the desktop looks like someone took a
> > marker and scribbled all over the icon label, but it went away as soon
> > as I clicked on the icon. I have also seen something similar on a web
> > page, where a couple of lines of text look like noise instead of
> > text. Scrolling made that come back to normal.
> 
> Yes, that's http://bugs.debian.org/666468.  Upgrading
> xserver-xorg-video-nouveau to the version in unstable might help, but
> note that you then need a kernel from unstable as well or lose
> acceleration, see http://bugs.debian.org/bug=679557.
> 
> > This is still so much
> > less of an annoyance that I will live with it if need be. I have
> > included the contents of Xorg.0.log below. At least the Nouveau driver
> > is seen, and loaded/used?
> 
> Yes, it is.
> 
> > Now, I still only have one monitor displaying anything. The other
> > remains in power-saver mode. Anyone got a suggestion for that, or
> > should I start a new thread?
> 
> You had best ask upstream about that.  They use IRC as their main
> support and discussion medium, channel #nouveau on irc.freenode.net.
> The Nouveau Wiki at http://nouveau.freedesktop.org/wiki/ has some
> information about multicard setups as well, but it's down ATM.
> 
> Cheers,
>Sven
  

--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/bay160-w35c6d5aac421ef2552309cad...@phx.gbl



RE: installing virtual guest via ssh on console based remote host

2012-08-16 Thread Nelson Green



> From: chris-use...@roaima.co.uk
> Subject: Re: installing virtual guest via ssh on console based remote host
> Date: Wed, 8 Aug 2012 23:42:54 +0100
> To: debian-user@lists.debian.org
> 
> Nelson Green  wrote:
> > I've got some more progress to report if you'll bear with me. First
> > of all, I did install the libvirt-bin and qemu-kvm packages. A bit of
> > history as to why I say this has been a nightmare is because the basic
> > problem has been a lack of straight-forward documentation, but that
> > could be my inability to find it
> 
> To be honest it's an absolute nightmare. I forgot until I saw your reply
> that I've also needed to perform the following tweaks when using libvirt
> in a true client/server model:
> 
> EITHER
>  1. Carry the libvirt/qemu protocol across an ssh tunnel to the
> server. This requires you to have a login account on the server

I ended up using ssh tunneling. In the end it was much easier, and in line
with our goals for the VMs. Thanks so much for the help.
  

RE: installing virtual guest via ssh on console based remote host

2012-08-16 Thread Nelson Green



> Date: Thu, 9 Aug 2012 16:16:45 -0600
> From: b...@proulx.com
> To: debian-user@lists.debian.org
> Subject: Re: installing virtual guest via ssh on console based remote host
> 
> Nelson Green wrote:
> > OK, another quick question, completely off subject, but hardly worth a new
> > thread.
> 
> That's debatable. :-)
> 

Bob, thanks for the reply. And as a MCSE, I can tell you that the visible 
problems
with microsoft products are only the tip of the iceberg. I used to think that 
their
products were bad. Then I got certified, and my suspicions were confirmed. That
is one reason all subsequent certifications had nothing to do with them.

I will go with a different email platform, as I suspected.
  

RE: installing virtual guest via ssh on console based remote host

2012-08-09 Thread Nelson Green

 > Not sure if you saw my post saying I got it working,
>

Sheesh, of course you saw my post, you were replying to it. That was a 
consequence of too little sleep, and typing while carrying on a conversation
at the same time.
  

--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/bay160-w63878ede56863a42f6740cad...@phx.gbl



RE: installing virtual guest via ssh on console based remote host

2012-08-09 Thread Nelson Green



> From: chris-use...@roaima.co.uk
> Subject: Re: installing virtual guest via ssh on console based remote host
> Date: Wed, 8 Aug 2012 23:42:54 +0100
> To: debian-user@lists.debian.org
> 
> Nelson Green  wrote:
> > I've got some more progress to report if you'll bear with me. First
> > of all, I did install the libvirt-bin and qemu-kvm packages. A bit of
> > history as to why I say this has been a nightmare is because the basic
> > problem has been a lack of straight-forward documentation, but that
> > could be my inability to find it
> 
> To be honest it's an absolute nightmare. I forgot until I saw your reply
> that I've also needed to perform the following tweaks when using libvirt
> in a true client/server model:
> 
> EITHER
>  1. Carry the libvirt/qemu protocol across an ssh tunnel to the
> server. This requires you to have a login account on the server
>  2. Add the user account from #1 to the libvirt group on the server
>  3. In the client GUI, create a connection to "nelson@server" (or
> whatever) rather than just to "server"
> 
> OR
>  4. Edit /etc/libvirt/qemu.conf and /etc/libvirt/libvirtd.conf on the
> server to allow non-local connections to the daemon. Ideally with
> authentication (but this isn't essential if you are on a controlled
> and/or restricted network).
> 
> I've never found SASL an enjoyable experience, so I would recommend that
> you go for the first option. However, you have have a policy dictating
> otherwise.
> 
> 
> > The first error I got was "Failed to connect socket to
> > '/var/run/libvirt/libvirt-sock': No such file or directory"
> 
> I think this may be a consequence of omitting #2
> 
> 
> > So, I am now installing an OS on my VM. That leaves one final item,
> > but this is really low on the priority list. How do I clean up after
> > those failed initial attempts?
> 
> The nasty but effective way is to shut down the libvirt daemon and delete
> the relevant xml files from /etc/libvirtd/qemu/.
> 
> Chris

Thank you Chris. This is good info, based on experience. Not sure if you saw
my post saying I got it working, but not in the manner you describe. I will have
to do more of this in near future, so I will give your method a try. I will try 
to
put together a list of the steps for working methods and post it somewhere. I
do have good notes on what I've done so far, and I have added your
information to them.

And thank you for the xml file location info. I figured it was something like
that, since Virtual Box is similar, but wasn't sure where to find the files.

Back to work. Thanks again,
Nelson
  

--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/bay160-w3f132fef618973f23c9bfad...@phx.gbl



RE: installing virtual guest via ssh on console based remote host

2012-08-08 Thread Nelson Green

OK, another quick question, completely off subject, but hardly worth a new
thread.

When I look at my previous post through a browser, there are no line breaks,
and one has to scroll across the screen to read it. I don't imagine this is 
desirable
for most users. Is that a result of my mail client (hotmail)? This message won't
suffer the same issue because I'm manually breaking the lines.

Thanks


> From: nelsongree...@hotmail.com
> To: ch...@roaima.co.uk; debian-user@lists.debian.org
> Subject: RE: installing virtual guest via ssh on console based remote host
> Date: Wed, 8 Aug 2012 15:54:45 -0500
>
>
>
>
> 
> > From: chris-use...@roaima.co.uk
> > Subject: Re: installing virtual guest via ssh on console based remote host
> > Date: Wed, 8 Aug 2012 20:54:28 +0100
> > To: debian-user@lists.debian.org
> >
> > Nelson Green  wrote:
> > > Installing qemu-kvm and a guest on a remote system is turning into an
> > > absolute nightmare, so I'm once again turning to this list for help.
> >
> > > The host OS is a Centos 6.3 server, without X installed.
> >
> > If it was Debian I could advise you to install the libvirt-bin,
> > bridge-utils, and qemu-kvm packages on the server, with virt-manager as
> > a GUI for the client.
> >
> > Chris
>
> Thanks Chris, and you have no idea how much I wish I was on Debian as I've 
> been a long time (12+ years) user. In fact my local machine is Debian Wheezy, 
> which is why I started this thread here.
>
> I've got some more progress to report if you'll bear with me. First of all, I 
> did install the libvirt-bin and qemu-kvm packages. A bit of history as to why 
> I say this has been a nightmare is because the basic problem has been a lack 
> of straight-forward documentation, but that could be my inability to find it. 
> That being said, every step in this process has involved an error, followed 
> by much time troubleshooting. I don't necessarily mind because finding an 
> answer to a problem involves a learning process, and that is never bad. But 
> in this case I have people depending on me to get them some development boxes.
>
> The first error I got was "Failed to connect socket to 
> '/var/run/libvirt/libvirt-sock': No such file or directory" which was 
> accompanied by "error : virNetServerMDNSStart:460 : internal error Failed to 
> create mDNS client: Daemon not running" in the log file. A bit of searching 
> led me to the need to install the avahi package. That then led to an 
> inability to create VMs because of no virtual network. I eventually figured 
> out that I needed to define a network, and to start it. That led to the empty 
> screen problem. I know that the empty screen is the installer output not 
> mapping to the console properly (if that is the correct terminology). I have 
> now solved that issue as well, but not quite the way I thought needed to be 
> done. I was figuring that I could correct the output on the console I 
> started, but apparently I needed to install the virt-viewer package, which 
> creates a window on my local machine and redirects the console to that.
>
> So, I am now installing an OS on my VM. That leaves one final item, but this 
> is really low on the priority list. How do I clean up after those failed 
> initial attempts? I bet I now know enough to restart them, connect to them, 
> and continue the installs there as well, so I will take it from here.
>
> Regards,
> Nelson
>
>
> --
> To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
> with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
> Archive: http://lists.debian.org/bay160-w158e82c08d611b29aac870ad...@phx.gbl
>
  

--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/bay160-w1dc10750da8af986df2aaad...@phx.gbl



RE: installing virtual guest via ssh on console based remote host

2012-08-08 Thread Nelson Green




> From: chris-use...@roaima.co.uk
> Subject: Re: installing virtual guest via ssh on console based remote host
> Date: Wed, 8 Aug 2012 20:54:28 +0100
> To: debian-user@lists.debian.org
>
> Nelson Green  wrote:
> > Installing qemu-kvm and a guest on a remote system is turning into an
> > absolute nightmare, so I'm once again turning to this list for help.
>
> > The host OS is a Centos 6.3 server, without X installed.
>
> If it was Debian I could advise you to install the libvirt-bin,
> bridge-utils, and qemu-kvm packages on the server, with virt-manager as
> a GUI for the client.
>
> Chris

Thanks Chris, and you have no idea how much I wish I was on Debian as I've been 
a long time (12+ years) user. In fact my local machine is Debian Wheezy, which 
is why I started this thread here.

I've got some more progress to report if you'll bear with me. First of all, I 
did install the libvirt-bin and qemu-kvm packages. A bit of history as to why I 
say this has been a nightmare is because the basic problem has been a lack of 
straight-forward documentation, but that could be my inability to find it. That 
being said, every step in this process has involved an error, followed by much 
time troubleshooting. I don't necessarily mind because finding an answer to a 
problem involves a learning process, and that is never bad. But in this case I 
have people depending on me to get them some development boxes.

The first error I got was "Failed to connect socket to 
'/var/run/libvirt/libvirt-sock': No such file or directory" which was 
accompanied by "error : virNetServerMDNSStart:460 : internal error Failed to 
create mDNS client: Daemon not running" in the log file. A bit of searching led 
me to the need to install the avahi package. That then led to an inability to 
create VMs because of no virtual network. I eventually figured out that I 
needed to define a network, and to start it. That led to the empty screen 
problem. I know that the empty screen is the installer output not mapping to 
the console properly (if that is the correct terminology). I have now solved 
that issue as well, but not quite the way I thought needed to be done. I was 
figuring that I could correct the output on the console I started, but 
apparently I needed to install the virt-viewer package, which creates a window 
on my local machine and redirects the console to that.

So, I am now installing an OS on my VM. That leaves one final item, but this is 
really low on the priority list. How do I clean up after those failed initial 
attempts? I bet I now know enough to restart them, connect to them, and 
continue the installs there as well, so I will take it from here.

Regards,
Nelson
  

--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/bay160-w158e82c08d611b29aac870ad...@phx.gbl



RE: installing virtual guest via ssh on console based remote host

2012-08-08 Thread Nelson Green

> Can anyone direct me on how to initiate the install process in such a way 
> that I get useful information on the screen? Secondly, can anyone direct me 
> on how to reconnect to the installation that is still in progress. Third, the 
> reason my virtual machine is named guest4-centos63 is because I have tried 
> this three other times, and killed the process in a different session when I 
> got stuck. Can anyone tell me how to either restart those installations, or 
> just delete them altogether?

OK, to reconnect to the install already in process: virsh console 
guest4-centos63

Except the screen is still blank. But, that's one down at least
  

--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/bay160-w265ee468ed2fc0fbff8779ad...@phx.gbl



installing virtual guest via ssh on console based remote host

2012-08-08 Thread Nelson Green

Installing qemu-kvm and a guest on a remote system is turning into an absolute 
nightmare, so I'm once again turning to this list for help.

The host OS is a Centos 6.3 server, without X installed. I am connecting 
remotely via SSH. I have followed several tutorials, and after 2 days I finally 
have an operational environment. But I can not install an OS on the guest. I 
can get the install started, but I keep ending up with a garbled screen and am 
unable to proceed.

To get to that point, I entered the command:
   virt-install --cdrom CentOS-6.3-x86_64-minimal.iso --file 
/opt/kvm/vdisk4.img --prompt
and I answer the questions:
What is the name of your virtual machine? 
guest4-centos63
How much RAM should be allocated (in megabytes)? 
2048
How large would you like the disk (/opt/kvm/vdisk4.img) to be (in gigabytes)? 
16

This brings up the initial boot screen from the installation process:
  |  Welcome to CentOS 6.3!  |
  |--|
  | Install or upgrade an existing system    |
  | Install system with basic video driver   |
  | Rescue installed system  |
  | Boot from local drive    |
  | Memory test  |
  |  |
  |  |
  |  |
  |  |
  |  |
  |  |
  |  |
  +--+
with the first option highlighted. I hit enter to install the system, and I get:
Loading vmlinuz..
Loading initrd.img.ready.
Probing EDD (edd=off to disable)... ok

Then the console goes completely empty, other than a � in the middle of the 
screen, and a cursor next to that. Nothing happens at that point. Entering ^] 
drops me back to my console with the following message:
Domain installation still in progress. You can reconnect to the console to 
complete the installation process.

Can anyone direct me on how to initiate the install process in such a way that 
I get useful information on the screen? Secondly, can anyone direct me on how 
to reconnect to the installation that is still in progress. Third, the reason 
my virtual machine is named guest4-centos63 is because I have tried this three 
other times, and killed the process in a different session when I got stuck. 
Can anyone tell me how to either restart those installations, or just delete 
them altogether?

Finally, is there by chance a decent document out there that will help me 
finish this process without every step turning into a multi-hour 
troubleshooting session?

Thanks,
Nelson

  

RE: Display Resolution

2012-08-03 Thread Nelson Green

> The nouveau version in squeeze does not support these cards, they should
> work in wheezy though.
> 
> > I'm reluctant to suggest this, 
> > but you probably need the nvidia driver (package nvidia-glx in section 
> > non-free) to get full support for your cards.
> 
> Let's hope that security is not Nelson's main concern then¹.
> 
> Cheers,
>Sven
> 
> 
> ¹ http://lwn.net/Articles/509131/
>

Of course security is a concern. Otherwise I'd spend a lot of money on an 
insecure, propriety OS full of really cool baubles. : )

I think the output of dmesg is telling me my driver does not support the cards:

 nouveau :03:00.0: PCI INT A -> GSI 24 (level, low) -> IRQ 24
 nouveau :03:00.0: setting latency timer to 64
 nouveau :03:00.0: Unsupported chipset 0x0c1c00a1
 nouveau :03:00.0: PCI INT A disabled
 nouveau: probe of :03:00.0 failed with error -22
 nouveau :04:00.0: enabling device (0002 -> 0003)
 nouveau :04:00.0: PCI INT A -> GSI 30 (level, low) -> IRQ 30
 nouveau :04:00.0: setting latency timer to 64
 nouveau :04:00.0: Unsupported chipset 0x0c1c00a1
 nouveau :04:00.0: PCI INT A disabled
 nouveau: probe of :04:00.0 failed with error -22

However, since this is a desktop system and not a production server, Wheezy is 
an option that I had already wondered about. In fact, I already had downloaded 
it before posting. Normally I exhaust all options before asking for help, but 
with my schedule this and next week I opted to see if there was an easy 
solution that I had just overlooked.

I will probably come in tomorrow to install Wheezy, and I will report back.

Thanks to everyone for the help so far!
  

--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/bay160-w25fa0b4da0f809e9f23092ad...@phx.gbl



Display Resolution

2012-08-02 Thread Nelson Green

Hello list;

First of all, this is a duplicate of a posting I made on the XFCE Desktop 
forum, with one update. I have not received a reply there, so I figured I'd 
give this list a shot, especially since this is probably not XFCE related.

I am working with a clean install of Debian Squeeze, with the XFCE window 
manager task selected. My primary problem is my screen resolution, with a 
secondary problem of only having something displayed on the left monitor.

I have a Dell Precision T5500, with dual monitors (sorry, I am unable to supply 
a model number for the monitors. If there is one, they managed to hide it quite 
effectively). The PC has dual video cards, but I am unsure just what they are. 
lspci gives me "VGA compatible controller: nVidia Corporation Device 0df8 (rev 
a1)" I can crack the case and physically look if that is needed. (UPDATE: The 
cards are both nVidia Quadro 600)

I can live with one display, but I am going to go blind if I do not fix the 
resolution. I am unable to set the resolution to the optimal of 1920x1200@60Hz. 
The display setting insists on 1600x1200@0Hz. I am using a DVI cable for both 
monitors, with the cable to the primary monitor plugged into DVI Connector-1 on 
the monitor, and the cable for the secondary monitor plugged into DVI 
Connector-2 on the monitor.

I have resolved similar issues in the past by using cvt and xrandr, but not 
this time:

~$ cvt 1920 1200 60
# 1920x1200 59.88 Hz (CVT 2.30MA) hsync: 74.56 kHz; pclk: 193.25 MHz
Modeline "1920x1200_60.00"  193.25  1920 2056 2256 2592  1200 1203 1209 1245 
-hsync +vsync

~$ xrandr --newmode "1920x1200_60.00" 193.25  1920 2056 2256 2592  1200 1203 
1209 1245 -hsync +vsync
xrandr: Failed to get size of gamma for output default

~$ xrandr --addmode default "1920x1200_60.00"
xrandr: Failed to get size of gamma for output default

~$ xrandr --output default --mode 1920x1200_60.00
xrandr: Failed to get size of gamma for output default
xrandr: Configure crtc 0 failed

I am unsure what either of the errors mean, nor how to proceed from here. Would 
anyone mind advising me as to what my next step should be?

Thanks,
Nelson
  

--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/bay160-w166d91b95d71b60dce39caad...@phx.gbl