reddragdiva: (Default)
[personal profile] reddragdiva

x11vnc is just the thing. If you have X running, you run x11vnc on that machine and it makes the current X session available via VNC. So I can have my environment and programs and the forty or fifty tabs I've just opened in Netscape available at the merest "vncviewer 10.0.0.4:0" on the underpowered laptop, and it's safe and well if the laptop falls over.

There areeeeee practiccccal      problems.. It's insaaanely laggy... And keypressessss and mouse events are alternatelybouncy and lost. You can    tell I'm typing this paragraph on the laptop . Not to mention shoowinng a 1024x768 dessktop on an 800x600 screen. But I can get around these, I'm sure.

A couple of the other laptop batteries may be working. One just lasted 70 minutes and charged back up from 1% to 99% in 40 minutes — I'll see how it is after a few more cycles. (Not as good as the 150 to 180 minutes a new one lasts, but much better than 0.)

Today I got to fix a monitoring script written by my predecessor that's been broken for six months. WHEN WRITING SCRIPTS ANY OTHER PERSON MIGHT EVER HAVE TO MAINTAIN, PLEASE USE THE LONG FORM OPTIONS, NOT THE SHORT FORM ONES. Thanks.

(The specific case being a mess of fancy options to curl to achieve the best possible imitation of a particular version of IE for monitoring a page written by the sort of web designer who thinks you shouldn't be allowed to look at his page unless your monitor colour temperature is the same as his.)

Update: FAQ 44 is about the bouncy keys problem. I'll test this evening.

Update 2: x11vnc -onetile -norepeat -scale 3/4 is a bit faster, can keep up with my typing (mostly) and scales the screen to fit the laptop. Now to sort out wireless. And sound.

(no subject)

Date: 2004-10-12 04:43 pm (UTC)
From: [identity profile] nexusvt100.livejournal.com
Ugh... VNC. I used to work at a company that I would have to VPN into in the middle of the night to fix a server. There's nothing worse than wanting to fix something so you can go back to bed and having VNC keep bugging out.

But when it works it is pretty handy.

(no subject)

Date: 2004-10-12 04:54 pm (UTC)
From: [identity profile] nexusvt100.livejournal.com
Did you have any difficulties getting it running? I had a hell of a time with that and Samba.

(no subject)

Date: 2004-10-12 05:06 pm (UTC)
From: [identity profile] nexusvt100.livejournal.com
yeah... installing it was never a problem. I just had a problem with it freezing and/or disconnecting.

"Long-form options"?

Date: 2004-10-12 04:50 pm (UTC)
From: [identity profile] grumpy-sysadmin.livejournal.com
That's RMS talk, you benighted fool!

;^>

(no subject)

Date: 2004-10-12 07:26 pm (UTC)
From: [identity profile] hellsop.livejournal.com

Yah know, long form options are for people that don't know how to comment. I'm one of those sorts that gets really really annoyed when people make stuff wrap funny, and since people that don't comment usually also can't be arsed to

buildburger --with-pickle        \
            --with-tomato        \
            --with-mustard       \
            --with-cheese=swiss  \
            --with-jalapeno;
either, it's not a real gain.

And I'm not even a perl hacker.

(no subject)

Date: 2004-10-13 02:34 am (UTC)
From: [identity profile] ciphergoth.livejournal.com
Comments are for people who don't know how to code expressively.

(no subject)

Date: 2004-10-12 07:45 pm (UTC)
From: [identity profile] ickle-yuki.livejournal.com
hmm, x2vnc wont work on this box.. I think somehow it is time for me to start afresh, as perl and bash scripts/programs wont work properly either... bloody thing...

(no subject)

Date: 2004-10-13 11:21 am (UTC)
From: [identity profile] ickle-yuki.livejournal.com
Oops! So it is. Teach me to type an lj comment when sleep deprived...

(no subject)

Date: 2004-10-13 12:14 pm (UTC)
From: [identity profile] ickle-yuki.livejournal.com
Yes it would be useful.

I do have a laptop (which i'm using now) which is powerful enough to run its own X server etc, albeit I use fluxbox on it as thats what I use on my main workstation and its nice, clean and works well imo.

(no subject)

Date: 2004-10-13 12:54 pm (UTC)
From: [identity profile] ickle-yuki.livejournal.com
Right further to this. I've now got x11vnc running nicely, 1600x1200 'workstation' X display scaled by 1/2 and accessable on laptop with 800x600 screen, works nicely enough. Of course I only need to do this for a few things, as most stuff is done via screen and ssh in command line.

I think i'd fogotten all about x11vnc and gotten mixed up by x2vnc...

(no subject)

Date: 2004-10-12 10:52 pm (UTC)
vatine: Generated with some CL code and a hand-designed blackletter font (Default)
From: [personal profile] vatine
I imagine you would be very *very* pleased with my use of dd in scripts, then, since it "only" has "long" options. Besides, tehre's nothing better than things like:
# Generate 8-char random password
dd if=/dev/random bs=1 count=6 | mimencode
# Done.

(no subject)

Date: 2004-10-12 11:09 pm (UTC)
From: [identity profile] rbarclay.livejournal.com
Hmm. That would read
# Generate 8-char random password
# dd if=/dev/random bs=1 count=6 | mimencode
pwgen 8
# Done.
pretty soon around here ;)

(no subject)

Date: 2004-10-12 10:52 pm (UTC)
From: [identity profile] rbarclay.livejournal.com
Hmm, long-form options. I sometimes have the pleasure to debug scripts written by others. I must confess to find it tiresome reading tar --extract --verbose --file, eg even for the most obvious stuff. I like a bit of explanatory comments much more than any specific scripting style.

(no subject)

Date: 2004-10-13 01:00 am (UTC)
From: [identity profile] bellinghman.livejournal.com
There are a number of different 'i's in Unicode ...

(no subject)

Date: 2004-10-13 04:57 pm (UTC)
From: [identity profile] damerell.livejournal.com
As an old Beeb hack I demand I%.

March 2022

S M T W T F S
  12 345
6789101112
13141516171819
20212223242526
2728293031  

Style Credit

Expand Cut Tags

No cut tags