Search Members Help

» Welcome Guest
[ Log In :: Register ]

Mini-ITX Boards Sale, Fanless BareBones Mini-ITX, Bootable 1G DSL USBs, 533MHz Fanless PC <-- SALE $200 each!
Get The Official Damn Small Linux Book. DSL Market , Great VPS hosting provided by Tektonic
Pages: (3) </ 1 [2] 3 >/

[ Track this topic :: Email this topic :: Print this topic ]

reply to topic new topic new poll
Topic: startx with vncserver< Next Oldest | Next Newest >
clivesay Offline





Group: Guests
Posts: 935
Joined: Dec. 2003
Posted: Sep. 02 2005,19:01 QUOTE

Do you mind sharing how you got it running at boot time? I tried putting the two commands in .xinitrc put it gets a permission denied and tried in bootlocal but it's not running when I check ps ax. I would appreciate a little guidance. Thanks

Chris
Back to top
Profile PM MSN YIM 
mikshaw Offline





Group: Members
Posts: 4856
Joined: July 2004
Posted: Sep. 02 2005,20:02 QUOTE

Putting it in .xinitrc will not work because it starts its own x session.
Putting it in bootlocal won't work because you have not yet logged in when the script runs.

Replace "startx" with "vncserver" in /home/dsl/.bash_profile and it should start automatically when you log in.


--------------
http://www.tldp.org/LDP/intro-linux/html/index.html
Back to top
Profile PM WEB 
clivesay Offline





Group: Guests
Posts: 935
Joined: Dec. 2003
Posted: Sep. 02 2005,20:16 QUOTE

Thanks, Mik. I get permission denied errors from home/dsl/.vnc and X doesn't start. Does it need to be sudo vncserver?

Chris
Back to top
Profile PM MSN YIM 
mikshaw Offline





Group: Members
Posts: 4856
Joined: July 2004
Posted: Sep. 02 2005,20:31 QUOTE

Shouldn't need to be, since it is running a server for your personal desktop.  Also, /home/dsl/.vnc should be owned by dsl, so you shouldn't get a permission error for it.

--------------
http://www.tldp.org/LDP/intro-linux/html/index.html
Back to top
Profile PM WEB 
Ruthje Offline





Group: Awaiting Authorisation
Posts: 17
Joined: Aug. 2005
Posted: Sep. 24 2005,14:31 QUOTE

Quote (mikshaw @ Aug. 08 2005,20:00)
You shouldn't need to bother with xinitrc, since you're not starting x as normal.  VNCserver is a wrapper that starts X for you.  As long as you've got it configured properly, the command "vncserver" or "vncserver :0" should start up vncserver with a useable X session.

You might need to create or edit ~/.vnc/xstartup and add fluxbox to that, or you could just get a blank screen and an xterm.

I did this and in xstartup there already was a fluxbox. When I want to connect to the vncserver it asks for a password. I search the forum but nobody has this error.
I already created a password for dsl and root, because with ftp it also asks for a password but this hadn't any succes.
Back to top
Profile PM 
11 replies since Aug. 08 2005,17:21 < Next Oldest | Next Newest >

[ Track this topic :: Email this topic :: Print this topic ]

Pages: (3) </ 1 [2] 3 >/
reply to topic new topic new poll
Quick Reply: startx with vncserver

Do you wish to enable your signature for this post?
Do you wish to enable emoticons for this post?
Track this topic
View All Emoticons
View iB Code