You can remotely set up a graphical thingy using the following commands:

(Assuming that "server" is the headless computer, and "workstation" is
your machine that you can do stuff on, like us a monitor and email the
Mandrake lists)


telnet server

<do login stuff>

[user@server] $ Xvnc 2> /dev/null > /dev/null &

<That command runs Xvnc, diverting all output and error output to /dev/null>
<The "&" makes it so you can keep entering commands as Xvnc runs; "daemonizing" Xvnc>

[user@server] $ export DISPLAY=localhost:0
[user@server] $ startkde&
[user@server] $ exit

<logout of server>

Then, from workstation:

<While logged into a GUI terminal, like xterm, rxvt, konsole, gterm, Eterm, etc>

[user@workstation] $ vncviewer

Then enter "server" as the VNC server
and :0 as the port

You now have a complete remote GUI access thingy.

Try it: you'll like it!

-- Asheesh Laroia.



-- 
Few things are harder to put up with than the annoyance of a good example.
                -- "Mark Twain, Pudd'nhead Wilson's Calendar"


Reply via email to