Would like to get VNC server running with full desktop

Hi,

I just started using Linode, great so far. I've been trying to setup a VNC server, I've got it somewhat working but when I log in through the VNC client I'm not getting any window manager.

My .vnc/xstartup is pasted below. Are there any guides on how to get a GUI and VNC running on Linode?

Thanks,

fw

> #!/bin/sh

Uncomment the following two lines for normal desktop:

unset SESSION_MANAGER

exec /etc/X11/xinit/xinitrc

[ -x /etc/vnc/xstartup ] && exec /etc/vnc/xstartup

[ -r $HOME/.Xresources ] && xrdb $HOME/.Xresources

xsetroot -solid grey

vncconfig -iconic &

x-terminal-emulator -geometry 80x24+10+10 -ls -title "$VNCDESKTOP Desktop" &

x-window-manager &

twm&

5 Replies

Before you go any further, do a little reading on NX - it may fit your needs better.

FreeNX looks pretty good, so I've installed it, but the Windows client logs out after about 5 seconds and I never get a remote desktop. Any FreeNX experts out there?

I get this below in the /var/log/messages if it helps

> Jun 29 14:54:02 li516-5 kernel: EXT3-fs (xvda): using internal journal

Jun 29 14:54:54 li516-5 kernel: console-kit-dae[2357]: segfault at c ip b7748d29

sp bfcccfe0 error 4 in libdbus-glib-1.so.2.1.0[b7740000+1c000]

Jun 29 14:56:16 li516-5 kernel: console-kit-dae[3363]: segfault at c ip b7727d29

sp bfec3630 error 4 in libdbus-glib-1.so.2.1.0[b771f000+1c000]

Jun 29 14:56:56 li516-5 kernel: console-kit-dae[4369]: segfault at c ip b76d6d29

sp bfb9fd10 error 4 in libdbus-glib-1.so.2.1.0[b76ce000+1c000]

Jun 29 16:58:12 li516-5 kernel: console-kit-dae[5375]: segfault at c ip b76c5d29

sp bfac7ee0 error 4 in libdbus-glib-1.so.2.1.0[b76bd000+1c000]

Jun 29 17:01:27 li516-5 kernel: console-kit-dae[7111]: segfault at c ip b7760d29

sp bfce05c0 error 4 in libdbus-glib-1.so.2.1.0[b7758000+1c000]

Jun 29 17:06:11 li516-5 kernel: console-kit-dae[8123]: segfault at c ip b76c3d29

sp bf8d2750 error 4 in libdbus-glib-1.so.2.1.0[b76bb000+1c000]

Jun 29 17:12:09 li516-5 kernel: console-kit-dae[9200]: segfault at c ip b770ed29

sp bfb2b860 error 4 in libdbus-glib-1.so.2.1.0[b7706000+1c000]

smachin@li516-5:~$

Thanks,

fw

FreeNX is useless (hasn't even been updated in 4 years). You'll want to use the real NX client/server from http://www.nomachine.com/

Thanks, I tried the real version and got it up and running in no time :)

@Guspaz:

FreeNX is useless (hasn't even been updated in 4 years). You'll want to use the real NX client/server from http://www.nomachine.com/

I use the Ubuntu freenx server on a Linode and the nomachine client at home, and it works quite well for me. Using the client and server from nomachine is good advice, though - can't go wrong there.

James

Reply

Please enter an answer
Tips:

You can mention users to notify them: @username

You can use Markdown to format your question. For more examples see the Markdown Cheatsheet.

> I’m a blockquote.

I’m a blockquote.

[I'm a link] (https://www.google.com)

I'm a link

**I am bold** I am bold

*I am italicized* I am italicized

Community Code of Conduct